AWS::DevOpsAgent::TriggerResource Type definition for AWS::DevOpsAgent::Trigger. A trigger defines an automated action that fires on a schedule within an Agent Space.
5 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Action | object | RequiredCreate-only |
AgentSpaceId | string | RequiredCreate-only |
Condition | Condition | RequiredCreate-only |
Type | string | RequiredCreate-only |
Status | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the trigger. Nested under the parent Agent Space: arn:<partition>:aidevops:<region>:<account-id>:agentspace/<agentspace-id>/trigger/<trigger-id>. |
CreatedAt | string | The timestamp when the trigger was created. |
TriggerId | string | The unique identifier of the trigger (assigned by the service on Create). |
UpdatedAt | string | The timestamp when the trigger was last updated. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::DevOpsAgent::Trigger
Resources:
MyResource:
Type: AWS::DevOpsAgent::Trigger
Properties:
AgentSpaceId: "my-agentspaceid"
Type: "TIME_BASED"
Condition: "value"
Action: {}Permissions CloudFormation needs in your IAM role to manage this resource.
aidevops:CreateTriggeraidevops:GetTriggeraidevops:GetTriggeraidevops:UpdateTriggeraidevops:GetTriggeraidevops:DeleteTriggeraidevops:GetTriggeraidevops:ListTriggersOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAgentSpaceIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
AgentSpaceIdTypeConditionAction