Skip to content

CreateRoleAssociationRequest

Source code in docs_src/capo_redshift_serverless/types/create_role_association_request.py
class CreateRoleAssociationRequest(TypedDict, closed=True):
    target_arn: "capo_redshift_serverless.types.amazon_resource_name.AmazonResourceName"
    """<p>The Amazon Resource Name (ARN) of the default endpoint. Only <code>express-default</code> is supported, and it must be in the same Amazon Web Services account as the caller. The ARN format is <code>arn:aws-partition:redshift-serverless:region:account-id:workgroup/express/express-default</code>, for example <code>arn:aws:redshift-serverless:us-east-1:111122223333:workgroup/express/express-default</code>.</p>"""
    role_type: "capo_redshift_serverless.types.role_type_name.RoleTypeName"
    """<p>The case-sensitive system-defined role to associate the principal with. Valid values are <code>sys:superuser</code>, <code>sys:operator</code>, <code>sys:dba</code>, <code>sys:secadmin</code>, and <code>sys:monitor</code>. On the express configuration, <code>sys:operator</code>, <code>sys:dba</code>, and <code>sys:superuser</code> give the same permissions.</p>"""
    principal: "capo_redshift_serverless.types.principal_input.PrincipalInput"
    """<p>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.</p>"""

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.