You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DirectoryService::Types::DirectoryVpcSettings

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DirectoryVpcSettings as input to an Aws::Client method, you can use a vanilla Hash:

{
  vpc_id: "VpcId", # required
  subnet_ids: ["SubnetId"], # required
}

Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#subnet_idsArray<String>

The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.

Returns:

  • (Array<String>)

    The identifiers of the subnets for the directory servers.

#vpc_idString

The identifier of the VPC in which to create the directory.

Returns:

  • (String)

    The identifier of the VPC in which to create the directory.