AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DirectoryConnectSettings

import "github.com/aws/aws-sdk-go/service/directoryservice"

type DirectoryConnectSettings struct { CustomerDnsIps []*string `type:"list" required:"true"` CustomerUserName *string `min:"1" type:"string" required:"true"` SubnetIds []*string `type:"list" required:"true"` VpcId *string `type:"string" required:"true"` }

Contains information for the ConnectDirectory operation when an AD Connector directory is being created.

CustomerDnsIps

Type: []*string

A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.

CustomerDnsIps is a required field

CustomerUserName

Type: *string

The user name of an account in the on-premises directory that is used to connect to the directory. This account must have the following permissions:

  • Read users and groups

  • Create computer objects

  • Join computers to the domain

CustomerUserName is a required field

SubnetIds

Type: []*string

A list of subnet identifiers in the VPC in which the AD Connector is created.

SubnetIds is a required field

VpcId

Type: *string

The identifier of the VPC in which the AD Connector is created.

VpcId is a required field

Method

GoString

func (s DirectoryConnectSettings) GoString() string

GoString returns the string representation

SetCustomerDnsIps

func (s *DirectoryConnectSettings) SetCustomerDnsIps(v []*string) *DirectoryConnectSettings

SetCustomerDnsIps sets the CustomerDnsIps field's value.

SetCustomerUserName

func (s *DirectoryConnectSettings) SetCustomerUserName(v string) *DirectoryConnectSettings

SetCustomerUserName sets the CustomerUserName field's value.

SetSubnetIds

func (s *DirectoryConnectSettings) SetSubnetIds(v []*string) *DirectoryConnectSettings

SetSubnetIds sets the SubnetIds field's value.

SetVpcId

func (s *DirectoryConnectSettings) SetVpcId(v string) *DirectoryConnectSettings

SetVpcId sets the VpcId field's value.

String

func (s DirectoryConnectSettings) String() string

String returns the string representation

Validate

func (s *DirectoryConnectSettings) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: