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< ? autoBranchCreationPatterns, Input<String> ?>String?> ? basicAuthCredentials, Input<String?> ? buildSpec, Input<AppCacheConfig?> ? cacheConfig, Input<String?> ? computeRoleArn, Input<String?> ? customHeaders, Input<List< ? customRules, Input<AppCustomRule> ?>String?> ? defaultDomain, Input<String?> ? description, Input<bool?> ? enableAutoBranchCreation, Input<bool?> ? enableBasicAuth, Input<bool?> ? enableBranchAutoBuild, Input<bool?> ? enableBranchAutoDeletion, Input<Map< ? environmentVariables, Input<String, String> ?>String?> ? iamServiceRoleArn, Input<AppJobConfig?> ? jobConfig, Input<String?> ? name, Input<String?> ? oauthToken, Input<String?> ? platform, Input<List< ? productionBranches, Input<AppProductionBranch> ?>String?> ? region, Input<String?> ? repository, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll})String, String> ?> -
Creates a new AppState.
accessTokenPersonal 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.arnARN of the Amplify app.autoBranchCreationConfigAutomated branch creation configuration for an Amplify app. SeeautoBranchCreationConfigBlock for details.autoBranchCreationPatternsAutomated branch creation glob patterns for an Amplify app.basicAuthCredentialsCredentials for basic authorization for an Amplify app.buildSpecThe build specification (build spec) for an Amplify app.cacheConfigCache configuration for the Amplify app. SeecacheConfigBlock for details.computeRoleArnAWS Identity and Access Management (IAM) SSR compute role for an Amplify app.customHeadersThe custom HTTP headers for an Amplify app.customRulesCustom rewrite and redirect rules for an Amplify app. SeecustomRuleBlock for details.defaultDomainDefault domain for the Amplify app.descriptionDescription for an Amplify app.enableAutoBranchCreationEnables automated branch creation for an Amplify app.enableBasicAuthEnables basic authorization for an Amplify app. This will apply to all branches that are part of this app.enableBranchAutoBuildEnables auto-building of branches for the Amplify App.enableBranchAutoDeletionAutomatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.environmentVariablesEnvironment variables map for an Amplify app.iamServiceRoleArnAWS Identity and Access Management (IAM) service role for an Amplify app.jobConfigUsed to configure the Amplify Application build instance compute type. SeejobConfigBlock for details.nameName for an Amplify app.oauthTokenOAuth 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.platformPlatform or framework for an Amplify app. Valid values:WEB,WEB_COMPUTE. Default value:WEB.productionBranchesDescribes the information about a production branch for an Amplify app. AproductionBranchblock is documented below.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.repositoryRepository for an Amplify app.tagsKey-value mapping of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration 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
autoBranchCreationConfigBlock 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
cacheConfigBlock 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
customRuleBlock 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
jobConfigBlock 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
productionBranchblock 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
-
Key-value mapping of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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