Class: Aws::ObservabilityAdmin::Types::TagPropagationConfiguration

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

Overview

Specifies configuration for propagating resource tags from source log groups to centralized destination log groups. The service uses a customer-managed IAM role in the destination account to add, update, and remove tags on destination log groups.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_role_arn ⇒ String

The ARN of a customer-managed IAM role in the destination account. The service assumes this role to propagate tags to destination log groups. You must have iam:PassRole permission on this role.

Returns:

  • (String)


2477
2478
2479
2480
2481
2482
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 2477

class TagPropagationConfiguration < Struct.new(
  :destination_role_arn,
  :tag_conflict_resolution_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#tag_conflict_resolution_strategy ⇒ String

The strategy for resolving conflicts when a tag key exists on both the source and destination log groups. If not specified, defaults to UPDATE_SYNC.

  • ADD_ONLY – Only adds new tags from the source without modifying existing destination tags.

  • UPDATE_SYNC – Adds new tags and updates existing tags from the source. Does not remove destination tags that are absent from the source.

  • IN_SYNC – Keeps destination tags fully synchronized with source tags, including removing destination tags that do not exist on the source.

Returns:

  • (String)


2477
2478
2479
2480
2481
2482
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 2477

class TagPropagationConfiguration < Struct.new(
  :destination_role_arn,
  :tag_conflict_resolution_strategy)
  SENSITIVE = []
  include Aws::Structure
end