CreateRoleAssociationRequest
¶
Source code in docs_src/capo_redshift_serverless/types/create_role_association_request.py
principal
instance-attribute
¶
principal: 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.
role_type
instance-attribute
¶
role_type: RoleTypeName
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.
target_arn
instance-attribute
¶
target_arn: AmazonResourceName
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.