Class Ec2EnvironmentProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloud9.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

    • 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
    • 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
    • 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