Class: Aws::AppMonetization::Types::CostTrackingConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb

Overview

Cost-tracking configuration sent on CreateApp or UpdateApp.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#role_arn ⇒ String

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:

  • (String)


973
974
975
976
977
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 973

class CostTrackingConfiguration < Struct.new(
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end