Interface CfnTriggerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTriggerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:07.618Z")
@Stability(Stable)
public interface CfnTriggerProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTrigger.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsagent.*;
Object action;
CfnTriggerProps cfnTriggerProps = CfnTriggerProps.builder()
.action(action)
.agentSpaceId("agentSpaceId")
.condition(ConditionProperty.builder()
.schedule(ScheduleProperty.builder()
.expression("expression")
.build())
.build())
.type("type")
// the properties below are optional
.status("status")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTriggerPropsstatic final classAn implementation forCfnTriggerProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTriggerProps.Builderbuilder()The action to perform when the trigger fires.The unique identifier of the parent Agent Space.The condition that causes the trigger to fire.default StringThe status of the trigger.getType()The type of trigger.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
The action to perform when the trigger fires.A JSON object containing actionType and task.
- See Also:
-
getAgentSpaceId
The unique identifier of the parent Agent Space.- See Also:
-
getCondition
The condition that causes the trigger to fire.Returns union: either
IResolvableorCfnTrigger.ConditionProperty- See Also:
-
getType
The type of trigger.- See Also:
-
getStatus
The status of the trigger.Active triggers fire on schedule; Inactive triggers are paused.
Default: - "Active"
- See Also:
-
builder
- Returns:
- a
CfnTriggerProps.BuilderofCfnTriggerProps
-