Class: Aws::CloudWatchLogs::Types::AccountPolicy

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

Overview

A structure that contains information about one CloudWatch Logs account policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The Amazon Web Services account ID that the policy applies to.

Returns:

  • (String)


56
57
58
59
60
61
62
63
64
65
66
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 56

class AccountPolicy < Struct.new(
  :policy_name,
  :policy_document,
  :last_updated_time,
  :policy_type,
  :scope,
  :selection_criteria,
  :account_id)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_timeInteger

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

Returns:

  • (Integer)


56
57
58
59
60
61
62
63
64
65
66
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 56

class AccountPolicy < Struct.new(
  :policy_name,
  :policy_document,
  :last_updated_time,
  :policy_type,
  :scope,
  :selection_criteria,
  :account_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_documentString

The policy document for this account policy.

The JSON specified in ‘policyDocument` can be up to 30,720 characters.

Returns:

  • (String)


56
57
58
59
60
61
62
63
64
65
66
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 56

class AccountPolicy < Struct.new(
  :policy_name,
  :policy_document,
  :last_updated_time,
  :policy_type,
  :scope,
  :selection_criteria,
  :account_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The name of the account policy.

Returns:

  • (String)


56
57
58
59
60
61
62
63
64
65
66
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 56

class AccountPolicy < Struct.new(
  :policy_name,
  :policy_document,
  :last_updated_time,
  :policy_type,
  :scope,
  :selection_criteria,
  :account_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_typeString

The type of policy for this account policy.

Returns:

  • (String)


56
57
58
59
60
61
62
63
64
65
66
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 56

class AccountPolicy < Struct.new(
  :policy_name,
  :policy_document,
  :last_updated_time,
  :policy_type,
  :scope,
  :selection_criteria,
  :account_id)
  SENSITIVE = []
  include Aws::Structure
end

#scopeString

The scope of the account policy.

Returns:

  • (String)


56
57
58
59
60
61
62
63
64
65
66
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 56

class AccountPolicy < Struct.new(
  :policy_name,
  :policy_document,
  :last_updated_time,
  :policy_type,
  :scope,
  :selection_criteria,
  :account_id)
  SENSITIVE = []
  include Aws::Structure
end

#selection_criteriaString

The log group selection criteria for this subscription filter policy.

Returns:

  • (String)


56
57
58
59
60
61
62
63
64
65
66
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 56

class AccountPolicy < Struct.new(
  :policy_name,
  :policy_document,
  :last_updated_time,
  :policy_type,
  :scope,
  :selection_criteria,
  :account_id)
  SENSITIVE = []
  include Aws::Structure
end