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.

RegisterInstanceInput

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

type RegisterInstanceInput struct { Hostname *string `type:"string"` InstanceIdentity *InstanceIdentity `type:"structure"` PrivateIp *string `type:"string"` PublicIp *string `type:"string"` RsaPublicKey *string `type:"string"` RsaPublicKeyFingerprint *string `type:"string"` StackId *string `type:"string" required:"true"` }

Hostname

Type: *string

The instance's hostname.

InstanceIdentity

Contains a description of an Amazon EC2 instance from the Amazon EC2 metadata service. For more information, see Instance Metadata and User Data (https://docs.aws.amazon.com/sdkfornet/latest/apidocs/Index.html).

PrivateIp

Type: *string

The instance's private IP address.

PublicIp

Type: *string

The instance's public IP address.

RsaPublicKey

Type: *string

The instances public RSA key. This key is used to encrypt communication between the instance and the service.

RsaPublicKeyFingerprint

Type: *string

The instances public RSA key fingerprint.

StackId

Type: *string

The ID of the stack that the instance is to be registered with.

StackId is a required field

Method

GoString

func (s RegisterInstanceInput) GoString() string

GoString returns the string representation

SetHostname

func (s *RegisterInstanceInput) SetHostname(v string) *RegisterInstanceInput

SetHostname sets the Hostname field's value.

SetInstanceIdentity

func (s *RegisterInstanceInput) SetInstanceIdentity(v *InstanceIdentity) *RegisterInstanceInput

SetInstanceIdentity sets the InstanceIdentity field's value.

SetPrivateIp

func (s *RegisterInstanceInput) SetPrivateIp(v string) *RegisterInstanceInput

SetPrivateIp sets the PrivateIp field's value.

SetPublicIp

func (s *RegisterInstanceInput) SetPublicIp(v string) *RegisterInstanceInput

SetPublicIp sets the PublicIp field's value.

SetRsaPublicKey

func (s *RegisterInstanceInput) SetRsaPublicKey(v string) *RegisterInstanceInput

SetRsaPublicKey sets the RsaPublicKey field's value.

SetRsaPublicKeyFingerprint

func (s *RegisterInstanceInput) SetRsaPublicKeyFingerprint(v string) *RegisterInstanceInput

SetRsaPublicKeyFingerprint sets the RsaPublicKeyFingerprint field's value.

SetStackId

func (s *RegisterInstanceInput) SetStackId(v string) *RegisterInstanceInput

SetStackId sets the StackId field's value.

String

func (s RegisterInstanceInput) String() string

String returns the string representation

Validate

func (s *RegisterInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: