Skip to content

RoleConfiguration

Source code in docs_src/capo_amp/types/role_configuration.py
class RoleConfiguration(TypedDict, closed=True):
    source_role_arn: NotRequired["capo_amp.types.iam_role_arn.IamRoleArn"]
    """<p>The Amazon Resource Name (ARN) of the role used in the source account to enable cross-account scraping. For information about the contents of this policy, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#cross-account-remote-write">Cross-account setup</a>.</p>"""
    target_role_arn: NotRequired["capo_amp.types.iam_role_arn.IamRoleArn"]
    """<p>The Amazon Resource Name (ARN) of the role used in the target account to enable cross-account scraping. For information about the contents of this policy, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#cross-account-remote-write">Cross-account setup</a>.</p>"""

source_role_arn instance-attribute

source_role_arn: NotRequired[IamRoleArn]

The Amazon Resource Name (ARN) of the role used in the source account to enable cross-account scraping. For information about the contents of this policy, see Cross-account setup.

target_role_arn instance-attribute

target_role_arn: NotRequired[IamRoleArn]

The Amazon Resource Name (ARN) of the role used in the target account to enable cross-account scraping. For information about the contents of this policy, see Cross-account setup.