AppState class

Input properties used for looking up and filtering App resources.

Constructors

AppState({Input<String?>? accessToken, Input<String?>? arn, Input<AppAutoBranchCreationConfig?>? autoBranchCreationConfig, Input<List<String>?>? autoBranchCreationPatterns, Input<String?>? basicAuthCredentials, Input<String?>? buildSpec, Input<AppCacheConfig?>? cacheConfig, Input<String?>? computeRoleArn, Input<String?>? customHeaders, Input<List<AppCustomRule>?>? customRules, Input<String?>? defaultDomain, Input<String?>? description, Input<bool?>? enableAutoBranchCreation, Input<bool?>? enableBasicAuth, Input<bool?>? enableBranchAutoBuild, Input<bool?>? enableBranchAutoDeletion, Input<Map<String, String>?>? environmentVariables, Input<String?>? iamServiceRoleArn, Input<AppJobConfig?>? jobConfig, Input<String?>? name, Input<String?>? oauthToken, Input<String?>? platform, Input<List<AppProductionBranch>?>? productionBranches, Input<String?>? region, Input<String?>? repository, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll})
Creates a new AppState. accessToken Personal access token for a third-party source control system for an Amplify app. This token must have write access to the relevant repo to create a webhook and a read-only deploy key for the Amplify project. The token is not stored, so after applying this attribute can be removed and the setup token deleted. arn ARN of the Amplify app. autoBranchCreationConfig Automated branch creation configuration for an Amplify app. See autoBranchCreationConfig Block for details. autoBranchCreationPatterns Automated branch creation glob patterns for an Amplify app. basicAuthCredentials Credentials for basic authorization for an Amplify app. buildSpec The build specification (build spec) for an Amplify app. cacheConfig Cache configuration for the Amplify app. See cacheConfig Block for details. computeRoleArn AWS Identity and Access Management (IAM) SSR compute role for an Amplify app. customHeaders The custom HTTP headers for an Amplify app. customRules Custom rewrite and redirect rules for an Amplify app. See customRule Block for details. defaultDomain Default domain for the Amplify app. description Description for an Amplify app. enableAutoBranchCreation Enables automated branch creation for an Amplify app. enableBasicAuth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app. enableBranchAutoBuild Enables auto-building of branches for the Amplify App. enableBranchAutoDeletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository. environmentVariables Environment variables map for an Amplify app. iamServiceRoleArn AWS Identity and Access Management (IAM) service role for an Amplify app. jobConfig Used to configure the Amplify Application build instance compute type. See jobConfig Block for details. name Name for an Amplify app. oauthToken OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored. platform Platform or framework for an Amplify app. Valid values: WEB, WEB_COMPUTE. Default value: WEB. productionBranches Describes the information about a production branch for an Amplify app. A productionBranch block is documented below. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. repository Repository for an Amplify app. tags Key-value mapping of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
const
AppState.fromMap(Map<String, dynamic> map)
factory

Properties

accessToken → Input<String?>?
Personal access token for a third-party source control system for an Amplify app. This token must have write access to the relevant repo to create a webhook and a read-only deploy key for the Amplify project. The token is not stored, so after applying this attribute can be removed and the setup token deleted.
final
arn → Input<String?>?
ARN of the Amplify app.
final
autoBranchCreationConfig → Input<AppAutoBranchCreationConfig?>?
Automated branch creation configuration for an Amplify app. See autoBranchCreationConfig Block for details.
final
autoBranchCreationPatterns → Input<List<String>?>?
Automated branch creation glob patterns for an Amplify app.
final
basicAuthCredentials → Input<String?>?
Credentials for basic authorization for an Amplify app.
final
buildSpec → Input<String?>?
The build specification (build spec) for an Amplify app.
final
cacheConfig → Input<AppCacheConfig?>?
Cache configuration for the Amplify app. See cacheConfig Block for details.
final
computeRoleArn → Input<String?>?
AWS Identity and Access Management (IAM) SSR compute role for an Amplify app.
final
customHeaders → Input<String?>?
The custom HTTP headers for an Amplify app.
final
customRules → Input<List<AppCustomRule>?>?
Custom rewrite and redirect rules for an Amplify app. See customRule Block for details.
final
defaultDomain → Input<String?>?
Default domain for the Amplify app.
final
description → Input<String?>?
Description for an Amplify app.
final
enableAutoBranchCreation → Input<bool?>?
Enables automated branch creation for an Amplify app.
final
enableBasicAuth → Input<bool?>?
Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
final
enableBranchAutoBuild → Input<bool?>?
Enables auto-building of branches for the Amplify App.
final
enableBranchAutoDeletion → Input<bool?>?
Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
final
environmentVariables → Input<Map<String, String>?>?
Environment variables map for an Amplify app.
final
hashCode → int
The hash code for this object.
no setterinherited
iamServiceRoleArn → Input<String?>?
AWS Identity and Access Management (IAM) service role for an Amplify app.
final
jobConfig → Input<AppJobConfig?>?
Used to configure the Amplify Application build instance compute type. See jobConfig Block for details.
final
name → Input<String?>?
Name for an Amplify app.
final
oauthToken → Input<String?>?
OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
final
platform → Input<String?>?
Platform or framework for an Amplify app. Valid values: WEB, WEB_COMPUTE. Default value: WEB.
final
productionBranches → Input<List<AppProductionBranch>?>?
Describes the information about a production branch for an Amplify app. A productionBranch block is documented below.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
repository → Input<String?>?
Repository for an Amplify app.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Key-value mapping of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited