Documentation
¶
Overview ¶
The CDK Construct Library for AWS::Cloud9
Index ¶
- func Ec2Environment_IsConstruct(x interface{}) *bool
- func Ec2Environment_IsResource(construct constructs.IConstruct) *bool
- func NewEc2Environment_Override(e Ec2Environment, scope constructs.Construct, id *string, ...)
- type CloneRepository
- type Ec2Environment
- type Ec2EnvironmentProps
- type IEc2Environment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ec2Environment_IsConstruct ¶
func Ec2Environment_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func Ec2Environment_IsResource ¶
func Ec2Environment_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func NewEc2Environment_Override ¶
func NewEc2Environment_Override(e Ec2Environment, scope constructs.Construct, id *string, props *Ec2EnvironmentProps)
Experimental.
Types ¶
type CloneRepository ¶
The class for different repository providers. Experimental.
func CloneRepository_FromCodeCommit ¶
func CloneRepository_FromCodeCommit(repository awscodecommit.IRepository, path *string) CloneRepository
import repository to cloud9 environment from AWS CodeCommit. Experimental.
type Ec2Environment ¶
type Ec2Environment interface { awscdk.Resource IEc2Environment Ec2EnvironmentArn() *string Ec2EnvironmentName() *string Env() *awscdk.ResourceEnvironment EnvironmentId() *string IdeUrl() *string Node() constructs.Node PhysicalName() *string Stack() awscdk.Stack Vpc() awsec2.IVpc ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string ToString() *string }
A Cloud9 Environment with Amazon EC2. Experimental.
func NewEc2Environment ¶
func NewEc2Environment(scope constructs.Construct, id *string, props *Ec2EnvironmentProps) Ec2Environment
Experimental.
type Ec2EnvironmentProps ¶
type Ec2EnvironmentProps struct { // The VPC that AWS Cloud9 will use to communicate with the Amazon Elastic Compute Cloud (Amazon EC2) instance. // Experimental. Vpc awsec2.IVpc `json:"vpc"` // The AWS CodeCommit repository to be cloned. // Experimental. ClonedRepositories *[]CloneRepository `json:"clonedRepositories"` // Description of the environment. // Experimental. Description *string `json:"description"` // Name of the environment. // Experimental. Ec2EnvironmentName *string `json:"ec2EnvironmentName"` // The type of instance to connect to the environment. // Experimental. InstanceType awsec2.InstanceType `json:"instanceType"` // The subnetSelection of the VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance. // Experimental. SubnetSelection *awsec2.SubnetSelection `json:"subnetSelection"` }
Properties for Ec2Environment. Experimental.
type IEc2Environment ¶
type IEc2Environment interface { awscdk.IResource // The arn of the EnvironmentEc2. // Experimental. Ec2EnvironmentArn() *string // The name of the EnvironmentEc2. // Experimental. Ec2EnvironmentName() *string }
A Cloud9 Environment. Experimental.
func Ec2Environment_FromEc2EnvironmentName ¶
func Ec2Environment_FromEc2EnvironmentName(scope constructs.Construct, id *string, ec2EnvironmentName *string) IEc2Environment
import from EnvironmentEc2Name. Experimental.
Click to show internal directories.
Click to hide internal directories.