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.

ModifyClusterIamRolesInput

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

type ModifyClusterIamRolesInput struct { AddIamRoles []*string `locationNameList:"IamRoleArn" type:"list"` ClusterIdentifier *string `type:"string" required:"true"` RemoveIamRoles []*string `locationNameList:"IamRoleArn" type:"list"` }

AddIamRoles

Type: []*string

Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles with a single cluster in a single request.

ClusterIdentifier

Type: *string

The unique identifier of the cluster for which you want to associate or disassociate IAM roles.

ClusterIdentifier is a required field

RemoveIamRoles

Type: []*string

Zero or more IAM roles in ARN format to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.

Method

GoString

func (s ModifyClusterIamRolesInput) GoString() string

GoString returns the string representation

SetAddIamRoles

func (s *ModifyClusterIamRolesInput) SetAddIamRoles(v []*string) *ModifyClusterIamRolesInput

SetAddIamRoles sets the AddIamRoles field's value.

SetClusterIdentifier

func (s *ModifyClusterIamRolesInput) SetClusterIdentifier(v string) *ModifyClusterIamRolesInput

SetClusterIdentifier sets the ClusterIdentifier field's value.

SetRemoveIamRoles

func (s *ModifyClusterIamRolesInput) SetRemoveIamRoles(v []*string) *ModifyClusterIamRolesInput

SetRemoveIamRoles sets the RemoveIamRoles field's value.

String

func (s ModifyClusterIamRolesInput) String() string

String returns the string representation

Validate

func (s *ModifyClusterIamRolesInput) Validate() error

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

On this page: