class Amazonite::CloudWatchLogs::AccountPolicy

Overview

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

Included Modules

Defined in:

cloudwatch_logs/account_policy.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(policy_name : String | Nil = nil, policy_document : String | Nil = nil, last_updated_time : Int64 | Nil = nil, policy_type : PolicyType | Nil = nil, scope : Scope | Nil = nil, selection_criteria : String | Nil = nil, account_id : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[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 account_id : String | Nil #

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


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

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


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def last_updated_time : Int64 | Nil #

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


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

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


[View source]
def policy_document : String | Nil #

The policy document for this account policy.

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


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

The policy document for this account policy.

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


[View source]
def policy_name : String | Nil #

The name of the account policy.


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

The name of the account policy.


[View source]
def policy_type : PolicyType | Nil #

The type of policy for this account policy.


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

The type of policy for this account policy.


[View source]
def scope : Scope | Nil #

The scope of the account policy.


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

The scope of the account policy.


[View source]
def selection_criteria : String | Nil #

The log group selection criteria that is used for this policy.


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

The log group selection criteria that is used for this policy.


[View source]
def validate! : Nil #

[View source]