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.

DBClusterRole

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

type DBClusterRole struct { FeatureName *string `type:"string"` RoleArn *string `type:"string"` Status *string `type:"string"` }

Describes an AWS Identity and Access Management (IAM) role that is associated with a DB cluster.

FeatureName

Type: *string

RoleArn

Type: *string

The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.

Status

Type: *string

Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values:

  • ACTIVE - the IAM role ARN is associated with the DB cluster and can be used to access other AWS services on your behalf.

  • PENDING - the IAM role ARN is being associated with the DB cluster.

  • INVALID - the IAM role ARN is associated with the DB cluster, but the DB cluster is unable to assume the IAM role in order to access other AWS services on your behalf.

Method

GoString

func (s DBClusterRole) GoString() string

GoString returns the string representation

SetFeatureName

func (s *DBClusterRole) SetFeatureName(v string) *DBClusterRole

SetFeatureName sets the FeatureName field's value.

SetRoleArn

func (s *DBClusterRole) SetRoleArn(v string) *DBClusterRole

SetRoleArn sets the RoleArn field's value.

SetStatus

func (s *DBClusterRole) SetStatus(v string) *DBClusterRole

SetStatus sets the Status field's value.

String

func (s DBClusterRole) String() string

String returns the string representation

On this page: