Interface RoleConfiguration.Builder

  • Method Details

    • sourceRoleArn

      RoleConfiguration.Builder sourceRoleArn(String sourceRoleArn)

      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.

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

      RoleConfiguration.Builder targetRoleArn(String targetRoleArn)

      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.

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