Class Ec2EnvironmentProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloud9.alpha.Ec2EnvironmentProps.Jsii$Proxy
All Implemented Interfaces:
Ec2EnvironmentProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
Ec2EnvironmentProps

@Stability(Experimental) @Internal public static final class Ec2EnvironmentProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements Ec2EnvironmentProps
An implementation for Ec2EnvironmentProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(Ec2EnvironmentProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the Ec2EnvironmentProps.Builder.
  • Method Details

    • getImageId

      public final ImageId getImageId()
      Description copied from interface: Ec2EnvironmentProps
      (experimental) The image ID used for creating an Amazon EC2 environment.
      Specified by:
      getImageId in interface Ec2EnvironmentProps
    • getVpc

      public final IVpc getVpc()
      Description copied from interface: Ec2EnvironmentProps
      (experimental) The VPC that AWS Cloud9 will use to communicate with the Amazon Elastic Compute Cloud (Amazon EC2) instance.
      Specified by:
      getVpc in interface Ec2EnvironmentProps
    • getAutomaticStop

      public final Duration getAutomaticStop()
      Description copied from interface: Ec2EnvironmentProps
      (experimental) The number of minutes until the running instance is shut down after the environment was last used.

      Setting a value of 0 means the instance will never be automatically shut down."

      Default: - The instance will not be shut down automatically.

      Specified by:
      getAutomaticStop in interface Ec2EnvironmentProps
    • getClonedRepositories

      public final List<CloneRepository> getClonedRepositories()
      Description copied from interface: Ec2EnvironmentProps
      (experimental) The AWS CodeCommit repository to be cloned.

      Default: - do not clone any repository

      Specified by:
      getClonedRepositories in interface Ec2EnvironmentProps
    • getConnectionType

      public final ConnectionType getConnectionType()
      Description copied from interface: Ec2EnvironmentProps
      (experimental) 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)

      Default: - CONNECT_SSH

      Specified by:
      getConnectionType in interface Ec2EnvironmentProps
    • getDescription

      public final String getDescription()
      Description copied from interface: Ec2EnvironmentProps
      (experimental) Description of the environment.

      Default: - no description

      Specified by:
      getDescription in interface Ec2EnvironmentProps
    • getEc2EnvironmentName

      public final String getEc2EnvironmentName()
      Description copied from interface: Ec2EnvironmentProps
      (experimental) Name of the environment.

      Default: - automatically generated name

      Specified by:
      getEc2EnvironmentName in interface Ec2EnvironmentProps
    • getInstanceType

      public final InstanceType getInstanceType()
      Description copied from interface: Ec2EnvironmentProps
      (experimental) The type of instance to connect to the environment.

      Default: - t2.micro

      Specified by:
      getInstanceType in interface Ec2EnvironmentProps
    • getOwner

      public final Owner getOwner()
      Description copied from interface: Ec2EnvironmentProps
      (experimental) Owner of the environment.

      The owner has full control of the environment and can invite additional members.

      Default: - The identity that CloudFormation executes under will be the owner

      Specified by:
      getOwner in interface Ec2EnvironmentProps
    • getSubnetSelection

      public final SubnetSelection getSubnetSelection()
      Description copied from interface: Ec2EnvironmentProps
      (experimental) The subnetSelection of the VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.

      Default: - all public subnets of the VPC are selected.

      Specified by:
      getSubnetSelection in interface Ec2EnvironmentProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object