class
Amazonite::CloudWatchLogs::PutLogGroupDeletionProtectionRequest
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/put_log_group_deletion_protection_request.crConstructors
- .new(log_group_identifier : String, deletion_protection_enabled : Bool)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#deletion_protection_enabled : Bool
Whether to enable deletion protection.
-
#deletion_protection_enabled=(deletion_protection_enabled : Bool)
Whether to enable deletion protection.
-
#hash(hasher)
See
Object#hash(hasher) -
#log_group_identifier : String
The name or ARN of the log group.
-
#log_group_identifier=(log_group_identifier : String)
The name or ARN of the log group.
- #validate! : Nil
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def deletion_protection_enabled : Bool
#
Whether to enable deletion protection.
Type: Boolean
Required: Yes
def deletion_protection_enabled=(deletion_protection_enabled : Bool)
#
Whether to enable deletion protection.
Type: Boolean
Required: Yes
def log_group_identifier : String
#
The name or ARN of the log group.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 512.
Pattern: [\.\-_/#A-Za-z0-9]+
Required: Yes
def log_group_identifier=(log_group_identifier : String)
#
The name or ARN of the log group.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 512.
Pattern: [\.\-_/#A-Za-z0-9]+
Required: Yes