ConnectionState constructor
Creates a new ConnectionState.
arn The codestar connection ARN.
connectionStatus The codestar connection status. Possible values are PENDING, AVAILABLE and ERROR.
hostArn ARN of the host associated with the connection. Conflicts with providerType
name The name of the connection to be created. The name must be unique in the calling AWS account. Changing name will create a new resource.
providerType The name of the external provider where your third-party code repository is configured. Valid values are Bitbucket, GitHub, GitHubEnterpriseServer, GitLab or GitLabSelfManaged. Changing providerType will create a new resource. Conflicts with hostArn
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags Map of key-value resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
Implementation
const ConnectionState({
this.arn,
this.connectionStatus,
this.hostArn,
this.name,
this.providerType,
this.region,
this.tags,
this.tagsAll,
});