Module cloud9
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.
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-awsrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-awsrepo.
Resources
Others
Resources
Resource EnvironmentEC2
class EnvironmentEC2 extends CustomResourceProvides a Cloud9 EC2 Development Environment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.cloud9.EnvironmentEC2("example", {
instanceType: "t2.micro",
});constructor
new EnvironmentEC2(name: string, args: EnvironmentEC2Args, opts?: pulumi.CustomResourceOptions)Create a EnvironmentEC2 resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentEC2State, opts?: pulumi.CustomResourceOptions): EnvironmentEC2Get 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 | undefinedmethod isInstance
public static isInstance(obj: any): obj is EnvironmentEC2Returns true if the given object is an instance of EnvironmentEC2. 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 tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;Key-value map of resource tags
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.
Others
interface EnvironmentEC2Args
interface EnvironmentEC2ArgsThe 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.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value map of resource tags
interface EnvironmentEC2State
interface EnvironmentEC2StateInput 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 tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value map of resource tags
property type
type?: pulumi.Input<string>;The type of the environment (e.g. ssh or ec2)