class
Amazonite::EventBridge::CreateArchiveRequest
- Amazonite::EventBridge::CreateArchiveRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
eventbridge/create_archive_request.crConstructors
- .new(archive_name : String, event_source_arn : String, description : String | Nil = nil, event_pattern : String | Nil = nil, retention_days : Int32 | Nil = nil, kms_key_identifier : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#archive_name : String
The name for the archive to create.
-
#archive_name=(archive_name : String)
The name for the archive to create.
-
#description : String | Nil
A description for the archive.
-
#description=(description : String | Nil)
A description for the archive.
-
#event_pattern : String | Nil
An event pattern to use to filter events sent to the archive.
-
#event_pattern=(event_pattern : String | Nil)
An event pattern to use to filter events sent to the archive.
-
#event_source_arn : String
The ARN of the event bus that sends events to the archive.
-
#event_source_arn=(event_source_arn : String)
The ARN of the event bus that sends events 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 for.
-
#retention_days=(retention_days : Int32 | Nil)
The number of days to retain events for.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
An event pattern to use to filter events sent to the archive.
The ARN of the event bus that sends events 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 for. Default value is 0. If set to 0, events are retained indefinitely
The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely