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.

AuthorizeSecurityGroupEgressInput

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

type AuthorizeSecurityGroupEgressInput struct { CidrIp *string `locationName:"cidrIp" type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` FromPort *int64 `locationName:"fromPort" type:"integer"` GroupId *string `locationName:"groupId" type:"string" required:"true"` IpPermissions []*IpPermission `locationName:"ipPermissions" locationNameList:"item" type:"list"` IpProtocol *string `locationName:"ipProtocol" type:"string"` SourceSecurityGroupName *string `locationName:"sourceSecurityGroupName" type:"string"` SourceSecurityGroupOwnerId *string `locationName:"sourceSecurityGroupOwnerId" type:"string"` ToPort *int64 `locationName:"toPort" type:"integer"` }

CidrIp

Type: *string

Not supported. Use a set of IP permissions to specify the CIDR.

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.

FromPort

Type: *int64

Not supported. Use a set of IP permissions to specify the port.

GroupId

Type: *string

The ID of the security group.

GroupId is a required field

IpPermissions

Describes a set of permissions for a security group rule.

IpProtocol

Type: *string

Not supported. Use a set of IP permissions to specify the protocol name or number.

SourceSecurityGroupName

Type: *string

Not supported. Use a set of IP permissions to specify a destination security group.

SourceSecurityGroupOwnerId

Type: *string

Not supported. Use a set of IP permissions to specify a destination security group.

ToPort

Type: *int64

Not supported. Use a set of IP permissions to specify the port.

Method

GoString

func (s AuthorizeSecurityGroupEgressInput) GoString() string

GoString returns the string representation

SetCidrIp

func (s *AuthorizeSecurityGroupEgressInput) SetCidrIp(v string) *AuthorizeSecurityGroupEgressInput

SetCidrIp sets the CidrIp field's value.

SetDryRun

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

SetDryRun sets the DryRun field's value.

SetFromPort

func (s *AuthorizeSecurityGroupEgressInput) SetFromPort(v int64) *AuthorizeSecurityGroupEgressInput

SetFromPort sets the FromPort field's value.

SetGroupId

func (s *AuthorizeSecurityGroupEgressInput) SetGroupId(v string) *AuthorizeSecurityGroupEgressInput

SetGroupId sets the GroupId field's value.

SetIpPermissions

func (s *AuthorizeSecurityGroupEgressInput) SetIpPermissions(v []*IpPermission) *AuthorizeSecurityGroupEgressInput

SetIpPermissions sets the IpPermissions field's value.

SetIpProtocol

func (s *AuthorizeSecurityGroupEgressInput) SetIpProtocol(v string) *AuthorizeSecurityGroupEgressInput

SetIpProtocol sets the IpProtocol field's value.

SetSourceSecurityGroupName

func (s *AuthorizeSecurityGroupEgressInput) SetSourceSecurityGroupName(v string) *AuthorizeSecurityGroupEgressInput

SetSourceSecurityGroupName sets the SourceSecurityGroupName field's value.

SetSourceSecurityGroupOwnerId

func (s *AuthorizeSecurityGroupEgressInput) SetSourceSecurityGroupOwnerId(v string) *AuthorizeSecurityGroupEgressInput

SetSourceSecurityGroupOwnerId sets the SourceSecurityGroupOwnerId field's value.

SetToPort

func (s *AuthorizeSecurityGroupEgressInput) SetToPort(v int64) *AuthorizeSecurityGroupEgressInput

SetToPort sets the ToPort field's value.

String

func (s AuthorizeSecurityGroupEgressInput) String() string

String returns the string representation

Validate

func (s *AuthorizeSecurityGroupEgressInput) Validate() error

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

On this page: