Module cloud9

@pulumi/aws > cloud9

Index

cloud9/environmentEC2.ts

class EnvironmentEC2

Provides a Cloud9 EC2 Development Environment.

constructor

new EnvironmentEC2(name: string, args: EnvironmentEC2Args, opts?: pulumi.CustomResourceOptions)

Create a EnvironmentEC2 resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentEC2State): EnvironmentEC2

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The ARN of the environment.

property automaticStopTimeMinutes

public automaticStopTimeMinutes: pulumi.Output<number | undefined>;

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

property description

public description: pulumi.Output<string | undefined>;

The description of the environment.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instanceType

public instanceType: pulumi.Output<string>;

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

property name

public name: pulumi.Output<string>;

The name of the environment.

property ownerArn

public ownerArn: pulumi.Output<string>;

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

property subnetId

public subnetId: pulumi.Output<string | undefined>;

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

property type

public type: pulumi.Output<string>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface EnvironmentEC2Args

The set of arguments for constructing a EnvironmentEC2 resource.

property automaticStopTimeMinutes

automaticStopTimeMinutes?: pulumi.Input<number>;

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

property description

description?: pulumi.Input<string>;

The description of the environment.

property instanceType

instanceType: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

The name of the environment.

property ownerArn

ownerArn?: pulumi.Input<string>;

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

property subnetId

subnetId?: pulumi.Input<string>;

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

interface EnvironmentEC2State

Input properties used for looking up and filtering EnvironmentEC2 resources.

property arn

arn?: pulumi.Input<string>;

The ARN of the environment.

property automaticStopTimeMinutes

automaticStopTimeMinutes?: pulumi.Input<number>;

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

property description

description?: pulumi.Input<string>;

The description of the environment.

property instanceType

instanceType?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

The name of the environment.

property ownerArn

ownerArn?: pulumi.Input<string>;

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

property subnetId

subnetId?: pulumi.Input<string>;

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

property type

type?: pulumi.Input<string>;

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