CfnTriggerMixinProps
- class aws_cdk.cfn_property_mixins.aws_devopsagent.CfnTriggerMixinProps(*, action=None, agent_space_id=None, condition=None, status=None, type=None)
Bases:
objectProperties for CfnTriggerPropsMixin.
- Parameters:
action (
Any) – The action to perform when the trigger fires. A JSON object containing actionType and task.agent_space_id (
Optional[str]) – The unique identifier of the parent Agent Space.condition (
Union[IResolvable,ConditionProperty,Dict[str,Any],None]) – The condition that causes the trigger to fire.status (
Optional[str]) – The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused. Default: - “Active”type (
Optional[str]) – The type of trigger.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-trigger.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_devopsagent as devopsagent # action: Any cfn_trigger_mixin_props = devopsagent.CfnTriggerMixinProps( action=action, agent_space_id="agentSpaceId", condition=devopsagent.CfnTriggerPropsMixin.ConditionProperty( schedule=devopsagent.CfnTriggerPropsMixin.ScheduleProperty( expression="expression" ) ), status="status", type="type" )
Attributes
- action
The action to perform when the trigger fires.
A JSON object containing actionType and task.
- agent_space_id
The unique identifier of the parent Agent Space.
- condition
The condition that causes the trigger to fire.
- status
The status of the trigger.
Active triggers fire on schedule; Inactive triggers are paused.