Class Ec2Environment
(experimental) A Cloud9 Environment with Amazon EC2.
Inherited Members
Namespace: Amazon.CDK.AWS.Cloud9.Alpha
Assembly: Amazon.CDK.AWS.Cloud9.Alpha.dll
Syntax (csharp)
public class Ec2Environment : Resource, IEc2Environment, IResource
Syntax (vb)
Public Class Ec2Environment
Inherits Resource
Implements IEc2Environment, IResource
Remarks
Stability: Experimental
Resource: AWS::Cloud9::EnvironmentEC2
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.IAM;
Vpc vpc;
var user = new User(this, "user");
user.AddManagedPolicy(ManagedPolicy.FromAwsManagedPolicyName("AWSCloud9Administrator"));
new Ec2Environment(this, "C9Env", new Ec2EnvironmentProps {
Vpc = vpc,
ImageId = ImageId.AMAZON_LINUX_2,
Owner = Owner.User(user)
});
Synopsis
Constructors
Ec2Environment(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Ec2Environment(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Ec2Environment(Construct, String, IEc2EnvironmentProps) |
Properties
Ec2EnvironmentArn | (experimental) The environment ARN of this Cloud9 environment. |
Ec2EnvironmentName | (experimental) The environment name of this Cloud9 environment. |
EnvironmentId | (experimental) The environment ID of this Cloud9 environment. |
IdeUrl | (experimental) The complete IDE URL of this Cloud9 environment. |
Vpc | (experimental) VPC ID. |
Methods
FromEc2EnvironmentName(Construct, String, String) | (experimental) import from EnvironmentEc2Name. |
Constructors
Ec2Environment(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Ec2Environment(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Ec2Environment(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Ec2Environment(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Ec2Environment(Construct, String, IEc2EnvironmentProps)
public Ec2Environment(Construct scope, string id, IEc2EnvironmentProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IEc2EnvironmentProps
Remarks
Stability: Experimental
Properties
Ec2EnvironmentArn
(experimental) The environment ARN of this Cloud9 environment.
public virtual string Ec2EnvironmentArn { get; }
Property Value
System.String
Remarks
Stability: Experimental
Attribute: true
Ec2EnvironmentName
(experimental) The environment name of this Cloud9 environment.
public virtual string Ec2EnvironmentName { get; }
Property Value
System.String
Remarks
Stability: Experimental
Attribute: true
EnvironmentId
(experimental) The environment ID of this Cloud9 environment.
public virtual string EnvironmentId { get; }
Property Value
System.String
Remarks
Stability: Experimental
IdeUrl
(experimental) The complete IDE URL of this Cloud9 environment.
public virtual string IdeUrl { get; }
Property Value
System.String
Remarks
Stability: Experimental
Vpc
(experimental) VPC ID.
public virtual IVpc Vpc { get; }
Property Value
Remarks
Stability: Experimental
Methods
FromEc2EnvironmentName(Construct, String, String)
(experimental) import from EnvironmentEc2Name.
public static IEc2Environment FromEc2EnvironmentName(Construct scope, string id, string ec2EnvironmentName)
Parameters
- scope Constructs.Construct
- id System.String
- ec2EnvironmentName System.String
Returns
Remarks
Stability: Experimental