CfnTriggerProps Struct
Properties for defining a CfnTrigger.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
declare const action: any;
const cfnTriggerProps: devopsagent.CfnTriggerProps = {
action: action,
agentSpaceId: 'agentSpaceId',
condition: {
schedule: {
expression: 'expression',
},
},
type: 'type',
// the properties below are optional
status: 'status',
};
Properties
The action to perform when the trigger fires.
A JSON object containing actionType and task.
The unique identifier of the parent Agent Space.
conditionIResolvable | CfnTrigger.ConditionPropertyconditiontyping.Union[IResolvable, ConditionProperty]conditionIResolvableConditionIResolvableConditioninterface{}required#The condition that causes the trigger to fire.
The status of the trigger.
Active triggers fire on schedule; Inactive triggers are paused.
The type of trigger.