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
- Struct
- Aws::DirectoryService::Types::DirectoryVpcSettings
- 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
-
#subnet_ids ⇒ Array<String>
The identifiers of the subnets for the directory servers.
-
#vpc_id ⇒ String
The identifier of the VPC in which to create the directory.
Instance Attribute Details
#subnet_ids ⇒ Array<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.
#vpc_id ⇒ String
The identifier of the VPC in which to create the directory.