EventArchiveState constructor
Creates a new EventArchiveState.
arn ARN of the archive.
description Description for the archive.
eventPattern Event pattern to use to filter events sent to the archive. By default, it attempts to archive every event received in the eventSourceArn.
eventSourceArn ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.
kmsKeyIdentifier Identifier of the AWS 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 ARN, KeyId, key alias, or key alias ARN.
name Name of the archive. The archive name cannot exceed 48 characters.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
retentionDays The maximum number of days to retain events in the new event archive. By default, it archives indefinitely.
Implementation
const EventArchiveState({
this.arn,
this.description,
this.eventPattern,
this.eventSourceArn,
this.kmsKeyIdentifier,
this.name,
this.region,
this.retentionDays,
});