class
Amazonite::EventBridge::UpdateArchiveRequest
- Amazonite::EventBridge::UpdateArchiveRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
eventbridge/update_archive_request.crConstructors
- .new(pull : JSON::PullParser)
- .new(archive_name : String, description : String | Nil = nil, event_pattern : String | Nil = nil, retention_days : Int32 | Nil = nil, kms_key_identifier : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#archive_name : String
The name of the archive to update.
-
#archive_name=(archive_name : String)
The name of the archive to update.
-
#description : String | Nil
The description for the archive.
-
#description=(description : String | Nil)
The description for the archive.
-
#event_pattern : String | Nil
The event pattern to use to filter events sent to the archive.
-
#event_pattern=(event_pattern : String | Nil)
The event pattern to use to filter events sent to the archive.
-
#hash(hasher)
See
Object#hash(hasher) -
#kms_key_identifier : String | Nil
The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this archive.
-
#kms_key_identifier=(kms_key_identifier : String | Nil)
The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this archive.
-
#retention_days : Int32 | Nil
The number of days to retain events in the archive.
-
#retention_days=(retention_days : Int32 | Nil)
The number of days to retain events in the archive.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The event pattern to use to filter events sent to the archive.
The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this archive. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt the archive.
For more information, see Identify and view keys in the Key Management Service Developer Guide.
If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well.
For more information, see Encrypting archives in the Amazon EventBridge User Guide.
The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this archive. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt the archive.
For more information, see Identify and view keys in the Key Management Service Developer Guide.
If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well.
For more information, see Encrypting archives in the Amazon EventBridge User Guide.
The number of days to retain events in the archive.