Class CfnSimpleAD.VpcSettingsProperty
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DirectoryService
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VpcSettingsProperty : Object, CfnSimpleAD.IVpcSettingsProperty
Syntax (vb)
Public Class VpcSettingsProperty
Inherits Object
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
Vpc |
Properties
Subnet |
The identifiers of the subnets for the directory servers. |
Vpc |
The identifier of the VPC in which to create the directory. |
Constructors
VpcSettingsProperty()
public VpcSettingsProperty()
Properties
SubnetIds
The identifiers of the subnets for the directory servers.
public string[] SubnetIds { get; set; }
Property Value
System.
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; }
Property Value
System.