AWS Native is in preview. AWS Classic is fully supported.
aws-native.amplify.getApp
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
The AWS::Amplify::App resource creates Apps in the Amplify Console. An App is a collection of branches.
Using getApp
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApp(args: GetAppArgs, opts?: InvokeOptions): Promise<GetAppResult>
function getAppOutput(args: GetAppOutputArgs, opts?: InvokeOptions): Output<GetAppResult>
def get_app(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppResult
def get_app_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppResult]
func LookupApp(ctx *Context, args *LookupAppArgs, opts ...InvokeOption) (*LookupAppResult, error)
func LookupAppOutput(ctx *Context, args *LookupAppOutputArgs, opts ...InvokeOption) LookupAppResultOutput
> Note: This function is named LookupApp
in the Go SDK.
public static class GetApp
{
public static Task<GetAppResult> InvokeAsync(GetAppArgs args, InvokeOptions? opts = null)
public static Output<GetAppResult> Invoke(GetAppInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:amplify:getApp
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- ARN for the Amplify App.
- Arn string
- ARN for the Amplify App.
- arn String
- ARN for the Amplify App.
- arn string
- ARN for the Amplify App.
- arn str
- ARN for the Amplify App.
- arn String
- ARN for the Amplify App.
getApp Result
The following output properties are available:
- App
Id string - Unique Id for the Amplify App.
- App
Name string - Name for the Amplify App.
- Arn string
- ARN for the Amplify App.
- Build
Spec string - The build specification (build spec) for an Amplify app.
- Custom
Headers string - The custom HTTP headers for an Amplify app.
- Custom
Rules List<Pulumi.Aws Native. Amplify. Outputs. App Custom Rule> - The custom rewrite and redirect rules for an Amplify app.
- Default
Domain string - Default domain for the Amplify App.
- Description string
- The description of the Amplify app.
- Enable
Branch boolAuto Deletion - Automatically disconnect a branch in Amplify Hosting when you delete a branch from your Git repository.
- Environment
Variables List<Pulumi.Aws Native. Amplify. Outputs. App Environment Variable> The environment variables for the Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide .
- Iam
Service stringRole - AWS Identity and Access Management ( IAM ) service role for the Amazon Resource Name (ARN) of the Amplify app.
- Name string
- The name of the Amplify app.
- Platform
Pulumi.
Aws Native. Amplify. App Platform - The platform for the Amplify app. For a static app, set the platform type to
WEB
. For a dynamic server-side rendered (SSR) app, set the platform type toWEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type toWEB_DYNAMIC
. - Repository string
- The Git repository for the Amplify app.
- List<Pulumi.
Aws Native. Outputs. Tag> - The tag for an Amplify app.
- App
Id string - Unique Id for the Amplify App.
- App
Name string - Name for the Amplify App.
- Arn string
- ARN for the Amplify App.
- Build
Spec string - The build specification (build spec) for an Amplify app.
- Custom
Headers string - The custom HTTP headers for an Amplify app.
- Custom
Rules []AppCustom Rule - The custom rewrite and redirect rules for an Amplify app.
- Default
Domain string - Default domain for the Amplify App.
- Description string
- The description of the Amplify app.
- Enable
Branch boolAuto Deletion - Automatically disconnect a branch in Amplify Hosting when you delete a branch from your Git repository.
- Environment
Variables []AppEnvironment Variable The environment variables for the Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide .
- Iam
Service stringRole - AWS Identity and Access Management ( IAM ) service role for the Amazon Resource Name (ARN) of the Amplify app.
- Name string
- The name of the Amplify app.
- Platform
App
Platform - The platform for the Amplify app. For a static app, set the platform type to
WEB
. For a dynamic server-side rendered (SSR) app, set the platform type toWEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type toWEB_DYNAMIC
. - Repository string
- The Git repository for the Amplify app.
- Tag
- The tag for an Amplify app.
- app
Id String - Unique Id for the Amplify App.
- app
Name String - Name for the Amplify App.
- arn String
- ARN for the Amplify App.
- build
Spec String - The build specification (build spec) for an Amplify app.
- custom
Headers String - The custom HTTP headers for an Amplify app.
- custom
Rules List<AppCustom Rule> - The custom rewrite and redirect rules for an Amplify app.
- default
Domain String - Default domain for the Amplify App.
- description String
- The description of the Amplify app.
- enable
Branch BooleanAuto Deletion - Automatically disconnect a branch in Amplify Hosting when you delete a branch from your Git repository.
- environment
Variables List<AppEnvironment Variable> The environment variables for the Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide .
- iam
Service StringRole - AWS Identity and Access Management ( IAM ) service role for the Amazon Resource Name (ARN) of the Amplify app.
- name String
- The name of the Amplify app.
- platform
App
Platform - The platform for the Amplify app. For a static app, set the platform type to
WEB
. For a dynamic server-side rendered (SSR) app, set the platform type toWEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type toWEB_DYNAMIC
. - repository String
- The Git repository for the Amplify app.
- List<Tag>
- The tag for an Amplify app.
- app
Id string - Unique Id for the Amplify App.
- app
Name string - Name for the Amplify App.
- arn string
- ARN for the Amplify App.
- build
Spec string - The build specification (build spec) for an Amplify app.
- custom
Headers string - The custom HTTP headers for an Amplify app.
- custom
Rules AppCustom Rule[] - The custom rewrite and redirect rules for an Amplify app.
- default
Domain string - Default domain for the Amplify App.
- description string
- The description of the Amplify app.
- enable
Branch booleanAuto Deletion - Automatically disconnect a branch in Amplify Hosting when you delete a branch from your Git repository.
- environment
Variables AppEnvironment Variable[] The environment variables for the Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide .
- iam
Service stringRole - AWS Identity and Access Management ( IAM ) service role for the Amazon Resource Name (ARN) of the Amplify app.
- name string
- The name of the Amplify app.
- platform
App
Platform - The platform for the Amplify app. For a static app, set the platform type to
WEB
. For a dynamic server-side rendered (SSR) app, set the platform type toWEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type toWEB_DYNAMIC
. - repository string
- The Git repository for the Amplify app.
- Tag[]
- The tag for an Amplify app.
- app_
id str - Unique Id for the Amplify App.
- app_
name str - Name for the Amplify App.
- arn str
- ARN for the Amplify App.
- build_
spec str - The build specification (build spec) for an Amplify app.
- custom_
headers str - The custom HTTP headers for an Amplify app.
- custom_
rules Sequence[AppCustom Rule] - The custom rewrite and redirect rules for an Amplify app.
- default_
domain str - Default domain for the Amplify App.
- description str
- The description of the Amplify app.
- enable_
branch_ boolauto_ deletion - Automatically disconnect a branch in Amplify Hosting when you delete a branch from your Git repository.
- environment_
variables Sequence[AppEnvironment Variable] The environment variables for the Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide .
- iam_
service_ strrole - AWS Identity and Access Management ( IAM ) service role for the Amazon Resource Name (ARN) of the Amplify app.
- name str
- The name of the Amplify app.
- platform
App
Platform - The platform for the Amplify app. For a static app, set the platform type to
WEB
. For a dynamic server-side rendered (SSR) app, set the platform type toWEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type toWEB_DYNAMIC
. - repository str
- The Git repository for the Amplify app.
- Sequence[root_Tag]
- The tag for an Amplify app.
- app
Id String - Unique Id for the Amplify App.
- app
Name String - Name for the Amplify App.
- arn String
- ARN for the Amplify App.
- build
Spec String - The build specification (build spec) for an Amplify app.
- custom
Headers String - The custom HTTP headers for an Amplify app.
- custom
Rules List<Property Map> - The custom rewrite and redirect rules for an Amplify app.
- default
Domain String - Default domain for the Amplify App.
- description String
- The description of the Amplify app.
- enable
Branch BooleanAuto Deletion - Automatically disconnect a branch in Amplify Hosting when you delete a branch from your Git repository.
- environment
Variables List<Property Map> The environment variables for the Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide .
- iam
Service StringRole - AWS Identity and Access Management ( IAM ) service role for the Amazon Resource Name (ARN) of the Amplify app.
- name String
- The name of the Amplify app.
- platform "WEB" | "WEB_DYNAMIC" | "WEB_COMPUTE"
- The platform for the Amplify app. For a static app, set the platform type to
WEB
. For a dynamic server-side rendered (SSR) app, set the platform type toWEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type toWEB_DYNAMIC
. - repository String
- The Git repository for the Amplify app.
- List<Property Map>
- The tag for an Amplify app.
Supporting Types
AppCustomRule
- Source string
- The source pattern for a URL rewrite or redirect rule.
- Target string
- The target pattern for a URL rewrite or redirect rule.
- Condition string
- The condition for a URL rewrite or redirect rule, such as a country code.
- Status string
- The status code for a URL rewrite or redirect rule.
- 200 - Represents a 200 rewrite rule.
- 301 - Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL.
- 302 - Represents a 302 temporary redirect rule.
- 404 - Represents a 404 redirect rule.
- 404-200 - Represents a 404 rewrite rule.
- Source string
- The source pattern for a URL rewrite or redirect rule.
- Target string
- The target pattern for a URL rewrite or redirect rule.
- Condition string
- The condition for a URL rewrite or redirect rule, such as a country code.
- Status string
- The status code for a URL rewrite or redirect rule.
- 200 - Represents a 200 rewrite rule.
- 301 - Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL.
- 302 - Represents a 302 temporary redirect rule.
- 404 - Represents a 404 redirect rule.
- 404-200 - Represents a 404 rewrite rule.
- source String
- The source pattern for a URL rewrite or redirect rule.
- target String
- The target pattern for a URL rewrite or redirect rule.
- condition String
- The condition for a URL rewrite or redirect rule, such as a country code.
- status String
- The status code for a URL rewrite or redirect rule.
- 200 - Represents a 200 rewrite rule.
- 301 - Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL.
- 302 - Represents a 302 temporary redirect rule.
- 404 - Represents a 404 redirect rule.
- 404-200 - Represents a 404 rewrite rule.
- source string
- The source pattern for a URL rewrite or redirect rule.
- target string
- The target pattern for a URL rewrite or redirect rule.
- condition string
- The condition for a URL rewrite or redirect rule, such as a country code.
- status string
- The status code for a URL rewrite or redirect rule.
- 200 - Represents a 200 rewrite rule.
- 301 - Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL.
- 302 - Represents a 302 temporary redirect rule.
- 404 - Represents a 404 redirect rule.
- 404-200 - Represents a 404 rewrite rule.
- source str
- The source pattern for a URL rewrite or redirect rule.
- target str
- The target pattern for a URL rewrite or redirect rule.
- condition str
- The condition for a URL rewrite or redirect rule, such as a country code.
- status str
- The status code for a URL rewrite or redirect rule.
- 200 - Represents a 200 rewrite rule.
- 301 - Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL.
- 302 - Represents a 302 temporary redirect rule.
- 404 - Represents a 404 redirect rule.
- 404-200 - Represents a 404 rewrite rule.
- source String
- The source pattern for a URL rewrite or redirect rule.
- target String
- The target pattern for a URL rewrite or redirect rule.
- condition String
- The condition for a URL rewrite or redirect rule, such as a country code.
- status String
- The status code for a URL rewrite or redirect rule.
- 200 - Represents a 200 rewrite rule.
- 301 - Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL.
- 302 - Represents a 302 temporary redirect rule.
- 404 - Represents a 404 redirect rule.
- 404-200 - Represents a 404 rewrite rule.
AppEnvironmentVariable
AppPlatform
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.