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/configservice"

type ResourceIdentifier struct { ResourceDeletionTime *time.Time `locationName:"resourceDeletionTime" type:"timestamp"` ResourceId *string `locationName:"resourceId" min:"1" type:"string"` ResourceName *string `locationName:"resourceName" type:"string"` ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` }

The details that identify a resource that is discovered by AWS Config, including the resource type, ID, and (if available) the custom resource name.

ResourceDeletionTime

Type: *time.Time

The time that the resource was deleted.

ResourceId

Type: *string

The ID of the resource (for example, sg-xxxxxx).

ResourceName

Type: *string

The custom name of the resource (if available).

ResourceType

Type: *string

The type of resource.

Method

GoString

func (s ResourceIdentifier) GoString() string

GoString returns the string representation

SetResourceDeletionTime

func (s *ResourceIdentifier) SetResourceDeletionTime(v time.Time) *ResourceIdentifier

SetResourceDeletionTime sets the ResourceDeletionTime field's value.

SetResourceId

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

SetResourceId sets the ResourceId field's value.

SetResourceName

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

SetResourceName sets the ResourceName 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: