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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb

Overview

Note:

When making an API call, you may pass DirectoryVpcSettings data as a hash:

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

Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.

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>)


1547
1548
1549
1550
1551
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 1547

class DirectoryVpcSettings < Struct.new(
  :vpc_id,
  :subnet_ids)
  include Aws::Structure
end

#vpc_idString

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

Returns:

  • (String)


1547
1548
1549
1550
1551
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 1547

class DirectoryVpcSettings < Struct.new(
  :vpc_id,
  :subnet_ids)
  include Aws::Structure
end