UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

82 lines (81 loc) 2.23 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a Step Functions Activity data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const sfnActivity = aws.sfn.getActivity({ * name: "my-activity", * }); * ``` */ export declare function getActivity(args?: GetActivityArgs, opts?: pulumi.InvokeOptions): Promise<GetActivityResult>; /** * A collection of arguments for invoking getActivity. */ export interface GetActivityArgs { /** * ARN that identifies the activity. */ arn?: string; /** * Name that identifies the activity. */ name?: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; } /** * A collection of values returned by getActivity. */ export interface GetActivityResult { readonly arn: string; /** * Date the activity was created. */ readonly creationDate: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly region: string; } /** * Provides a Step Functions Activity data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const sfnActivity = aws.sfn.getActivity({ * name: "my-activity", * }); * ``` */ export declare function getActivityOutput(args?: GetActivityOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetActivityResult>; /** * A collection of arguments for invoking getActivity. */ export interface GetActivityOutputArgs { /** * ARN that identifies the activity. */ arn?: pulumi.Input<string>; /** * Name that identifies the activity. */ name?: pulumi.Input<string>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input<string>; }