ArchiveArgs

data class ArchiveArgs(val archiveName: Output<String>? = null, val description: Output<String>? = null, val eventPattern: Output<Any>? = null, val kmsKeyIdentifier: Output<String>? = null, val retentionDays: Output<Int>? = null, val sourceArn: Output<String>? = null) : ConvertibleToJava<ArchiveArgs>

Resource Type definition for AWS::Events::Archive

Constructors

Link copied to clipboard
constructor(archiveName: Output<String>? = null, description: Output<String>? = null, eventPattern: Output<Any>? = null, kmsKeyIdentifier: Output<String>? = null, retentionDays: Output<Int>? = null, sourceArn: Output<String>? = null)

Properties

Link copied to clipboard
val archiveName: Output<String>? = null

The name for the archive to create.

Link copied to clipboard
val description: Output<String>? = null

A description for the archive.

Link copied to clipboard
val eventPattern: Output<Any>? = null

An event pattern to use to filter events sent to the archive. Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.

Link copied to clipboard
val kmsKeyIdentifier: Output<String>? = null

The 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 Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt the archive. For more information, see Identify and view keys in the AWS Key Management Service Developer Guide .

Link copied to clipboard
val retentionDays: Output<Int>? = null

The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely

Link copied to clipboard
val sourceArn: Output<String>? = null

The ARN of the event bus that sends events to the archive.

Functions

Link copied to clipboard
open override fun toJava(): ArchiveArgs