BranchState constructor

const BranchState({
  1. Input<String?>? appId,
  2. Input<String?>? arn,
  3. Input<List<String>?>? associatedResources,
  4. Input<String?>? backendEnvironmentArn,
  5. Input<String?>? basicAuthCredentials,
  6. Input<String?>? branchName,
  7. Input<List<String>?>? customDomains,
  8. Input<String?>? description,
  9. Input<String?>? destinationBranch,
  10. Input<String?>? displayName,
  11. Input<bool?>? enableAutoBuild,
  12. Input<bool?>? enableBasicAuth,
  13. Input<bool?>? enableNotification,
  14. Input<bool?>? enablePerformanceMode,
  15. Input<bool?>? enablePullRequestPreview,
  16. Input<bool?>? enableSkewProtection,
  17. Input<Map<String, String>?>? environmentVariables,
  18. Input<String?>? framework,
  19. Input<String?>? pullRequestEnvironmentName,
  20. Input<String?>? region,
  21. Input<String?>? sourceBranch,
  22. Input<String?>? stage,
  23. Input<Map<String, String>?>? tags,
  24. Input<Map<String, String>?>? tagsAll,
  25. Input<String?>? ttl,
})

Creates a new BranchState. appId Unique ID for an Amplify app. arn ARN for the branch. associatedResources A list of custom resources that are linked to this branch. backendEnvironmentArn ARN for a backend environment that is part of an Amplify app. basicAuthCredentials Basic authorization credentials for the branch. branchName Name for the branch. customDomains Custom domains for the branch. description Description for the branch. destinationBranch Destination branch if the branch is a pull request branch. displayName Display name for a branch. This is used as the default domain prefix. enableAutoBuild Enables auto building for the branch. enableBasicAuth Enables basic authorization for the branch. enableNotification Enables notifications for the branch. enablePerformanceMode Enables performance mode for the branch. enablePullRequestPreview Enables pull request previews for this branch. enableSkewProtection Enables skew protection for the branch. environmentVariables Environment variables for the branch. framework Framework for the branch. pullRequestEnvironmentName Amplify environment name for the pull request. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. sourceBranch Source branch if the branch is a pull request branch. stage Describes the current stage for the branch. Valid values: PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST. 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. ttl Content Time To Live (TTL) for the website in seconds.

Implementation

const BranchState({
  this.appId,
  this.arn,
  this.associatedResources,
  this.backendEnvironmentArn,
  this.basicAuthCredentials,
  this.branchName,
  this.customDomains,
  this.description,
  this.destinationBranch,
  this.displayName,
  this.enableAutoBuild,
  this.enableBasicAuth,
  this.enableNotification,
  this.enablePerformanceMode,
  this.enablePullRequestPreview,
  this.enableSkewProtection,
  this.environmentVariables,
  this.framework,
  this.pullRequestEnvironmentName,
  this.region,
  this.sourceBranch,
  this.stage,
  this.tags,
  this.tagsAll,
  this.ttl,
});