Class: Aws::RedshiftServerless::Types::CreateRoleAssociationRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#principal ⇒ Types::PrincipalInput

The IAM role or IAM user to associate with the role type, specified by its ARN. The principal must exist and must be in the same Amazon Web Services account as the caller.



419
420
421
422
423
424
425
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 419

class CreateRoleAssociationRequest < Struct.new(
  :target_arn,
  :role_type,
  :principal)
  SENSITIVE = []
  include Aws::Structure
end

#role_type ⇒ String

The case-sensitive system-defined role to associate the principal with. Valid values are sys:superuser, sys:operator, sys:dba, sys:secadmin, and sys:monitor. On the express configuration, sys:operator, sys:dba, and sys:superuser give the same permissions.

Returns:

  • (String)


419
420
421
422
423
424
425
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 419

class CreateRoleAssociationRequest < Struct.new(
  :target_arn,
  :role_type,
  :principal)
  SENSITIVE = []
  include Aws::Structure
end

#target_arn ⇒ String

The Amazon Resource Name (ARN) of the default endpoint. Only express-default is supported, and it must be in the same Amazon Web Services account as the caller. The ARN format is arn:aws-partition:redshift-serverless:region:account-id:workgroup/express/express-default, for example arn:aws:redshift-serverless:us-east-1:111122223333:workgroup/express/express-default.

Returns:

  • (String)


419
420
421
422
423
424
425
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 419

class CreateRoleAssociationRequest < Struct.new(
  :target_arn,
  :role_type,
  :principal)
  SENSITIVE = []
  include Aws::Structure
end