Class CfnSimpleAD.VpcSettingsProperty
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.DirectoryService
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSimpleAD.VpcSettingsProperty : CfnSimpleAD.IVpcSettingsProperty
Syntax (vb)
Public Class CfnSimpleAD.VpcSettingsProperty Implements CfnSimpleAD.IVpcSettingsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DirectoryService;
var vpcSettingsProperty = new VpcSettingsProperty {
SubnetIds = new [] { "subnetIds" },
VpcId = "vpcId"
};
Synopsis
Constructors
VpcSettingsProperty() | Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation. |
Properties
SubnetIds | The identifiers of the subnets for the directory servers. |
VpcId | The identifier of the VPC in which to create the directory. |
Constructors
VpcSettingsProperty()
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
public VpcSettingsProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DirectoryService;
var vpcSettingsProperty = new VpcSettingsProperty {
SubnetIds = new [] { "subnetIds" },
VpcId = "vpcId"
};
Properties
SubnetIds
The identifiers of the subnets for the directory servers.
public string[] SubnetIds { get; set; }
Property Value
string[]
Remarks
The two subnets must be in different Availability Zones. AWS Directory Service specifies a directory server and a DNS server in each of these subnets.
VpcId
The identifier of the VPC in which to create the directory.
public string VpcId { get; set; }