Show / Hide Table of Contents

Interface CfnLifecyclePolicy.IEventSourceProperty

[Event-based policies only] Specifies an event that activates an event-based policy.

Namespace: Amazon.CDK.AWS.DLM
Assembly: Amazon.CDK.AWS.DLM.dll
Syntax (csharp)
public interface IEventSourceProperty
Syntax (vb)
Public Interface IEventSourceProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventsource.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.DLM;

var eventSourceProperty = new EventSourceProperty {
    Type = "type",

    // the properties below are optional
    Parameters = new EventParametersProperty {
        EventType = "eventType",
        SnapshotOwner = new [] { "snapshotOwner" },

        // the properties below are optional
        DescriptionRegex = "descriptionRegex"
    }
};

Synopsis

Properties

Parameters

Information about the event.

Type

The source of the event.

Properties

Parameters

Information about the event.

virtual object Parameters { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventsource.html#cfn-dlm-lifecyclepolicy-eventsource-parameters

Type

The source of the event.

string Type { get; }
Property Value

System.String

Remarks

Currently only managed CloudWatch Events rules are supported.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventsource.html#cfn-dlm-lifecyclepolicy-eventsource-type

Back to top Generated by DocFX