Documentation
¶
Index ¶
- func CfnEnvironmentEC2_CFN_RESOURCE_TYPE_NAME() *string
- func CfnEnvironmentEC2_IsCfnElement(x interface{}) *bool
- func CfnEnvironmentEC2_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnEnvironmentEC2_IsConstruct(x interface{}) *bool
- func Ec2Environment_IsConstruct(x interface{}) *bool
- func Ec2Environment_IsResource(construct awscdk.IConstruct) *bool
- func NewCfnEnvironmentEC2_Override(c CfnEnvironmentEC2, scope awscdk.Construct, id *string, ...)
- func NewEc2Environment_Override(e Ec2Environment, scope constructs.Construct, id *string, ...)
- type CfnEnvironmentEC2
- type CfnEnvironmentEC2Props
- type CfnEnvironmentEC2_RepositoryProperty
- type CloneRepository
- type Ec2Environment
- type Ec2EnvironmentProps
- type IEc2Environment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnEnvironmentEC2_CFN_RESOURCE_TYPE_NAME ¶
func CfnEnvironmentEC2_CFN_RESOURCE_TYPE_NAME() *string
func CfnEnvironmentEC2_IsCfnElement ¶
func CfnEnvironmentEC2_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnEnvironmentEC2_IsCfnResource ¶
func CfnEnvironmentEC2_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnEnvironmentEC2_IsConstruct ¶
func CfnEnvironmentEC2_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func Ec2Environment_IsConstruct ¶
func Ec2Environment_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func Ec2Environment_IsResource ¶
func Ec2Environment_IsResource(construct awscdk.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func NewCfnEnvironmentEC2_Override ¶
func NewCfnEnvironmentEC2_Override(c CfnEnvironmentEC2, scope awscdk.Construct, id *string, props *CfnEnvironmentEC2Props)
Create a new `AWS::Cloud9::EnvironmentEC2`.
func NewEc2Environment_Override ¶
func NewEc2Environment_Override(e Ec2Environment, scope constructs.Construct, id *string, props *Ec2EnvironmentProps)
Experimental.
Types ¶
type CfnEnvironmentEC2 ¶
type CfnEnvironmentEC2 interface {
awscdk.CfnResource
awscdk.IInspectable
AttrArn() *string
AttrName() *string
AutomaticStopTimeMinutes() *float64
SetAutomaticStopTimeMinutes(val *float64)
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
ConnectionType() *string
SetConnectionType(val *string)
CreationStack() *[]*string
Description() *string
SetDescription(val *string)
ImageId() *string
SetImageId(val *string)
InstanceType() *string
SetInstanceType(val *string)
LogicalId() *string
Name() *string
SetName(val *string)
Node() awscdk.ConstructNode
OwnerArn() *string
SetOwnerArn(val *string)
Ref() *string
Repositories() interface{}
SetRepositories(val interface{})
Stack() awscdk.Stack
SubnetId() *string
SetSubnetId(val *string)
Tags() awscdk.TagManager
UpdatedProperites() *map[string]interface{}
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
OverrideLogicalId(newLogicalId *string)
Prepare()
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::Cloud9::EnvironmentEC2`.
func NewCfnEnvironmentEC2 ¶
func NewCfnEnvironmentEC2(scope awscdk.Construct, id *string, props *CfnEnvironmentEC2Props) CfnEnvironmentEC2
Create a new `AWS::Cloud9::EnvironmentEC2`.
type CfnEnvironmentEC2Props ¶
type CfnEnvironmentEC2Props struct {
// `AWS::Cloud9::EnvironmentEC2.InstanceType`.
InstanceType *string `json:"instanceType"`
// `AWS::Cloud9::EnvironmentEC2.AutomaticStopTimeMinutes`.
AutomaticStopTimeMinutes *float64 `json:"automaticStopTimeMinutes"`
// `AWS::Cloud9::EnvironmentEC2.ConnectionType`.
ConnectionType *string `json:"connectionType"`
// `AWS::Cloud9::EnvironmentEC2.Description`.
Description *string `json:"description"`
// `AWS::Cloud9::EnvironmentEC2.ImageId`.
ImageId *string `json:"imageId"`
// `AWS::Cloud9::EnvironmentEC2.Name`.
Name *string `json:"name"`
// `AWS::Cloud9::EnvironmentEC2.OwnerArn`.
OwnerArn *string `json:"ownerArn"`
// `AWS::Cloud9::EnvironmentEC2.Repositories`.
Repositories interface{} `json:"repositories"`
// `AWS::Cloud9::EnvironmentEC2.SubnetId`.
SubnetId *string `json:"subnetId"`
// `AWS::Cloud9::EnvironmentEC2.Tags`.
Tags *[]*awscdk.CfnTag `json:"tags"`
}
Properties for defining a `AWS::Cloud9::EnvironmentEC2`.
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() awscdk.ConstructNode
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
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
Prepare()
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*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.