interface CfnTriggerMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent.CfnTriggerMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsdevopsagent#CfnTriggerMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnTriggerMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_devopsagent.CfnTriggerMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_devopsagent » CfnTriggerMixinProps |
Properties for CfnTriggerPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-trigger.html
Example
// 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/cfn-property-mixins';
declare const action: any;
const cfnTriggerMixinProps: devopsagent.CfnTriggerMixinProps = {
action: action,
agentSpaceId: 'agentSpaceId',
condition: {
schedule: {
expression: 'expression',
},
},
status: 'status',
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| action? | any | The action to perform when the trigger fires. |
| agent | string | The unique identifier of the parent Agent Space. |
| condition? | IResolvable | Condition | The condition that causes the trigger to fire. |
| status? | string | The status of the trigger. |
| type? | string | The type of trigger. |
action?
Type:
any
(optional)
The action to perform when the trigger fires.
A JSON object containing actionType and task.
agentSpaceId?
Type:
string
(optional)
The unique identifier of the parent Agent Space.
condition?
Type:
IResolvable | Condition
(optional)
The condition that causes the trigger to fire.
status?
Type:
string
(optional, default: "Active")
The status of the trigger.
Active triggers fire on schedule; Inactive triggers are paused.
type?
Type:
string
(optional)
The type of trigger.

.NET
Go
Java
Python
TypeScript