Show / Hide Table of Contents

Class EnvironmentEC2

Provides a Cloud9 EC2 Development Environment.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.Cloud9.EnvironmentEC2("example", new Aws.Cloud9.EnvironmentEC2Args
    {
        InstanceType = "t2.micro",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
EnvironmentEC2
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Cloud9
Assembly: Pulumi.Aws.dll
Syntax
public class EnvironmentEC2 : CustomResource

Constructors

View Source

EnvironmentEC2(String, EnvironmentEC2Args, CustomResourceOptions)

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

Declaration
public EnvironmentEC2(string name, EnvironmentEC2Args args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

EnvironmentEC2Args args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Arn

The ARN of the environment.

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

AutomaticStopTimeMinutes

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

Declaration
public Output<int?> AutomaticStopTimeMinutes { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Description

The description of the environment.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

InstanceType

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

Declaration
public Output<string> InstanceType { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the environment.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

OwnerArn

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

Declaration
public Output<string> OwnerArn { get; }
Property Value
Type Description
Output<System.String>
View Source

SubnetId

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

Declaration
public Output<string> SubnetId { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

Key-value map of resource tags

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

Type

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

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, EnvironmentEC2State, CustomResourceOptions)

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

Declaration
public static EnvironmentEC2 Get(string name, Input<string> id, EnvironmentEC2State state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

EnvironmentEC2State state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
EnvironmentEC2
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.