@Stability(value=Stable) public static final class CfnEnvironmentEC2Props.Builder extends Object implements software.amazon.jsii.Builder<CfnEnvironmentEC2Props>
CfnEnvironmentEC2Props| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnEnvironmentEC2Props.Builder instanceType(String instanceType)
CfnEnvironmentEC2Props.getInstanceType()instanceType - The type of instance to connect to the environment (for example, `t2.micro` ). This parameter is required.this@Stability(value=Stable) public CfnEnvironmentEC2Props.Builder automaticStopTimeMinutes(Number automaticStopTimeMinutes)
CfnEnvironmentEC2Props.getAutomaticStopTimeMinutes()automaticStopTimeMinutes - The number of minutes until the running instance is shut down after the environment was last used.this@Stability(value=Stable) public CfnEnvironmentEC2Props.Builder connectionType(String connectionType)
CfnEnvironmentEC2Props.getConnectionType()connectionType - The connection type used for connecting to an Amazon EC2 environment.
Valid values are CONNECT_SSH (default) and CONNECT_SSM (connected through AWS Systems Manager ).this@Stability(value=Stable) public CfnEnvironmentEC2Props.Builder description(String description)
CfnEnvironmentEC2Props.getDescription()description - The description of the environment to create.this@Stability(value=Stable) public CfnEnvironmentEC2Props.Builder imageId(String imageId)
CfnEnvironmentEC2Props.getImageId()imageId - The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance.
To choose an AMI for the instance, you must specify a valid AMI alias or a valid AWS Systems Manager path.
The default AMI is used if the parameter isn't explicitly assigned a value in the request.
AMI aliases
amazonlinux-1-x86_64amazonlinux-2-x86_64ubuntu-18.04-x86_64SSM paths
resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64this@Stability(value=Stable) public CfnEnvironmentEC2Props.Builder name(String name)
CfnEnvironmentEC2Props.getName()name - The name of the environment.this@Stability(value=Stable) public CfnEnvironmentEC2Props.Builder ownerArn(String ownerArn)
CfnEnvironmentEC2Props.getOwnerArn()ownerArn - The Amazon Resource Name (ARN) of the environment owner.
This ARN can be the ARN of any AWS Identity and Access Management principal. If this value is not specified, the ARN defaults to this environment's creator.this@Stability(value=Stable) public CfnEnvironmentEC2Props.Builder repositories(IResolvable repositories)
CfnEnvironmentEC2Props.getRepositories()repositories - Any AWS CodeCommit source code repositories to be cloned into the development environment.this@Stability(value=Stable) public CfnEnvironmentEC2Props.Builder repositories(List<? extends Object> repositories)
CfnEnvironmentEC2Props.getRepositories()repositories - Any AWS CodeCommit source code repositories to be cloned into the development environment.this@Stability(value=Stable) public CfnEnvironmentEC2Props.Builder subnetId(String subnetId)
CfnEnvironmentEC2Props.getSubnetId()subnetId - The ID of the subnet in Amazon Virtual Private Cloud (Amazon VPC) that AWS Cloud9 will use to communicate with the Amazon Elastic Compute Cloud (Amazon EC2) instance.this@Stability(value=Stable) public CfnEnvironmentEC2Props.Builder tags(List<? extends CfnTag> tags)
CfnEnvironmentEC2Props.getTags()tags - An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.this@Stability(value=Stable) public CfnEnvironmentEC2Props build()
build in interface software.amazon.jsii.Builder<CfnEnvironmentEC2Props>CfnEnvironmentEC2PropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.