App
¶
Source code in docs_src/capo_amplify/types/app.py
auto_branch_creation_config
instance-attribute
¶
auto_branch_creation_config: NotRequired[AutoBranchCreationConfig]
Describes the automated branch creation configuration for the Amplify app.
auto_branch_creation_patterns
instance-attribute
¶
auto_branch_creation_patterns: NotRequired[AutoBranchCreationPatterns]
Describes the automated branch creation glob patterns for the Amplify app.
basic_auth_credentials
instance-attribute
¶
basic_auth_credentials: NotRequired[BasicAuthCredentials]
The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.
build_spec
instance-attribute
¶
build_spec: NotRequired[BuildSpec]
Describes the content of the build specification (build spec) for the Amplify app.
cache_config
instance-attribute
¶
cache_config: NotRequired[CacheConfig]
The cache configuration for the Amplify app. If you don't specify the cache configuration type, Amplify uses the default AMPLIFY_MANAGED setting.
compute_role_arn
instance-attribute
¶
compute_role_arn: NotRequired[ComputeRoleArn]
The Amazon Resource Name (ARN) of the IAM role for an SSR app. The Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources based on the role's permissions. For more information about the SSR Compute role, see Adding an SSR Compute role in the Amplify User Guide.
create_time
instance-attribute
¶
create_time: CreateTime
A timestamp of when Amplify created the application.
custom_headers
instance-attribute
¶
custom_headers: NotRequired[CustomHeaders]
Describes the custom HTTP headers for the Amplify app.
custom_rules
instance-attribute
¶
custom_rules: NotRequired[CustomRules]
Describes the custom redirect and rewrite rules for the Amplify app.
default_domain
instance-attribute
¶
default_domain: DefaultDomain
The default domain for the Amplify app.
enable_auto_branch_creation
instance-attribute
¶
enable_auto_branch_creation: NotRequired[EnableAutoBranchCreation]
Enables automated branch creation for the Amplify app.
enable_basic_auth
instance-attribute
¶
enable_basic_auth: EnableBasicAuth
Enables basic authorization for the Amplify app's branches.
enable_branch_auto_build
instance-attribute
¶
enable_branch_auto_build: EnableBranchAutoBuild
Enables the auto-building of branches for the Amplify app.
enable_branch_auto_deletion
instance-attribute
¶
enable_branch_auto_deletion: NotRequired[EnableBranchAutoDeletion]
Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.
environment_variables
instance-attribute
¶
environment_variables: EnvironmentVariables
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_role_arn
instance-attribute
¶
iam_service_role_arn: NotRequired[ServiceRoleArn]
The Amazon Resource Name (ARN) of the IAM service role for the Amplify app.
job_config
instance-attribute
¶
job_config: NotRequired[JobConfig]
The configuration details that apply to the jobs for an Amplify app.
platform
instance-attribute
¶
platform: 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 to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.
If you are deploying an SSG only app with Next.js 14 or later, you must use the platform type WEB_COMPUTE.
production_branch
instance-attribute
¶
production_branch: NotRequired[ProductionBranch]
Describes the information about a production branch of the Amplify app.
repository_clone_method
instance-attribute
¶
repository_clone_method: NotRequired[RepositoryCloneMethod]
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git repository for an Amplify app. Amplify specifies TOKEN for a GitHub repository, SIGV4 for an Amazon Web Services CodeCommit repository, and SSH for GitLab and Bitbucket repositories.
update_time
instance-attribute
¶
update_time: UpdateTime
A timestamp of when Amplify updated the application.
waf_configuration
instance-attribute
¶
waf_configuration: NotRequired[WafConfiguration]
Describes the Firewall configuration for the Amplify app. Firewall support enables you to protect your hosted applications with a direct integration with WAF.
webhook_create_time
instance-attribute
¶
webhook_create_time: NotRequired[webhookCreateTime]
A timestamp of when Amplify created the webhook in your Git repository.