ScheduleEventProperty 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';
const scheduleEventProperty: sam.CfnFunction.ScheduleEventProperty = {
schedule: 'schedule',
// the properties below are optional
description: 'description',
enabled: false,
input: 'input',
name: 'name',
};
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
schedule_event_property = sam.CfnFunction.ScheduleEventProperty(
schedule="schedule",
# the properties below are optional
description="description",
enabled=False,
input="input",
name="name"
)
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.*;
ScheduleEventProperty scheduleEventProperty = ScheduleEventProperty.builder()
.schedule("schedule")
// the properties below are optional
.description("description")
.enabled(false)
.input("input")
.name("name")
.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 scheduleEventProperty = new ScheduleEventProperty {
Schedule = "schedule",
// the properties below are optional
Description = "description",
Enabled = false,
Input = "input",
Name = "name"
};
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"
scheduleEventProperty := &ScheduleEventProperty{
Schedule: jsii.String("schedule"),
// the properties below are optional
Description: jsii.String("description"),
Enabled: jsii.Boolean(false),
Input: jsii.String("input"),
Name: jsii.String("name"),
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #enabledoptionalboolean | IResolvableenabledoptionaltyping.Union[bool, IResolvable]enabledoptionalBooleanEnabledoptionalboolEnabledoptionalinterface{} #