You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Redshift::Types::ModifyClusterIamRolesMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb

Overview

Note:

When making an API call, you may pass ModifyClusterIamRolesMessage data as a hash:

{
  cluster_identifier: "String", # required
  add_iam_roles: ["String"],
  remove_iam_roles: ["String"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#add_iam_rolesArray<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.

Returns:

  • (Array<String>)


4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4400

class ModifyClusterIamRolesMessage < Struct.new(
  :cluster_identifier,
  :add_iam_roles,
  :remove_iam_roles)
  include Aws::Structure
end

#cluster_identifierString

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

Returns:

  • (String)


4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4400

class ModifyClusterIamRolesMessage < Struct.new(
  :cluster_identifier,
  :add_iam_roles,
  :remove_iam_roles)
  include Aws::Structure
end

#remove_iam_rolesArray<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.

Returns:

  • (Array<String>)


4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4400

class ModifyClusterIamRolesMessage < Struct.new(
  :cluster_identifier,
  :add_iam_roles,
  :remove_iam_roles)
  include Aws::Structure
end