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.

Association

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

type Association struct { AssociationId *string `type:"string"` AssociationName *string `type:"string"` AssociationVersion *string `type:"string"` DocumentVersion *string `type:"string"` InstanceId *string `type:"string"` LastExecutionDate *time.Time `type:"timestamp"` Name *string `type:"string"` Overview *AssociationOverview `type:"structure"` ScheduleExpression *string `min:"1" type:"string"` Targets []*Target `type:"list"` }

Describes an association of a Systems Manager document and an instance.

AssociationId

Type: *string

The ID created by the system when you create an association. An association is a binding between a document and a set of targets with a schedule.

AssociationName

Type: *string

The association name.

AssociationVersion

Type: *string

The association version.

DocumentVersion

Type: *string

The version of the document used in the association.

InstanceId

Type: *string

The ID of the instance.

LastExecutionDate

Type: *time.Time

The date on which the association was last run.

Name

Type: *string

The name of the Systems Manager document.

Overview

Information about the association.

ScheduleExpression

Type: *string

A cron expression that specifies a schedule when the association runs.

Targets

An array of search criteria that targets instances using a Key,Value combination that you specify. Targets is required if you don't provide one or more instance IDs in the call.

Method

GoString

func (s Association) GoString() string

GoString returns the string representation

SetAssociationId

func (s *Association) SetAssociationId(v string) *Association

SetAssociationId sets the AssociationId field's value.

SetAssociationName

func (s *Association) SetAssociationName(v string) *Association

SetAssociationName sets the AssociationName field's value.

SetAssociationVersion

func (s *Association) SetAssociationVersion(v string) *Association

SetAssociationVersion sets the AssociationVersion field's value.

SetDocumentVersion

func (s *Association) SetDocumentVersion(v string) *Association

SetDocumentVersion sets the DocumentVersion field's value.

SetInstanceId

func (s *Association) SetInstanceId(v string) *Association

SetInstanceId sets the InstanceId field's value.

SetLastExecutionDate

func (s *Association) SetLastExecutionDate(v time.Time) *Association

SetLastExecutionDate sets the LastExecutionDate field's value.

SetName

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

SetName sets the Name field's value.

SetOverview

func (s *Association) SetOverview(v *AssociationOverview) *Association

SetOverview sets the Overview field's value.

SetScheduleExpression

func (s *Association) SetScheduleExpression(v string) *Association

SetScheduleExpression sets the ScheduleExpression field's value.

SetTargets

func (s *Association) SetTargets(v []*Target) *Association

SetTargets sets the Targets field's value.

String

func (s Association) String() string

String returns the string representation

On this page: