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.

ResourceIdentifier

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

type ResourceIdentifier struct { ResourceArn *string `type:"string"` ResourceType *string `type:"string"` }

The ARN of a resource, and its resource type.

ResourceArn

Type: *string

The ARN of a resource.

ResourceType

Type: *string

The resource type of a resource, such as AWS::EC2::Instance.

Method

GoString

func (s ResourceIdentifier) GoString() string

GoString returns the string representation

SetResourceArn

func (s *ResourceIdentifier) SetResourceArn(v string) *ResourceIdentifier

SetResourceArn sets the ResourceArn field's value.

SetResourceType

func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier

SetResourceType sets the ResourceType field's value.

String

func (s ResourceIdentifier) String() string

String returns the string representation

On this page: