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.

AuthorizeClientVpnIngressInput

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

type AuthorizeClientVpnIngressInput struct { AccessGroupId *string `type:"string"` AuthorizeAllGroups *bool `type:"boolean"` ClientVpnEndpointId *string `type:"string" required:"true"` Description *string `type:"string"` DryRun *bool `type:"boolean"` TargetNetworkCidr *string `type:"string" required:"true"` }

AccessGroupId

Type: *string

The ID of the Active Directory group to grant access.

AuthorizeAllGroups

Type: *bool

Indicates whether to grant access to all clients. Use true to grant all clients who successfully establish a VPN connection access to the network.

ClientVpnEndpointId

Type: *string

The ID of the Client VPN endpoint.

ClientVpnEndpointId is a required field

Description

Type: *string

A brief description of the authorization rule.

DryRun

Type: *bool

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

TargetNetworkCidr

Type: *string

The IPv4 address range, in CIDR notation, of the network for which access is being authorized.

TargetNetworkCidr is a required field

Method

GoString

func (s AuthorizeClientVpnIngressInput) GoString() string

GoString returns the string representation

SetAccessGroupId

func (s *AuthorizeClientVpnIngressInput) SetAccessGroupId(v string) *AuthorizeClientVpnIngressInput

SetAccessGroupId sets the AccessGroupId field's value.

SetAuthorizeAllGroups

func (s *AuthorizeClientVpnIngressInput) SetAuthorizeAllGroups(v bool) *AuthorizeClientVpnIngressInput

SetAuthorizeAllGroups sets the AuthorizeAllGroups field's value.

SetClientVpnEndpointId

func (s *AuthorizeClientVpnIngressInput) SetClientVpnEndpointId(v string) *AuthorizeClientVpnIngressInput

SetClientVpnEndpointId sets the ClientVpnEndpointId field's value.

SetDescription

func (s *AuthorizeClientVpnIngressInput) SetDescription(v string) *AuthorizeClientVpnIngressInput

SetDescription sets the Description field's value.

SetDryRun

func (s *AuthorizeClientVpnIngressInput) SetDryRun(v bool) *AuthorizeClientVpnIngressInput

SetDryRun sets the DryRun field's value.

SetTargetNetworkCidr

func (s *AuthorizeClientVpnIngressInput) SetTargetNetworkCidr(v string) *AuthorizeClientVpnIngressInput

SetTargetNetworkCidr sets the TargetNetworkCidr field's value.

String

func (s AuthorizeClientVpnIngressInput) String() string

String returns the string representation

Validate

func (s *AuthorizeClientVpnIngressInput) Validate() error

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

On this page: