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.

CloudFormationStackRecord

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

type CloudFormationStackRecord struct { Arn *string `locationName:"arn" type:"string"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` DestinationInfo *DestinationInfo `locationName:"destinationInfo" type:"structure"` Location *ResourceLocation `locationName:"location" type:"structure"` Name *string `locationName:"name" type:"string"` ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` SourceInfo []*CloudFormationStackRecordSourceInfo `locationName:"sourceInfo" type:"list"` State *string `locationName:"state" type:"string" enum:"RecordState"` }

Describes a CloudFormation stack record created as a result of the create cloud formation stack operation.

A CloudFormation stack record provides information about the AWS CloudFormation stack used to create a new Amazon Elastic Compute Cloud instance from an exported Lightsail instance snapshot.

Arn

Type: *string

The Amazon Resource Name (ARN) of the CloudFormation stack record.

CreatedAt

Type: *time.Time

The date when the CloudFormation stack record was created.

DestinationInfo

Describes the destination of a record.

Location

Describes the resource location.

Name

Type: *string

The name of the CloudFormation stack record. It starts with CloudFormationStackRecord followed by a GUID.

ResourceType

Type: *string

The Lightsail resource type (e.g., CloudFormationStackRecord).

SourceInfo

Describes the source of a CloudFormation stack record (i.e., the export snapshot record).

State

Type: *string

The current state of the CloudFormation stack record.

Method

GoString

func (s CloudFormationStackRecord) GoString() string

GoString returns the string representation

SetArn

func (s *CloudFormationStackRecord) SetArn(v string) *CloudFormationStackRecord

SetArn sets the Arn field's value.

SetCreatedAt

func (s *CloudFormationStackRecord) SetCreatedAt(v time.Time) *CloudFormationStackRecord

SetCreatedAt sets the CreatedAt field's value.

SetDestinationInfo

func (s *CloudFormationStackRecord) SetDestinationInfo(v *DestinationInfo) *CloudFormationStackRecord

SetDestinationInfo sets the DestinationInfo field's value.

SetLocation

func (s *CloudFormationStackRecord) SetLocation(v *ResourceLocation) *CloudFormationStackRecord

SetLocation sets the Location field's value.

SetName

func (s *CloudFormationStackRecord) SetName(v string) *CloudFormationStackRecord

SetName sets the Name field's value.

SetResourceType

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

SetResourceType sets the ResourceType field's value.

SetSourceInfo

func (s *CloudFormationStackRecord) SetSourceInfo(v []*CloudFormationStackRecordSourceInfo) *CloudFormationStackRecord

SetSourceInfo sets the SourceInfo field's value.

SetState

func (s *CloudFormationStackRecord) SetState(v string) *CloudFormationStackRecord

SetState sets the State field's value.

String

func (s CloudFormationStackRecord) String() string

String returns the string representation

On this page: