CloudWatchEventEventProperty Struct
| Source | |
|---|---|
| Type last changed |
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 cloudWatchEventEventProperty: sam.CfnFunction.CloudWatchEventEventProperty = {
pattern: pattern,
// the properties below are optional
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
cloud_watch_event_event_property = sam.CfnFunction.CloudWatchEventEventProperty(
pattern=pattern,
# the properties below are optional
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;
CloudWatchEventEventProperty cloudWatchEventEventProperty = CloudWatchEventEventProperty.builder()
.pattern(pattern)
// the properties below are optional
.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 cloudWatchEventEventProperty = new CloudWatchEventEventProperty {
Pattern = pattern,
// the properties below are optional
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{}
cloudWatchEventEventProperty := &CloudWatchEventEventProperty{
Pattern: pattern,
// the properties below are optional
Input: jsii.String("input"),
InputPath: jsii.String("inputPath"),
}