UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

144 lines (143 loc) 5.33 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource schema for Activity * * ## Example Usage * ### Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws_native from "@pulumi/aws-native"; * * const myActivity = new aws_native.stepfunctions.Activity("myActivity", { * name: "myActivity", * tags: [ * { * key: "keyname1", * value: "value1", * }, * { * key: "keyname2", * value: "value2", * }, * ], * }); * * ``` * ### Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws_native from "@pulumi/aws-native"; * * const myActivity = new aws_native.stepfunctions.Activity("myActivity", { * name: "myActivity", * tags: [ * { * key: "keyname1", * value: "value1", * }, * { * key: "keyname2", * value: "value2", * }, * ], * }); * * ``` */ export declare class Activity extends pulumi.CustomResource { /** * Get an existing Activity resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Activity; /** * Returns true if the given object is an instance of Activity. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Activity; /** * Returns the ARN of the resource. */ readonly arn: pulumi.Output<string>; /** * Encryption configuration for the activity. * * Activity configuration is immutable, and resource names must be unique. To set customer managed keys for encryption, you must create a *new Activity* . If you attempt to change the configuration in your CFN template for an existing activity, you will receive an `ActivityAlreadyExists` exception. * * To update your activity to include customer managed keys, set a new activity name within your CloudFormation template. */ readonly encryptionConfiguration: pulumi.Output<outputs.stepfunctions.ActivityEncryptionConfiguration | undefined>; /** * The name of the activity. * * A name must *not* contain: * * - white space * - brackets `< > { } [ ]` * - wildcard characters `? *` * - special characters `" # % \ ^ | ~ ` $ & , ; : /` * - control characters ( `U+0000-001F` , `U+007F-009F` , `U+FFFE-FFFF` ) * - surrogates ( `U+D800-DFFF` ) * - invalid characters ( `U+10FFFF` ) * * To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _. */ readonly name: pulumi.Output<string>; /** * The list of tags to add to a resource. * * Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + - @` . */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * Create a Activity resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: ActivityArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Activity resource. */ export interface ActivityArgs { /** * Encryption configuration for the activity. * * Activity configuration is immutable, and resource names must be unique. To set customer managed keys for encryption, you must create a *new Activity* . If you attempt to change the configuration in your CFN template for an existing activity, you will receive an `ActivityAlreadyExists` exception. * * To update your activity to include customer managed keys, set a new activity name within your CloudFormation template. */ encryptionConfiguration?: pulumi.Input<inputs.stepfunctions.ActivityEncryptionConfigurationArgs>; /** * The name of the activity. * * A name must *not* contain: * * - white space * - brackets `< > { } [ ]` * - wildcard characters `? *` * - special characters `" # % \ ^ | ~ ` $ & , ; : /` * - control characters ( `U+0000-001F` , `U+007F-009F` , `U+FFFE-FFFF` ) * - surrogates ( `U+D800-DFFF` ) * - invalid characters ( `U+10FFFF` ) * * To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _. */ name?: pulumi.Input<string>; /** * The list of tags to add to a resource. * * Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + - @` . */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }