1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. devopsagent
  6. getTrigger

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.77.0
published on Monday, Aug 31, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.77.0
published on Monday, Aug 31, 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.

    Using getTrigger

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTrigger(args: GetTriggerArgs, opts?: InvokeOptions): Promise<GetTriggerResult>
    function getTriggerOutput(args: GetTriggerOutputArgs, opts?: InvokeOutputOptions): Output<GetTriggerResult>
    def get_trigger(agent_space_id: Optional[str] = None,
                    trigger_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetTriggerResult
    def get_trigger_output(agent_space_id: pulumi.Input[Optional[str]] = None,
                    trigger_id: pulumi.Input[Optional[str]] = None,
                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetTriggerResult]
    func LookupTrigger(ctx *Context, args *LookupTriggerArgs, opts ...InvokeOption) (*LookupTriggerResult, error)
    func LookupTriggerOutput(ctx *Context, args *LookupTriggerOutputArgs, opts ...InvokeOption) LookupTriggerResultOutput

    > Note: This function is named LookupTrigger in the Go SDK.

    public static class GetTrigger 
    {
        public static Task<GetTriggerResult> InvokeAsync(GetTriggerArgs args, InvokeOptions? opts = null)
        public static Output<GetTriggerResult> Invoke(GetTriggerInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetTriggerResult> Invoke(GetTriggerInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetTriggerResult> getTrigger(GetTriggerArgs args, InvokeOptions options)
    public static Output<GetTriggerResult> getTrigger(GetTriggerArgs args, InvokeOptions options)
    public static Output<GetTriggerResult> getTrigger(GetTriggerArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:devopsagent:getTrigger
      arguments:
        # arguments dictionary
    data "aws-native_devopsagent_get_trigger" "name" {
        # arguments
    }

    The following arguments are supported:

    AgentSpaceId string
    The unique identifier of the parent Agent Space.
    TriggerId string
    The unique identifier of the trigger (assigned by the service on Create).
    AgentSpaceId string
    The unique identifier of the parent Agent Space.
    TriggerId string
    The unique identifier of the trigger (assigned by the service on Create).
    agent_space_id string
    The unique identifier of the parent Agent Space.
    trigger_id string
    The unique identifier of the trigger (assigned by the service on Create).
    agentSpaceId String
    The unique identifier of the parent Agent Space.
    triggerId String
    The unique identifier of the trigger (assigned by the service on Create).
    agentSpaceId string
    The unique identifier of the parent Agent Space.
    triggerId string
    The unique identifier of the trigger (assigned by the service on Create).
    agent_space_id str
    The unique identifier of the parent Agent Space.
    trigger_id str
    The unique identifier of the trigger (assigned by the service on Create).
    agentSpaceId String
    The unique identifier of the parent Agent Space.
    triggerId String
    The unique identifier of the trigger (assigned by the service on Create).

    getTrigger Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the trigger. Nested under the parent Agent Space: arn::aidevops:::agentspace//trigger/.
    CreatedAt string
    The timestamp when the trigger was created.
    Status Pulumi.AwsNative.DevOpsAgent.TriggerStatus
    The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
    TriggerId string
    The unique identifier of the trigger (assigned by the service on Create).
    UpdatedAt 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/.
    CreatedAt string
    The timestamp when the trigger was created.
    Status TriggerStatus
    The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
    TriggerId string
    The unique identifier of the trigger (assigned by the service on Create).
    UpdatedAt 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.
    status "Active" | "Inactive"
    The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
    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/.
    createdAt String
    The timestamp when the trigger was created.
    status TriggerStatus
    The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
    triggerId String
    The unique identifier of the trigger (assigned by the service on Create).
    updatedAt 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/.
    createdAt string
    The timestamp when the trigger was created.
    status TriggerStatus
    The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
    triggerId string
    The unique identifier of the trigger (assigned by the service on Create).
    updatedAt 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.
    status TriggerStatus
    The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
    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/.
    createdAt String
    The timestamp when the trigger was created.
    status "Active" | "Inactive"
    The status of the trigger. Active triggers fire on schedule; Inactive triggers are paused.
    triggerId String
    The unique identifier of the trigger (assigned by the service on Create).
    updatedAt String
    The timestamp when the trigger was last updated.

    Supporting Types

    TriggerStatus

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.77.0
    published on Monday, Aug 31, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial