Interface ICfnArchiveProps
Properties for defining a CfnArchive
.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.AWS.Events.dll
Syntax (csharp)
public interface ICfnArchiveProps
Syntax (vb)
Public Interface ICfnArchiveProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;
var eventPattern;
var cfnArchiveProps = new CfnArchiveProps {
SourceArn = "sourceArn",
// the properties below are optional
ArchiveName = "archiveName",
Description = "description",
EventPattern = eventPattern,
RetentionDays = 123
};
Synopsis
Properties
ArchiveName | The name for the archive to create. |
Description | A description for the archive. |
EventPattern | An event pattern to use to filter events sent to the archive. |
RetentionDays | The number of days to retain events for. |
SourceArn | The ARN of the event bus that sends events to the archive. |
Properties
ArchiveName
The name for the archive to create.
virtual string ArchiveName { get; }
Property Value
System.String
Remarks
Description
A description for the archive.
virtual string Description { get; }
Property Value
System.String
Remarks
EventPattern
An event pattern to use to filter events sent to the archive.
virtual object EventPattern { get; }
Property Value
System.Object
Remarks
RetentionDays
The number of days to retain events for.
virtual Nullable<double> RetentionDays { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default value is 0. If set to 0, events are retained indefinitely
SourceArn
The ARN of the event bus that sends events to the archive.
string SourceArn { get; }
Property Value
System.String