Ec2EnvironmentProps

class aws_cdk.aws_cloud9.Ec2EnvironmentProps(*, vpc, cloned_repositories=None, description=None, ec2_environment_name=None, instance_type=None, subnet_selection=None)

Bases: object

(experimental) Properties for Ec2Environment.

Parameters
  • vpc (IVpc) – (experimental) The VPC that AWS Cloud9 will use to communicate with the Amazon Elastic Compute Cloud (Amazon EC2) instance.

  • cloned_repositories (Optional[List[CloneRepository]]) – (experimental) The AWS CodeCommit repository to be cloned. Default: - do not clone any repository

  • description (Optional[str]) – (experimental) Description of the environment. Default: - no description

  • ec2_environment_name (Optional[str]) – (experimental) Name of the environment. Default: - automatically generated name

  • instance_type (Optional[InstanceType]) – (experimental) The type of instance to connect to the environment. Default: - t2.micro

  • subnet_selection (Optional[SubnetSelection]) – (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.

Stability

experimental

Attributes

cloned_repositories

(experimental) The AWS CodeCommit repository to be cloned.

Default
  • do not clone any repository

Stability

experimental

Return type

Optional[List[CloneRepository]]

description

(experimental) Description of the environment.

Default
  • no description

Stability

experimental

Return type

Optional[str]

ec2_environment_name

(experimental) Name of the environment.

Default
  • automatically generated name

Stability

experimental

Return type

Optional[str]

instance_type

(experimental) The type of instance to connect to the environment.

Default
  • t2.micro

Stability

experimental

Return type

Optional[InstanceType]

subnet_selection

(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.

Stability

experimental

Return type

Optional[SubnetSelection]

vpc

(experimental) The VPC that AWS Cloud9 will use to communicate with the Amazon Elastic Compute Cloud (Amazon EC2) instance.

Stability

experimental

Return type

IVpc