class Amazonite::CloudWatchLogs::IndexPolicy

Overview

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

Included Modules

Defined in:

cloudwatch_logs/index_policy.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(log_group_identifier : String | Nil = nil, last_update_time : Int64 | Nil = nil, policy_document : String | Nil = nil, policy_name : String | Nil = nil, source : IndexSource | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def last_update_time : Int64 | Nil #

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


[View source]
def last_update_time=(last_update_time : Int64 | Nil) #

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


[View source]
def log_group_identifier : String | Nil #

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


[View source]
def log_group_identifier=(log_group_identifier : String | Nil) #

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


[View source]
def policy_document : String | Nil #

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


[View source]
def policy_document=(policy_document : String | Nil) #

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


[View source]
def policy_name : String | Nil #

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.


[View source]
def policy_name=(policy_name : String | Nil) #

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.


[View source]
def source : IndexSource | Nil #

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


[View source]
def source=(source : IndexSource | Nil) #

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


[View source]
def validate! : Nil #

[View source]