Interface IArchiveProps
The event archive properties.
Inherited Members
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
Remarks
ExampleMetadata: infused