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.

RdsDbInstance

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

type RdsDbInstance struct { Address *string `type:"string"` DbInstanceIdentifier *string `type:"string"` DbPassword *string `type:"string"` DbUser *string `type:"string"` Engine *string `type:"string"` MissingOnRds *bool `type:"boolean"` RdsDbInstanceArn *string `type:"string"` Region *string `type:"string"` StackId *string `type:"string"` }

Describes an Amazon RDS instance.

Address

Type: *string

The instance's address.

DbInstanceIdentifier

Type: *string

The DB instance identifier.

DbPassword

Type: *string

AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

DbUser

Type: *string

The master user name.

Engine

Type: *string

The instance's database engine.

MissingOnRds

Type: *bool

Set to true if AWS OpsWorks Stacks is unable to discover the Amazon RDS instance. AWS OpsWorks Stacks attempts to discover the instance only once. If this value is set to true, you must deregister the instance, and then register it again.

RdsDbInstanceArn

Type: *string

The instance's ARN.

Region

Type: *string

The instance's AWS region.

StackId

Type: *string

The ID of the stack with which the instance is registered.

Method

GoString

func (s RdsDbInstance) GoString() string

GoString returns the string representation

SetAddress

func (s *RdsDbInstance) SetAddress(v string) *RdsDbInstance

SetAddress sets the Address field's value.

SetDbInstanceIdentifier

func (s *RdsDbInstance) SetDbInstanceIdentifier(v string) *RdsDbInstance

SetDbInstanceIdentifier sets the DbInstanceIdentifier field's value.

SetDbPassword

func (s *RdsDbInstance) SetDbPassword(v string) *RdsDbInstance

SetDbPassword sets the DbPassword field's value.

SetDbUser

func (s *RdsDbInstance) SetDbUser(v string) *RdsDbInstance

SetDbUser sets the DbUser field's value.

SetEngine

func (s *RdsDbInstance) SetEngine(v string) *RdsDbInstance

SetEngine sets the Engine field's value.

SetMissingOnRds

func (s *RdsDbInstance) SetMissingOnRds(v bool) *RdsDbInstance

SetMissingOnRds sets the MissingOnRds field's value.

SetRdsDbInstanceArn

func (s *RdsDbInstance) SetRdsDbInstanceArn(v string) *RdsDbInstance

SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value.

SetRegion

func (s *RdsDbInstance) SetRegion(v string) *RdsDbInstance

SetRegion sets the Region field's value.

SetStackId

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

SetStackId sets the StackId field's value.

String

func (s RdsDbInstance) String() string

String returns the string representation

On this page: