AppArgs constructor

const AppArgs({
  1. Input<String?>? accessToken,
  2. Input<AppAutoBranchCreationConfig?>? autoBranchCreationConfig,
  3. Input<List<String>?>? autoBranchCreationPatterns,
  4. Input<String?>? basicAuthCredentials,
  5. Input<String?>? buildSpec,
  6. Input<AppCacheConfig?>? cacheConfig,
  7. Input<String?>? computeRoleArn,
  8. Input<String?>? customHeaders,
  9. Input<List<AppCustomRule>?>? customRules,
  10. Input<String?>? description,
  11. Input<bool?>? enableAutoBranchCreation,
  12. Input<bool?>? enableBasicAuth,
  13. Input<bool?>? enableBranchAutoBuild,
  14. Input<bool?>? enableBranchAutoDeletion,
  15. Input<Map<String, String>?>? environmentVariables,
  16. Input<String?>? iamServiceRoleArn,
  17. Input<AppJobConfig?>? jobConfig,
  18. Input<String?>? name,
  19. Input<String?>? oauthToken,
  20. Input<String?>? platform,
  21. Input<String?>? region,
  22. Input<String?>? repository,
  23. Input<Map<String, String>?>? tags,
})

Creates a new AppArgs. 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. 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. 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. 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.

Implementation

const AppArgs({
  this.accessToken,
  this.autoBranchCreationConfig,
  this.autoBranchCreationPatterns,
  this.basicAuthCredentials,
  this.buildSpec,
  this.cacheConfig,
  this.computeRoleArn,
  this.customHeaders,
  this.customRules,
  this.description,
  this.enableAutoBranchCreation,
  this.enableBasicAuth,
  this.enableBranchAutoBuild,
  this.enableBranchAutoDeletion,
  this.environmentVariables,
  this.iamServiceRoleArn,
  this.jobConfig,
  this.name,
  this.oauthToken,
  this.platform,
  this.region,
  this.repository,
  this.tags,
});