EnvironmentEC2State constructor
- Input<
String?> ? arn, - Input<
int?> ? automaticStopTimeMinutes, - Input<
String?> ? connectionType, - Input<
String?> ? description, - Input<
String?> ? imageId, - Input<
String?> ? instanceType, - Input<
String?> ? name, - Input<
String?> ? ownerArn, - Input<
String?> ? region, - Input<
String?> ? subnetId, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?> - Input<
String?> ? type,
Creates a new EnvironmentEC2State.
arn The ARN of the environment.
automaticStopTimeMinutes The number of minutes until the running instance is shut down after the environment has last been used.
connectionType The connection type used for connecting to an Amazon EC2 environment. Valid values are CONNECT_SSH and CONNECT_SSM. For more information please refer AWS documentation for Cloud9.
description The description of the environment.
imageId Identifier for the AMI that's used to create the EC2 instance. Valid values are
instanceType The type of instance to connect to the environment, e.g., t2.micro.
name The name of the environment.
ownerArn The ARN of the environment owner. This can be ARN of any AWS IAM principal. Defaults to the environment's creator.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
subnetId The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
tags Key-value map 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 A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
type The type of the environment (e.g., ssh or ec2).
Implementation
const EnvironmentEC2State({
this.arn,
this.automaticStopTimeMinutes,
this.connectionType,
this.description,
this.imageId,
this.instanceType,
this.name,
this.ownerArn,
this.region,
this.subnetId,
this.tags,
this.tagsAll,
this.type,
});