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.

Activation

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

type Activation struct { ActivationId *string `type:"string"` CreatedDate *time.Time `type:"timestamp"` DefaultInstanceName *string `type:"string"` Description *string `type:"string"` ExpirationDate *time.Time `type:"timestamp"` Expired *bool `type:"boolean"` IamRole *string `type:"string"` RegistrationLimit *int64 `min:"1" type:"integer"` RegistrationsCount *int64 `min:"1" type:"integer"` Tags []*Tag `type:"list"` }

An activation registers one or more on-premises servers or virtual machines (VMs) with AWS so that you can configure those servers or VMs using Run Command. A server or VM that has been registered with AWS is called a managed instance.

ActivationId

Type: *string

The ID created by Systems Manager when you submitted the activation.

CreatedDate

Type: *time.Time

The date the activation was created.

DefaultInstanceName

Type: *string

A name for the managed instance when it is created.

Description

Type: *string

A user defined description of the activation.

ExpirationDate

Type: *time.Time

The date when this activation can no longer be used to register managed instances.

Expired

Type: *bool

Whether or not the activation is expired.

IamRole

Type: *string

The Amazon Identity and Access Management (IAM) role to assign to the managed instance.

RegistrationLimit

Type: *int64

The maximum number of managed instances that can be registered using this activation.

RegistrationsCount

Type: *int64

The number of managed instances already registered with this activation.

Tags

Metadata that you assign to your AWS resources. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. In Systems Manager, you can apply tags to documents, managed instances, Maintenance Windows, Parameter Store parameters, and patch baselines.

Method

GoString

func (s Activation) GoString() string

GoString returns the string representation

SetActivationId

func (s *Activation) SetActivationId(v string) *Activation

SetActivationId sets the ActivationId field's value.

SetCreatedDate

func (s *Activation) SetCreatedDate(v time.Time) *Activation

SetCreatedDate sets the CreatedDate field's value.

SetDefaultInstanceName

func (s *Activation) SetDefaultInstanceName(v string) *Activation

SetDefaultInstanceName sets the DefaultInstanceName field's value.

SetDescription

func (s *Activation) SetDescription(v string) *Activation

SetDescription sets the Description field's value.

SetExpirationDate

func (s *Activation) SetExpirationDate(v time.Time) *Activation

SetExpirationDate sets the ExpirationDate field's value.

SetExpired

func (s *Activation) SetExpired(v bool) *Activation

SetExpired sets the Expired field's value.

SetIamRole

func (s *Activation) SetIamRole(v string) *Activation

SetIamRole sets the IamRole field's value.

SetRegistrationLimit

func (s *Activation) SetRegistrationLimit(v int64) *Activation

SetRegistrationLimit sets the RegistrationLimit field's value.

SetRegistrationsCount

func (s *Activation) SetRegistrationsCount(v int64) *Activation

SetRegistrationsCount sets the RegistrationsCount field's value.

SetTags

func (s *Activation) SetTags(v []*Tag) *Activation

SetTags sets the Tags field's value.

String

func (s Activation) String() string

String returns the string representation

On this page: