Interface CostTrackingConfiguration.Builder

  • Method Details

    • roleArn

      The ARN of an IAM role that AWS App Monetization assumes in your account to create and manage the AWS Data Exports export for this app. The role must be in your account and partition, and its name (after any path) must start with AppMonetizationCostTracking. You need iam:PassRole on it. Its trust policy must allow appmonetization.amazonaws.com to assume it, with conditions that pin aws:SourceAccount to your account ID and aws:SourceArn to your account's apps (arn:aws:appmonetization:::apps/*). The setup runs in the background after the call returns, and cost data starts arriving within 24-48 hours. Calling UpdateApp with a role again re-runs the setup. A CreateApp retry with the same clientToken must carry the same role: a different role, or a role added or dropped, fails with IdempotencyConflictException.

      Parameters:
      roleArn - The ARN of an IAM role that AWS App Monetization assumes in your account to create and manage the AWS Data Exports export for this app. The role must be in your account and partition, and its name (after any path) must start with AppMonetizationCostTracking. You need iam:PassRole on it. Its trust policy must allow appmonetization.amazonaws.com to assume it, with conditions that pin aws:SourceAccount to your account ID and aws:SourceArn to your account's apps (arn:aws:appmonetization:::apps/*). The setup runs in the background after the call returns, and cost data starts arriving within 24-48 hours. Calling UpdateApp with a role again re-runs the setup. A CreateApp retry with the same clientToken must carry the same role: a different role, or a role added or dropped, fails with IdempotencyConflictException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.