Show / Hide Table of Contents

Interface IArchiveProps

The event archive properties.

Inherited Members
IBaseArchiveProps.EventPattern
IBaseArchiveProps.ArchiveName
IBaseArchiveProps.Description
IBaseArchiveProps.KmsKey
IBaseArchiveProps.Retention
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IArchiveProps : IBaseArchiveProps
Syntax (vb)
Public Interface IArchiveProps Inherits IBaseArchiveProps
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.KMS;
            using Amazon.CDK.AWS.Events;

            IKey kmsKey;


            var stack = new Stack();

            var eventBus = new EventBus(stack, "Bus");

            var archive = new Archive(stack, "Archive", new ArchiveProps {
                KmsKey = kmsKey,
                SourceEventBus = eventBus,
                EventPattern = new EventPattern {
                    Source = new [] { "aws.ec2" }
                }
            });

Synopsis

Properties

SourceEventBus

The event source associated with the archive.

Properties

SourceEventBus

The event source associated with the archive.

IEventBusRef SourceEventBus { get; }
Property Value

IEventBusRef

Remarks

ExampleMetadata: infused

Back to top Generated by DocFX