Skip to content
v2.277.0

EventBridgeRuleEventProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';

declare const pattern: any;
const eventBridgeRuleEventProperty: sam.CfnStateMachine.EventBridgeRuleEventProperty = {
  pattern: pattern,

  // the properties below are optional
  eventBusName: 'eventBusName',
  input: 'input',
  inputPath: 'inputPath',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sam as sam

# pattern: Any

event_bridge_rule_event_property = sam.CfnStateMachine.EventBridgeRuleEventProperty(
    pattern=pattern,

    # the properties below are optional
    event_bus_name="eventBusName",
    input="input",
    input_path="inputPath"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sam.*;

Object pattern;

EventBridgeRuleEventProperty eventBridgeRuleEventProperty = EventBridgeRuleEventProperty.builder()
        .pattern(pattern)

        // the properties below are optional
        .eventBusName("eventBusName")
        .input("input")
        .inputPath("inputPath")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SAM;

var pattern;

var eventBridgeRuleEventProperty = new EventBridgeRuleEventProperty {
    Pattern = pattern,

    // the properties below are optional
    EventBusName = "eventBusName",
    Input = "input",
    InputPath = "inputPath"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var pattern interface{}

eventBridgeRuleEventProperty := &EventBridgeRuleEventProperty{
	Pattern: pattern,

	// the properties below are optional
	EventBusName: jsii.String("eventBusName"),
	Input: jsii.String("input"),
	InputPath: jsii.String("inputPath"),
}

Properties ​

eventBusNameoptionalstringevent_bus_nameoptionalstreventBusNameoptionalStringEventBusNameoptionalstringEventBusNameoptional*string#
inputoptionalstringinputoptionalstrinputoptionalStringInputoptionalstringInputoptional*string#
inputPathoptionalstringinput_pathoptionalstrinputPathoptionalStringInputPathoptionalstringInputPathoptional*string#
patternanypatternAnypatternObjectPatternobjectPatterninterface{}required#