Skip to content

IamRoleAccess

Source code in docs_src/capo_context/types/iam_role_access.py
class IamRoleAccess(TypedDict, closed=True):
    role_arn: "capo_context.types.role_arn.RoleArn"
    """<p>The IAM role that AWS Context assumes to read this connection's data source. The role must be in your account. AWS Context rejects a role in another account. It has the same format as <code>ingestionConfig.roleArn</code>. You must have <code>iam:PassRole</code> permission on the role to pass it to AWS Context. Otherwise, CreateConnection and UpdateConnection fail with <code>AccessDeniedException</code>.</p>"""

role_arn instance-attribute

role_arn: RoleArn

The IAM role that AWS Context assumes to read this connection's data source. The role must be in your account. AWS Context rejects a role in another account. It has the same format as ingestionConfig.roleArn. You must have iam:PassRole permission on the role to pass it to AWS Context. Otherwise, CreateConnection and UpdateConnection fail with AccessDeniedException.