This page documents the language specification for the aws package. If you're looking for help working with the inputs, outputs, or functions of aws resources in a Pulumi program, please see the resource documentation for examples and API reference.
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, tags=None, __props__=None, __name__=None, __opts__=None)¶ Provides a Cloud9 EC2 Development Environment.
import pulumi import pulumi_aws as aws example = aws.cloud9.EnvironmentEC2("example", instance_type="t2.micro")
- 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.
tags (pulumi.Input[dict]) – Key-value map of resource tags
arn: pulumi.Output[str] = None¶The ARN of the environment.
automatic_stop_time_minutes: pulumi.Output[float] = None¶The number of minutes until the running instance is shut down after the environment has last been used.
description: pulumi.Output[str] = None¶The description of the environment.
instance_type: pulumi.Output[str] = None¶The type of instance to connect to the environment, e.g.
t2.micro.
name: pulumi.Output[str] = None¶The name of the environment.
owner_arn: pulumi.Output[str] = None¶The ARN of the environment owner. This can be ARN of any AWS IAM principal. Defaults to the environment’s creator.
subnet_id: pulumi.Output[str] = None¶The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
Key-value map of resource tags
type: pulumi.Output[str] = None¶The type of the environment (e.g.
sshorec2)
- 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, tags=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.
tags (pulumi.Input[dict]) – Key-value map of resource tags
type (pulumi.Input[str]) – The type of the environment (e.g.
sshorec2)
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