public static final class CfnEnvironmentEC2Props.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEnvironmentEC2Props
CfnEnvironmentEC2Props
CfnEnvironmentEC2Props.Builder, CfnEnvironmentEC2Props.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Number |
getAutomaticStopTimeMinutes()
The number of minutes until the running instance is shut down after the environment was last used.
|
java.lang.String |
getConnectionType()
The connection type used for connecting to an Amazon EC2 environment.
|
java.lang.String |
getDescription()
The description of the environment to create.
|
java.lang.String |
getImageId()
The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance.
|
java.lang.String |
getInstanceType()
The type of instance to connect to the environment (for example, `t2.micro` ).
|
java.lang.String |
getName()
The name of the environment.
|
java.lang.String |
getOwnerArn()
The Amazon Resource Name (ARN) of the environment owner.
|
java.lang.Object |
getRepositories()
Any AWS CodeCommit source code repositories to be cloned into the development environment.
|
java.lang.String |
getSubnetId()
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.
|
java.util.List<CfnTag> |
getTags()
An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getInstanceType()
CfnEnvironmentEC2Props
getInstanceType
in interface CfnEnvironmentEC2Props
public final java.lang.Number getAutomaticStopTimeMinutes()
CfnEnvironmentEC2Props
getAutomaticStopTimeMinutes
in interface CfnEnvironmentEC2Props
public final java.lang.String getConnectionType()
CfnEnvironmentEC2Props
Valid values are CONNECT_SSH
(default) and CONNECT_SSM
(connected through AWS Systems Manager ).
getConnectionType
in interface CfnEnvironmentEC2Props
public final java.lang.String getDescription()
CfnEnvironmentEC2Props
getDescription
in interface CfnEnvironmentEC2Props
public final java.lang.String getImageId()
CfnEnvironmentEC2Props
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_64
amazonlinux-2-x86_64
ubuntu-18.04-x86_64
SSM paths
resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64
resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64
resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64
getImageId
in interface CfnEnvironmentEC2Props
public final java.lang.String getName()
CfnEnvironmentEC2Props
getName
in interface CfnEnvironmentEC2Props
public final java.lang.String getOwnerArn()
CfnEnvironmentEC2Props
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.
getOwnerArn
in interface CfnEnvironmentEC2Props
public final java.lang.Object getRepositories()
CfnEnvironmentEC2Props
getRepositories
in interface CfnEnvironmentEC2Props
public final java.lang.String getSubnetId()
CfnEnvironmentEC2Props
getSubnetId
in interface CfnEnvironmentEC2Props
public final java.util.List<CfnTag> getTags()
CfnEnvironmentEC2Props
getTags
in interface CfnEnvironmentEC2Props
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()