interface VpcSettingsProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.DirectoryService.CfnSimpleAD.VpcSettingsProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdirectoryservice#CfnSimpleAD_VpcSettingsProperty | 
  Java | software.amazon.awscdk.services.directoryservice.CfnSimpleAD.VpcSettingsProperty | 
  Python | aws_cdk.aws_directoryservice.CfnSimpleAD.VpcSettingsProperty | 
  TypeScript  | aws-cdk-lib » aws_directoryservice » CfnSimpleAD » VpcSettingsProperty | 
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_directoryservice as directoryservice } from 'aws-cdk-lib';
const vpcSettingsProperty: directoryservice.CfnSimpleAD.VpcSettingsProperty = {
  subnetIds: ['subnetIds'],
  vpcId: 'vpcId',
};
Properties
| Name | Type | Description | 
|---|---|---|
| subnet | string[] | The identifiers of the subnets for the directory servers. | 
| vpc | string | The identifier of the VPC in which to create the directory. | 
subnetIds
Type:
string[]
The identifiers of the subnets for the directory servers.
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
Type:
string
The identifier of the VPC in which to create the directory.

 .NET
 Go
 Java
 Python
 TypeScript