Class CfnEventSubscriptionPropsMixin
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Redshift
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnEventSubscriptionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnEventSubscriptionPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::Redshift::EventSubscription
Mixin: true
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.CfnPropertyMixins.AWS.Redshift;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnEventSubscriptionPropsMixin = new CfnEventSubscriptionPropsMixin(new CfnEventSubscriptionMixinProps {
Enabled = false,
EventCategories = new [] { "eventCategories" },
Severity = "severity",
SnsTopicArn = "snsTopicArn",
SourceIds = new [] { "sourceIds" },
SourceType = "sourceType",
SubscriptionName = "subscriptionName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnEventSubscriptionPropsMixin(ICfnEventSubscriptionMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | |
| Props | |
| Strategy |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnEventSubscriptionPropsMixin(ICfnEventSubscriptionMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Redshift::EventSubscription.
public CfnEventSubscriptionPropsMixin(ICfnEventSubscriptionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnEventSubscriptionMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::Redshift::EventSubscription
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::Redshift::EventSubscription
Mixin: true
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.CfnPropertyMixins.AWS.Redshift;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnEventSubscriptionPropsMixin = new CfnEventSubscriptionPropsMixin(new CfnEventSubscriptionMixinProps {
Enabled = false,
EventCategories = new [] { "eventCategories" },
Severity = "severity",
SnsTopicArn = "snsTopicArn",
SourceIds = new [] { "sourceIds" },
SourceType = "sourceType",
SubscriptionName = "subscriptionName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
protected virtual ICfnEventSubscriptionMixinProps Props { get; }
Property Value
ICfnEventSubscriptionMixinProps
Remarks
CloudformationResource: AWS::Redshift::EventSubscription
Mixin: true
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.CfnPropertyMixins.AWS.Redshift;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnEventSubscriptionPropsMixin = new CfnEventSubscriptionPropsMixin(new CfnEventSubscriptionMixinProps {
Enabled = false,
EventCategories = new [] { "eventCategories" },
Severity = "severity",
SnsTopicArn = "snsTopicArn",
SourceIds = new [] { "sourceIds" },
SourceType = "sourceType",
SubscriptionName = "subscriptionName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::Redshift::EventSubscription
Mixin: true
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.CfnPropertyMixins.AWS.Redshift;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnEventSubscriptionPropsMixin = new CfnEventSubscriptionPropsMixin(new CfnEventSubscriptionMixinProps {
Enabled = false,
EventCategories = new [] { "eventCategories" },
Severity = "severity",
SnsTopicArn = "snsTopicArn",
SourceIds = new [] { "sourceIds" },
SourceType = "sourceType",
SubscriptionName = "subscriptionName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
CloudformationResource: AWS::Redshift::EventSubscription
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::Redshift::EventSubscription
Mixin: true
ExampleMetadata: fixture=_generated