cloud9

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.

class pulumi_aws.cloud9.EnvironmentEC2(resource_name, opts=None, automatic_stop_time_minutes=None, description=None, instance_type=None, name=None, owner_arn=None, subnet_id=None, __props__=None, __name__=None, __opts__=None)

Provides a Cloud9 EC2 Development Environment.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • automatic_stop_time_minutes (pulumi.Input[float]) – The number of minutes until the running instance is shut down after the environment has last been used.

  • description (pulumi.Input[str]) – The description of the environment.

  • instance_type (pulumi.Input[str]) – The type of instance to connect to the environment, e.g. t2.micro.

  • name (pulumi.Input[str]) – The name of the environment.

  • owner_arn (pulumi.Input[str]) – The ARN of the environment owner. This can be ARN of any AWS IAM principal. Defaults to the environment’s creator.

  • subnet_id (pulumi.Input[str]) – The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.

arn = None

The ARN of the environment.

automatic_stop_time_minutes = None

The number of minutes until the running instance is shut down after the environment has last been used.

description = None

The description of the environment.

instance_type = None

The type of instance to connect to the environment, e.g. t2.micro.

name = None

The name of the environment.

owner_arn = None

The ARN of the environment owner. This can be ARN of any AWS IAM principal. Defaults to the environment’s creator.

subnet_id = None

The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.

type = None

The type of the environment (e.g. ssh or ec2)

static get(resource_name, id, opts=None, arn=None, automatic_stop_time_minutes=None, description=None, instance_type=None, name=None, owner_arn=None, subnet_id=None, type=None)

Get an existing EnvironmentEC2 resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • arn (pulumi.Input[str]) – The ARN of the environment.

  • automatic_stop_time_minutes (pulumi.Input[float]) – The number of minutes until the running instance is shut down after the environment has last been used.

  • description (pulumi.Input[str]) – The description of the environment.

  • instance_type (pulumi.Input[str]) – The type of instance to connect to the environment, e.g. t2.micro.

  • name (pulumi.Input[str]) – The name of the environment.

  • owner_arn (pulumi.Input[str]) – The ARN of the environment owner. This can be ARN of any AWS IAM principal. Defaults to the environment’s creator.

  • subnet_id (pulumi.Input[str]) – The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.

  • type (pulumi.Input[str]) – The type of the environment (e.g. ssh or ec2)

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str