We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 7, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 7, 2026 by Pulumi
Resource Type definition for AWS::DevOpsAgent::Trigger. A trigger defines an automated action that fires on a schedule within an Agent Space.
Create Trigger Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Trigger(name: string, args: TriggerArgs, opts?: CustomResourceOptions);@overload
def Trigger(resource_name: str,
args: TriggerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Trigger(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[Any] = None,
agent_space_id: Optional[str] = None,
condition: Optional[TriggerConditionArgs] = None,
type: Optional[TriggerType] = None,
status: Optional[TriggerStatus] = None)func NewTrigger(ctx *Context, name string, args TriggerArgs, opts ...ResourceOption) (*Trigger, error)public Trigger(string name, TriggerArgs args, CustomResourceOptions? opts = null)
public Trigger(String name, TriggerArgs args)
public Trigger(String name, TriggerArgs args, CustomResourceOptions options)
type: aws-native:devopsagent:Trigger
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_devopsagent_trigger" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TriggerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TriggerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TriggerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TriggerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TriggerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Trigger Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Trigger resource accepts the following input properties:
- Action object
The action to perform when the trigger fires. A JSON object containing actionType and task.
Search the CloudFormation User Guide for
AWS::DevOpsAgent::Triggerfor more information about the expected schema for this property.- Agent
Space stringId - The unique identifier of the parent Agent Space.
- Condition
Pulumi.
Aws Native. Dev Ops Agent. Inputs. Trigger Condition - Type
Pulumi.
Aws Native. Dev Ops Agent. Trigger Type - The type of trigger.
- Status
Pulumi.
Aws Native. Dev Ops Agent. Trigger Status - The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
- Action interface{}
The action to perform when the trigger fires. A JSON object containing actionType and task.
Search the CloudFormation User Guide for
AWS::DevOpsAgent::Triggerfor more information about the expected schema for this property.- Agent
Space stringId - The unique identifier of the parent Agent Space.
- Condition
Trigger
Condition Args - Type
Trigger
Type - The type of trigger.
- Status
Trigger
Status - The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
- action any
The action to perform when the trigger fires. A JSON object containing actionType and task.
Search the CloudFormation User Guide for
AWS::DevOpsAgent::Triggerfor more information about the expected schema for this property.- agent_
space_ stringid - The unique identifier of the parent Agent Space.
- condition object
- type "TIME_BASED"
- The type of trigger.
- status "Active" | "Inactive"
- The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
- action Object
The action to perform when the trigger fires. A JSON object containing actionType and task.
Search the CloudFormation User Guide for
AWS::DevOpsAgent::Triggerfor more information about the expected schema for this property.- agent
Space StringId - The unique identifier of the parent Agent Space.
- condition
Trigger
Condition - type
Trigger
Type - The type of trigger.
- status
Trigger
Status - The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
- action any
The action to perform when the trigger fires. A JSON object containing actionType and task.
Search the CloudFormation User Guide for
AWS::DevOpsAgent::Triggerfor more information about the expected schema for this property.- agent
Space stringId - The unique identifier of the parent Agent Space.
- condition
Trigger
Condition - type
Trigger
Type - The type of trigger.
- status
Trigger
Status - The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
- action Any
The action to perform when the trigger fires. A JSON object containing actionType and task.
Search the CloudFormation User Guide for
AWS::DevOpsAgent::Triggerfor more information about the expected schema for this property.- agent_
space_ strid - The unique identifier of the parent Agent Space.
- condition
Trigger
Condition Args - type
Trigger
Type - The type of trigger.
- status
Trigger
Status - The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
- action Any
The action to perform when the trigger fires. A JSON object containing actionType and task.
Search the CloudFormation User Guide for
AWS::DevOpsAgent::Triggerfor more information about the expected schema for this property.- agent
Space StringId - The unique identifier of the parent Agent Space.
- condition Property Map
- type "TIME_BASED"
- The type of trigger.
- status "Active" | "Inactive"
- The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
Outputs
All input properties are implicitly available as output properties. Additionally, the Trigger resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the trigger. Nested under the parent Agent Space: arn::aidevops:::agentspace//trigger/.
- Created
At string - The timestamp when the trigger was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Trigger
Id string - The unique identifier of the trigger (assigned by the service on Create).
- Updated
At string - The timestamp when the trigger was last updated.
- Arn string
- The Amazon Resource Name (ARN) of the trigger. Nested under the parent Agent Space: arn::aidevops:::agentspace//trigger/.
- Created
At string - The timestamp when the trigger was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Trigger
Id string - The unique identifier of the trigger (assigned by the service on Create).
- Updated
At string - The timestamp when the trigger was last updated.
- arn string
- The Amazon Resource Name (ARN) of the trigger. Nested under the parent Agent Space: arn::aidevops:::agentspace//trigger/.
- created_
at string - The timestamp when the trigger was created.
- id string
- The provider-assigned unique ID for this managed resource.
- trigger_
id string - The unique identifier of the trigger (assigned by the service on Create).
- updated_
at string - The timestamp when the trigger was last updated.
- arn String
- The Amazon Resource Name (ARN) of the trigger. Nested under the parent Agent Space: arn::aidevops:::agentspace//trigger/.
- created
At String - The timestamp when the trigger was created.
- id String
- The provider-assigned unique ID for this managed resource.
- trigger
Id String - The unique identifier of the trigger (assigned by the service on Create).
- updated
At String - The timestamp when the trigger was last updated.
- arn string
- The Amazon Resource Name (ARN) of the trigger. Nested under the parent Agent Space: arn::aidevops:::agentspace//trigger/.
- created
At string - The timestamp when the trigger was created.
- id string
- The provider-assigned unique ID for this managed resource.
- trigger
Id string - The unique identifier of the trigger (assigned by the service on Create).
- updated
At string - The timestamp when the trigger was last updated.
- arn str
- The Amazon Resource Name (ARN) of the trigger. Nested under the parent Agent Space: arn::aidevops:::agentspace//trigger/.
- created_
at str - The timestamp when the trigger was created.
- id str
- The provider-assigned unique ID for this managed resource.
- trigger_
id str - The unique identifier of the trigger (assigned by the service on Create).
- updated_
at str - The timestamp when the trigger was last updated.
- arn String
- The Amazon Resource Name (ARN) of the trigger. Nested under the parent Agent Space: arn::aidevops:::agentspace//trigger/.
- created
At String - The timestamp when the trigger was created.
- id String
- The provider-assigned unique ID for this managed resource.
- trigger
Id String - The unique identifier of the trigger (assigned by the service on Create).
- updated
At String - The timestamp when the trigger was last updated.
Supporting Types
TriggerCondition, TriggerConditionArgs
The condition that causes the trigger to fire.TriggerSchedule, TriggerScheduleArgs
Schedule configuration for a time-based trigger.- Expression string
- A cron or rate expression that defines when the trigger fires.
- Expression string
- A cron or rate expression that defines when the trigger fires.
- expression string
- A cron or rate expression that defines when the trigger fires.
- expression String
- A cron or rate expression that defines when the trigger fires.
- expression string
- A cron or rate expression that defines when the trigger fires.
- expression str
- A cron or rate expression that defines when the trigger fires.
- expression String
- A cron or rate expression that defines when the trigger fires.
TriggerStatus, TriggerStatusArgs
- Active
Active- Inactive
Inactive
- Trigger
Status Active Active- Trigger
Status Inactive Inactive
- "Active"
Active- "Inactive"
Inactive
- Active
Active- Inactive
Inactive
- Active
Active- Inactive
Inactive
- ACTIVE
Active- INACTIVE
Inactive
- "Active"
Active- "Inactive"
Inactive
TriggerType, TriggerTypeArgs
- Time
Based TIME_BASED
- Trigger
Type Time Based TIME_BASED
- "TIME_BASED"
TIME_BASED
- Time
Based TIME_BASED
- Time
Based TIME_BASED
- TIME_BASED
TIME_BASED
- "TIME_BASED"
TIME_BASED
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 7, 2026 by Pulumi