@Stability(value=Experimental) public static final class Ec2Environment.Builder extends Object implements software.amazon.jsii.Builder<Ec2Environment>
Ec2Environment.| Modifier and Type | Method and Description |
|---|---|
Ec2Environment |
build() |
Ec2Environment.Builder |
clonedRepositories(List<? extends CloneRepository> clonedRepositories)
(experimental) The AWS CodeCommit repository to be cloned.
|
static Ec2Environment.Builder |
create(software.constructs.Construct scope,
String id) |
Ec2Environment.Builder |
description(String description)
(experimental) Description of the environment.
|
Ec2Environment.Builder |
ec2EnvironmentName(String ec2EnvironmentName)
(experimental) Name of the environment.
|
Ec2Environment.Builder |
instanceType(InstanceType instanceType)
(experimental) The type of instance to connect to the environment.
|
Ec2Environment.Builder |
subnetSelection(SubnetSelection subnetSelection)
(experimental) The subnetSelection of the VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
|
Ec2Environment.Builder |
vpc(IVpc vpc)
(experimental) The VPC that AWS Cloud9 will use to communicate with the Amazon Elastic Compute Cloud (Amazon EC2) instance.
|
@Stability(value=Experimental) public static Ec2Environment.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Ec2Environment.Builder.@Stability(value=Experimental) public Ec2Environment.Builder vpc(IVpc vpc)
vpc - The VPC that AWS Cloud9 will use to communicate with the Amazon Elastic Compute Cloud (Amazon EC2) instance. This parameter is required.this@Stability(value=Experimental) public Ec2Environment.Builder clonedRepositories(List<? extends CloneRepository> clonedRepositories)
Default: - do not clone any repository
clonedRepositories - The AWS CodeCommit repository to be cloned. This parameter is required.this@Stability(value=Experimental) public Ec2Environment.Builder description(String description)
Default: - no description
description - Description of the environment. This parameter is required.this@Stability(value=Experimental) public Ec2Environment.Builder ec2EnvironmentName(String ec2EnvironmentName)
Default: - automatically generated name
ec2EnvironmentName - Name of the environment. This parameter is required.this@Stability(value=Experimental) public Ec2Environment.Builder instanceType(InstanceType instanceType)
Default: - t2.micro
instanceType - The type of instance to connect to the environment. This parameter is required.this@Stability(value=Experimental) public Ec2Environment.Builder subnetSelection(SubnetSelection subnetSelection)
Default: - all public subnets of the VPC are selected.
subnetSelection - The subnetSelection of the VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance. This parameter is required.this@Stability(value=Experimental) public Ec2Environment build()
build in interface software.amazon.jsii.Builder<Ec2Environment>Copyright © 2022. All rights reserved.