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.

EC2SecurityGroup

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

type EC2SecurityGroup struct { EC2SecurityGroupName *string `type:"string"` EC2SecurityGroupOwnerId *string `type:"string"` Status *string `type:"string"` }

Provides ownership and status information for an Amazon EC2 security group.

EC2SecurityGroupName

Type: *string

The name of the Amazon EC2 security group.

EC2SecurityGroupOwnerId

Type: *string

The AWS account ID of the Amazon EC2 security group owner.

Status

Type: *string

The status of the Amazon EC2 security group.

Method

GoString

func (s EC2SecurityGroup) GoString() string

GoString returns the string representation

SetEC2SecurityGroupName

func (s *EC2SecurityGroup) SetEC2SecurityGroupName(v string) *EC2SecurityGroup

SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.

SetEC2SecurityGroupOwnerId

func (s *EC2SecurityGroup) SetEC2SecurityGroupOwnerId(v string) *EC2SecurityGroup

SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.

SetStatus

func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup

SetStatus sets the Status field's value.

String

func (s EC2SecurityGroup) String() string

String returns the string representation

On this page: