class CfnEnvironmentPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EVS.Mixins.CfnEnvironmentPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsevs/mixins#CfnEnvironmentPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.evs.mixins.CfnEnvironmentPropsMixin |
Python | aws_cdk.mixins_preview.aws_evs.mixins.CfnEnvironmentPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_evs » mixins » CfnEnvironmentPropsMixin |
Implements
IMixin
Extends
Mixin
Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server.
During environment creation, Amazon EVS performs validations on DNS settings, provisions VLAN subnets and hosts, and deploys the supplied version of VCF.
It can take several hours to create an environment. After the deployment completes, you can configure VCF in the vSphere user interface according to your needs.
You cannot use the
dedicatedHostIdandplacementGroupIdparameters together in the sameCreateEnvironmentaction. This results in aValidationExceptionresponse.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evs-environment.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as evs_mixins } from '@aws-cdk/mixins-preview/aws-evs';
const cfnEnvironmentPropsMixin = new evs_mixins.CfnEnvironmentPropsMixin({
connectivityInfo: {
privateRouteServerPeerings: ['privateRouteServerPeerings'],
},
environmentName: 'environmentName',
hosts: [{
dedicatedHostId: 'dedicatedHostId',
hostName: 'hostName',
instanceType: 'instanceType',
keyName: 'keyName',
placementGroupId: 'placementGroupId',
}],
initialVlans: {
edgeVTep: {
cidr: 'cidr',
},
expansionVlan1: {
cidr: 'cidr',
},
expansionVlan2: {
cidr: 'cidr',
},
hcx: {
cidr: 'cidr',
},
hcxNetworkAclId: 'hcxNetworkAclId',
isHcxPublic: false,
nsxUpLink: {
cidr: 'cidr',
},
vmkManagement: {
cidr: 'cidr',
},
vmManagement: {
cidr: 'cidr',
},
vMotion: {
cidr: 'cidr',
},
vSan: {
cidr: 'cidr',
},
vTep: {
cidr: 'cidr',
},
},
kmsKeyId: 'kmsKeyId',
licenseInfo: {
solutionKey: 'solutionKey',
vsanKey: 'vsanKey',
},
serviceAccessSecurityGroups: {
securityGroups: ['securityGroups'],
},
serviceAccessSubnetId: 'serviceAccessSubnetId',
siteId: 'siteId',
tags: [{
key: 'key',
value: 'value',
}],
termsAccepted: false,
vcfHostnames: {
cloudBuilder: 'cloudBuilder',
nsx: 'nsx',
nsxEdge1: 'nsxEdge1',
nsxEdge2: 'nsxEdge2',
nsxManager1: 'nsxManager1',
nsxManager2: 'nsxManager2',
nsxManager3: 'nsxManager3',
sddcManager: 'sddcManager',
vCenter: 'vCenter',
},
vcfVersion: 'vcfVersion',
vpcId: 'vpcId',
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnEnvironmentPropsMixin(props: CfnEnvironmentMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Environment Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::EVS::Environment.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript