Class CfnSubscriberPropsMixin
Resource type definition for AWS::EventsV2::Subscriber, an Amazon EventBridge subscription that delivers events from an event bus to a target.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EventsV2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnSubscriberPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnSubscriberPropsMixin Inherits Mixin Implements IMixin
Remarks
Canonical identity is the combination of bus, name, and target. Replacement uses delete_then_create.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventsv2-subscriber.html
CloudformationResource: AWS::EventsV2::Subscriber
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.EventsV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSubscriberPropsMixin = new CfnSubscriberPropsMixin(new CfnSubscriberMixinProps {
BatchConfiguration = new BatchConfigurationProperty {
MaxBatchSize = 123,
MaxBatchWindowInSeconds = 123
},
Description = "description",
EventBusArn = "eventBusArn",
FilterConfiguration = new FilterConfigurationProperty {
Filters = new [] { new FilterProperty {
Pattern = "pattern",
Scope = "scope"
} },
Language = "language"
},
LogConfiguration = new LogConfigurationProperty {
IncludePayload = "includePayload",
Level = "level"
},
Name = "name",
OnFailureConfiguration = new OnFailureConfigurationProperty {
Arn = "arn"
},
PointInTimeConfiguration = new PointInTimeConfigurationProperty {
EndPoint = 123,
PointType = "pointType",
StartingPoint = 123
},
ResumePosition = "resumePosition",
RetryPolicy = new RetryPolicyProperty {
MaxEventAgeInSeconds = 123,
MaxRetryAttempts = 123,
RetryStrategy = "retryStrategy"
},
StartingPosition = "startingPosition",
State = "state",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Transformer = new TransformerProperty {
JsonataConfiguration = new JsonataConfigurationProperty {
Expression = "expression"
},
Type = "type"
},
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnSubscriberPropsMixin(ICfnSubscriberMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Resource type definition for AWS::EventsV2::Subscriber, an Amazon EventBridge subscription that delivers events from an event bus to a target. |
| Props | Resource type definition for AWS::EventsV2::Subscriber, an Amazon EventBridge subscription that delivers events from an event bus to a target. |
| Strategy | Resource type definition for AWS::EventsV2::Subscriber, an Amazon EventBridge subscription that delivers events from an event bus to a target. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnSubscriberPropsMixin(ICfnSubscriberMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::EventsV2::Subscriber.
public CfnSubscriberPropsMixin(ICfnSubscriberMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnSubscriberMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
Canonical identity is the combination of bus, name, and target. Replacement uses delete_then_create.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventsv2-subscriber.html
CloudformationResource: AWS::EventsV2::Subscriber
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Resource type definition for AWS::EventsV2::Subscriber, an Amazon EventBridge subscription that delivers events from an event bus to a target.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
Canonical identity is the combination of bus, name, and target. Replacement uses delete_then_create.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventsv2-subscriber.html
CloudformationResource: AWS::EventsV2::Subscriber
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.EventsV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSubscriberPropsMixin = new CfnSubscriberPropsMixin(new CfnSubscriberMixinProps {
BatchConfiguration = new BatchConfigurationProperty {
MaxBatchSize = 123,
MaxBatchWindowInSeconds = 123
},
Description = "description",
EventBusArn = "eventBusArn",
FilterConfiguration = new FilterConfigurationProperty {
Filters = new [] { new FilterProperty {
Pattern = "pattern",
Scope = "scope"
} },
Language = "language"
},
LogConfiguration = new LogConfigurationProperty {
IncludePayload = "includePayload",
Level = "level"
},
Name = "name",
OnFailureConfiguration = new OnFailureConfigurationProperty {
Arn = "arn"
},
PointInTimeConfiguration = new PointInTimeConfigurationProperty {
EndPoint = 123,
PointType = "pointType",
StartingPoint = 123
},
ResumePosition = "resumePosition",
RetryPolicy = new RetryPolicyProperty {
MaxEventAgeInSeconds = 123,
MaxRetryAttempts = 123,
RetryStrategy = "retryStrategy"
},
StartingPosition = "startingPosition",
State = "state",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Transformer = new TransformerProperty {
JsonataConfiguration = new JsonataConfigurationProperty {
Expression = "expression"
},
Type = "type"
},
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Resource type definition for AWS::EventsV2::Subscriber, an Amazon EventBridge subscription that delivers events from an event bus to a target.
protected virtual ICfnSubscriberMixinProps Props { get; }
Property Value
Remarks
Canonical identity is the combination of bus, name, and target. Replacement uses delete_then_create.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventsv2-subscriber.html
CloudformationResource: AWS::EventsV2::Subscriber
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.EventsV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSubscriberPropsMixin = new CfnSubscriberPropsMixin(new CfnSubscriberMixinProps {
BatchConfiguration = new BatchConfigurationProperty {
MaxBatchSize = 123,
MaxBatchWindowInSeconds = 123
},
Description = "description",
EventBusArn = "eventBusArn",
FilterConfiguration = new FilterConfigurationProperty {
Filters = new [] { new FilterProperty {
Pattern = "pattern",
Scope = "scope"
} },
Language = "language"
},
LogConfiguration = new LogConfigurationProperty {
IncludePayload = "includePayload",
Level = "level"
},
Name = "name",
OnFailureConfiguration = new OnFailureConfigurationProperty {
Arn = "arn"
},
PointInTimeConfiguration = new PointInTimeConfigurationProperty {
EndPoint = 123,
PointType = "pointType",
StartingPoint = 123
},
ResumePosition = "resumePosition",
RetryPolicy = new RetryPolicyProperty {
MaxEventAgeInSeconds = 123,
MaxRetryAttempts = 123,
RetryStrategy = "retryStrategy"
},
StartingPosition = "startingPosition",
State = "state",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Transformer = new TransformerProperty {
JsonataConfiguration = new JsonataConfigurationProperty {
Expression = "expression"
},
Type = "type"
},
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Resource type definition for AWS::EventsV2::Subscriber, an Amazon EventBridge subscription that delivers events from an event bus to a target.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
Canonical identity is the combination of bus, name, and target. Replacement uses delete_then_create.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventsv2-subscriber.html
CloudformationResource: AWS::EventsV2::Subscriber
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.EventsV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSubscriberPropsMixin = new CfnSubscriberPropsMixin(new CfnSubscriberMixinProps {
BatchConfiguration = new BatchConfigurationProperty {
MaxBatchSize = 123,
MaxBatchWindowInSeconds = 123
},
Description = "description",
EventBusArn = "eventBusArn",
FilterConfiguration = new FilterConfigurationProperty {
Filters = new [] { new FilterProperty {
Pattern = "pattern",
Scope = "scope"
} },
Language = "language"
},
LogConfiguration = new LogConfigurationProperty {
IncludePayload = "includePayload",
Level = "level"
},
Name = "name",
OnFailureConfiguration = new OnFailureConfigurationProperty {
Arn = "arn"
},
PointInTimeConfiguration = new PointInTimeConfigurationProperty {
EndPoint = 123,
PointType = "pointType",
StartingPoint = 123
},
ResumePosition = "resumePosition",
RetryPolicy = new RetryPolicyProperty {
MaxEventAgeInSeconds = 123,
MaxRetryAttempts = 123,
RetryStrategy = "retryStrategy"
},
StartingPosition = "startingPosition",
State = "state",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Transformer = new TransformerProperty {
JsonataConfiguration = new JsonataConfigurationProperty {
Expression = "expression"
},
Type = "type"
},
Type = "type"
}, 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
Canonical identity is the combination of bus, name, and target. Replacement uses delete_then_create.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventsv2-subscriber.html
CloudformationResource: AWS::EventsV2::Subscriber
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
Canonical identity is the combination of bus, name, and target. Replacement uses delete_then_create.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventsv2-subscriber.html
CloudformationResource: AWS::EventsV2::Subscriber
Mixin: true
ExampleMetadata: fixture=_generated