@Stability(value=Experimental) public static final class Ec2Environment.Builder extends Object
Ec2Environment.| Modifier and Type | Method and Description |
|---|---|
Ec2Environment |
build() |
static Ec2Environment.Builder |
create(Construct scope,
String id)
EXPERIMENTAL
|
Ec2Environment.Builder |
description(String description)
Description of the environment.
|
Ec2Environment.Builder |
ec2EnvironmentName(String ec2EnvironmentName)
Name of the environment.
|
Ec2Environment.Builder |
instanceType(InstanceType instanceType)
The type of instance to connect to the environment.
|
Ec2Environment.Builder |
subnetSelection(SubnetSelection subnetSelection)
The subnetSelection of the VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
|
Ec2Environment.Builder |
vpc(IVpc vpc)
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(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)
EXPERIMENTAL
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 description(String description)
Default: - no description
EXPERIMENTAL
description - Description of the environment. This parameter is required.this@Stability(value=Experimental) public Ec2Environment.Builder ec2EnvironmentName(String ec2EnvironmentName)
Default: - automatically generated name
EXPERIMENTAL
ec2EnvironmentName - Name of the environment. This parameter is required.this@Stability(value=Experimental) public Ec2Environment.Builder instanceType(InstanceType instanceType)
Default: - t2.micro
EXPERIMENTAL
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.
EXPERIMENTAL
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()
Copyright © 2020. All rights reserved.