Show / Hide Table of Contents

Class CfnEventSource.AwsServiceEventsConfigurationProperty

Forward a single AWS service's events from the account's default event bus.

Inheritance
object
CfnEventSource.AwsServiceEventsConfigurationProperty
Implements
CfnEventSource.IAwsServiceEventsConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EventsV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEventSource.AwsServiceEventsConfigurationProperty : CfnEventSource.IAwsServiceEventsConfigurationProperty
Syntax (vb)
Public Class CfnEventSource.AwsServiceEventsConfigurationProperty Implements CfnEventSource.IAwsServiceEventsConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventsv2-eventsource-awsserviceeventsconfiguration.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.EventsV2;

             var awsServiceEventsConfigurationProperty = new AwsServiceEventsConfigurationProperty {
                 AwsService = "awsService",

                 // the properties below are optional
                 OnFailureConfiguration = new OnFailureConfigurationProperty {
                     Arn = "arn"
                 },
                 Pattern = "pattern"
             };

Synopsis

Constructors

AwsServiceEventsConfigurationProperty()

Forward a single AWS service's events from the account's default event bus.

Properties

AwsService

A single AWS service source identifier, for example aws.s3. Wildcards and lists are not allowed.

OnFailureConfiguration

The destination for events that could not be forwarded by the managed forwarding target or, for partner event sources, the managed partner event bus.

Pattern

A filter pattern, as a JSON string, that defines which events from the specified AWS service are forwarded to the event bus.

Constructors

AwsServiceEventsConfigurationProperty()

Forward a single AWS service's events from the account's default event bus.

public AwsServiceEventsConfigurationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventsv2-eventsource-awsserviceeventsconfiguration.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.EventsV2;

             var awsServiceEventsConfigurationProperty = new AwsServiceEventsConfigurationProperty {
                 AwsService = "awsService",

                 // the properties below are optional
                 OnFailureConfiguration = new OnFailureConfigurationProperty {
                     Arn = "arn"
                 },
                 Pattern = "pattern"
             };

Properties

AwsService

A single AWS service source identifier, for example aws.s3. Wildcards and lists are not allowed.

public string AwsService { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventsv2-eventsource-awsserviceeventsconfiguration.html#cfn-eventsv2-eventsource-awsserviceeventsconfiguration-awsservice

OnFailureConfiguration

The destination for events that could not be forwarded by the managed forwarding target or, for partner event sources, the managed partner event bus.

public object? OnFailureConfiguration { get; set; }
Property Value

object

Remarks

Arn is optional. An empty object removes a configured destination on update.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventsv2-eventsource-awsserviceeventsconfiguration.html#cfn-eventsv2-eventsource-awsserviceeventsconfiguration-onfailureconfiguration

Type union: either IResolvable or CfnEventSource.IOnFailureConfigurationProperty

Pattern

A filter pattern, as a JSON string, that defines which events from the specified AWS service are forwarded to the event bus.

public string? Pattern { get; set; }
Property Value

string

Remarks

Do not include source, account, or region as top-level fields. If you do not specify a pattern, all events from the service are forwarded.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventsv2-eventsource-awsserviceeventsconfiguration.html#cfn-eventsv2-eventsource-awsserviceeventsconfiguration-pattern

Implements

CfnEventSource.IAwsServiceEventsConfigurationProperty
Back to top Generated by DocFX