Skip to content

SourceAwsConfiguration

Source code in docs_src/capo_devops_agent/types/source_aws_configuration.py
class SourceAwsConfiguration(TypedDict, closed=True):
    account_id: "str"
    """<p>AWS Account Id corresponding to provided resources.</p>"""
    account_type: "capo_devops_agent.types.source_account_type.SourceAccountType"
    """<p>Account Type 'source' for AIDevOps monitoring.</p>"""
    assumable_role_arn: "capo_devops_agent.types.role_arn.RoleArn"
    """<p>Role ARN to be assumed by AIDevOps to operate on behalf of customer. To set this role ARN on AssociateService or UpdateAssociation, the caller must have at least the iam:PassRole permission on arn:aws:iam::&lt;account-id&gt;:role/* in the caller's own account, with the condition iam:PassedToService set to aidevops.amazonaws.com. A broader iam:PassRole grant also satisfies this requirement.</p>"""
    external_id: NotRequired["str"]
    """<p>External ID for additional security when assuming the role. Used to prevent the confused deputy problem.</p>"""
    agent_elevated_role_arn: NotRequired["capo_devops_agent.types.role_arn.RoleArn"]
    """<p>Optional IAM role ARN to be assumed by AIDevOps for elevated directed actions on behalf of the customer. Used for mutating operations gated by elevatedActionsEnabled on the AgentSpace. When not provided, only non-elevated directed actions are available for this AWS account. Setting this role is subject to the same minimum iam:PassRole requirement described on assumableRoleArn.</p>"""
    agent_elevated_role_arn_status: NotRequired[
        "capo_devops_agent.types.validation_status.ValidationStatus"
    ]
    """<p>Validation status of the agentElevatedRoleArn. Updated asynchronously after the customer registers an elevated role. Possible values: PENDING_CONFIRMATION (validation in progress), VALID (role validated), INVALID (validation failed).</p>"""

account_id instance-attribute

account_id: str

AWS Account Id corresponding to provided resources.

account_type instance-attribute

account_type: SourceAccountType

Account Type 'source' for AIDevOps monitoring.

agent_elevated_role_arn instance-attribute

agent_elevated_role_arn: NotRequired[RoleArn]

Optional IAM role ARN to be assumed by AIDevOps for elevated directed actions on behalf of the customer. Used for mutating operations gated by elevatedActionsEnabled on the AgentSpace. When not provided, only non-elevated directed actions are available for this AWS account. Setting this role is subject to the same minimum iam:PassRole requirement described on assumableRoleArn.

agent_elevated_role_arn_status instance-attribute

agent_elevated_role_arn_status: NotRequired[ValidationStatus]

Validation status of the agentElevatedRoleArn. Updated asynchronously after the customer registers an elevated role. Possible values: PENDING_CONFIRMATION (validation in progress), VALID (role validated), INVALID (validation failed).

assumable_role_arn instance-attribute

assumable_role_arn: RoleArn

Role ARN to be assumed by AIDevOps to operate on behalf of customer. To set this role ARN on AssociateService or UpdateAssociation, the caller must have at least the iam:PassRole permission on arn:aws:iam::<account-id>:role/* in the caller's own account, with the condition iam:PassedToService set to aidevops.amazonaws.com. A broader iam:PassRole grant also satisfies this requirement.

external_id instance-attribute

external_id: NotRequired[str]

External ID for additional security when assuming the role. Used to prevent the confused deputy problem.