aws-cdk-lib.aws_directoryservice.CfnMicrosoftAD.VpcSettingsProperty

interface VpcSettingsProperty

LanguageType name
.NETAmazon.CDK.AWS.DirectoryService.CfnMicrosoftAD.VpcSettingsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdirectoryservice#CfnMicrosoftAD_VpcSettingsProperty
Javasoftware.amazon.awscdk.services.directoryservice.CfnMicrosoftAD.VpcSettingsProperty
Pythonaws_cdk.aws_directoryservice.CfnMicrosoftAD.VpcSettingsProperty
TypeScript aws-cdk-lib » aws_directoryservice » CfnMicrosoftAD » 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.CfnMicrosoftAD.VpcSettingsProperty = {
  subnetIds: ['subnetIds'],
  vpcId: 'vpcId',
};

Properties

NameTypeDescription
subnetIdsstring[]The identifiers of the subnets for the directory servers.
vpcIdstringThe 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.