Interface SourceAwsConfiguration.Builder

  • Method Details

    • accountId

      SourceAwsConfiguration.Builder accountId(String accountId)

      AWS Account Id corresponding to provided resources.

      Parameters:
      accountId - AWS Account Id corresponding to provided resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountType

      SourceAwsConfiguration.Builder accountType(String accountType)

      Account Type 'source' for AIDevOps monitoring.

      Parameters:
      accountType - Account Type 'source' for AIDevOps monitoring.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accountType

      Account Type 'source' for AIDevOps monitoring.

      Parameters:
      accountType - Account Type 'source' for AIDevOps monitoring.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • assumableRoleArn

      SourceAwsConfiguration.Builder assumableRoleArn(String assumableRoleArn)

      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.

      Parameters:
      assumableRoleArn - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalId

      SourceAwsConfiguration.Builder externalId(String externalId)

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

      Parameters:
      externalId - External ID for additional security when assuming the role. Used to prevent the confused deputy problem.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentElevatedRoleArn

      SourceAwsConfiguration.Builder agentElevatedRoleArn(String agentElevatedRoleArn)

      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.

      Parameters:
      agentElevatedRoleArn - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentElevatedRoleArnStatus

      SourceAwsConfiguration.Builder agentElevatedRoleArnStatus(String agentElevatedRoleArnStatus)

      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).

      Parameters:
      agentElevatedRoleArnStatus - 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).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • agentElevatedRoleArnStatus

      SourceAwsConfiguration.Builder agentElevatedRoleArnStatus(ValidationStatus agentElevatedRoleArnStatus)

      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).

      Parameters:
      agentElevatedRoleArnStatus - 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).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: