Interface CostTrackingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CostTrackingConfiguration.Builder,,CostTrackingConfiguration> SdkBuilder<CostTrackingConfiguration.Builder,,CostTrackingConfiguration> SdkPojo
- Enclosing class:
CostTrackingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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.
-