Class: Aws::CloudWatchLogs::Types::IndexPolicy

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatchlogs/types.rb

Overview

This structure contains information about one field index policy in this account.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#last_update_timeInteger

The date and time that this index policy was most recently updated.

Returns:

  • (Integer)


3435
3436
3437
3438
3439
3440
3441
3442
3443
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3435

class IndexPolicy < Struct.new(
  :log_group_identifier,
  :last_update_time,
  :policy_document,
  :policy_name,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#log_group_identifierString

The ARN of the log group that this index policy applies to.

Returns:

  • (String)


3435
3436
3437
3438
3439
3440
3441
3442
3443
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3435

class IndexPolicy < Struct.new(
  :log_group_identifier,
  :last_update_time,
  :policy_document,
  :policy_name,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#policy_documentString

The policy document for this index policy, in JSON format.

Returns:

  • (String)


3435
3436
3437
3438
3439
3440
3441
3442
3443
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3435

class IndexPolicy < Struct.new(
  :log_group_identifier,
  :last_update_time,
  :policy_document,
  :policy_name,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The name of this policy. Responses about log group-level field index policies don’t have this field, because those policies don’t have names.

Returns:

  • (String)


3435
3436
3437
3438
3439
3440
3441
3442
3443
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3435

class IndexPolicy < Struct.new(
  :log_group_identifier,
  :last_update_time,
  :policy_document,
  :policy_name,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.

Returns:

  • (String)


3435
3436
3437
3438
3439
3440
3441
3442
3443
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3435

class IndexPolicy < Struct.new(
  :log_group_identifier,
  :last_update_time,
  :policy_document,
  :policy_name,
  :source)
  SENSITIVE = []
  include Aws::Structure
end