1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. stepfunctions
  5. Activity

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.stepfunctions.Activity

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource schema for Activity

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myActivity = new AwsNative.StepFunctions.Activity("myActivity", new()
        {
            Name = "myActivity",
            Tags = new[]
            {
                new AwsNative.Inputs.TagArgs
                {
                    Key = "keyname1",
                    Value = "value1",
                },
                new AwsNative.Inputs.TagArgs
                {
                    Key = "keyname2",
                    Value = "value2",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/stepfunctions"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := stepfunctions.NewActivity(ctx, "myActivity", &stepfunctions.ActivityArgs{
    			Name: pulumi.String("myActivity"),
    			Tags: aws.TagArray{
    				&aws.TagArgs{
    					Key:   pulumi.String("keyname1"),
    					Value: pulumi.String("value1"),
    				},
    				&aws.TagArgs{
    					Key:   pulumi.String("keyname2"),
    					Value: pulumi.String("value2"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_activity = aws_native.stepfunctions.Activity("myActivity",
        name="myActivity",
        tags=[
            {
                "key": "keyname1",
                "value": "value1",
            },
            {
                "key": "keyname2",
                "value": "value2",
            },
        ])
    
    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",
            },
        ],
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myActivity = new AwsNative.StepFunctions.Activity("myActivity", new()
        {
            Name = "myActivity",
            Tags = new[]
            {
                new AwsNative.Inputs.TagArgs
                {
                    Key = "keyname1",
                    Value = "value1",
                },
                new AwsNative.Inputs.TagArgs
                {
                    Key = "keyname2",
                    Value = "value2",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/stepfunctions"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := stepfunctions.NewActivity(ctx, "myActivity", &stepfunctions.ActivityArgs{
    			Name: pulumi.String("myActivity"),
    			Tags: aws.TagArray{
    				&aws.TagArgs{
    					Key:   pulumi.String("keyname1"),
    					Value: pulumi.String("value1"),
    				},
    				&aws.TagArgs{
    					Key:   pulumi.String("keyname2"),
    					Value: pulumi.String("value2"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_activity = aws_native.stepfunctions.Activity("myActivity",
        name="myActivity",
        tags=[
            {
                "key": "keyname1",
                "value": "value1",
            },
            {
                "key": "keyname2",
                "value": "value2",
            },
        ])
    
    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",
            },
        ],
    });
    

    Coming soon!

    Create Activity Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Activity(name: string, args?: ActivityArgs, opts?: CustomResourceOptions);
    @overload
    def Activity(resource_name: str,
                 args: Optional[ActivityArgs] = None,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Activity(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 encryption_configuration: Optional[ActivityEncryptionConfigurationArgs] = None,
                 name: Optional[str] = None,
                 tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewActivity(ctx *Context, name string, args *ActivityArgs, opts ...ResourceOption) (*Activity, error)
    public Activity(string name, ActivityArgs? args = null, CustomResourceOptions? opts = null)
    public Activity(String name, ActivityArgs args)
    public Activity(String name, ActivityArgs args, CustomResourceOptions options)
    
    type: aws-native:stepfunctions:Activity
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ActivityArgs
    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 ActivityArgs
    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 ActivityArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ActivityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ActivityArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Activity 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 Activity resource accepts the following input properties:

    EncryptionConfiguration Pulumi.AwsNative.StepFunctions.Inputs.ActivityEncryptionConfiguration

    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 AWS CloudFormation template.

    Name string

    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 )

    To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

    Tags List<Pulumi.AwsNative.Inputs.Tag>

    The list of tags to add to a resource.

    Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @ .

    EncryptionConfiguration ActivityEncryptionConfigurationArgs

    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 AWS CloudFormation template.

    Name string

    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 )

    To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

    Tags TagArgs

    The list of tags to add to a resource.

    Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @ .

    encryptionConfiguration ActivityEncryptionConfiguration

    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 AWS CloudFormation template.

    name String

    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 )

    To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

    tags List<Tag>

    The list of tags to add to a resource.

    Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @ .

    encryptionConfiguration ActivityEncryptionConfiguration

    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 AWS CloudFormation template.

    name string

    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 )

    To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

    tags Tag[]

    The list of tags to add to a resource.

    Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @ .

    encryption_configuration ActivityEncryptionConfigurationArgs

    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 AWS CloudFormation template.

    name str

    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 )

    To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

    tags Sequence[TagArgs]

    The list of tags to add to a resource.

    Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @ .

    encryptionConfiguration Property Map

    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 AWS CloudFormation template.

    name String

    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 )

    To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

    tags List<Property Map>

    The list of tags to add to a resource.

    Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @ .

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Activity resource produces the following output properties:

    Arn string
    Returns the ARN of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    Returns the ARN of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    Returns the ARN of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    Returns the ARN of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    Returns the ARN of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    Returns the ARN of the resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    ActivityEncryptionConfiguration, ActivityEncryptionConfigurationArgs

    Type Pulumi.AwsNative.StepFunctions.ActivityEncryptionConfigurationType
    Encryption option for an activity.
    KmsDataKeyReusePeriodSeconds int
    Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey . Only applies to customer managed keys.
    KmsKeyId string
    An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data. To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN.
    Type ActivityEncryptionConfigurationType
    Encryption option for an activity.
    KmsDataKeyReusePeriodSeconds int
    Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey . Only applies to customer managed keys.
    KmsKeyId string
    An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data. To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN.
    type ActivityEncryptionConfigurationType
    Encryption option for an activity.
    kmsDataKeyReusePeriodSeconds Integer
    Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey . Only applies to customer managed keys.
    kmsKeyId String
    An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data. To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN.
    type ActivityEncryptionConfigurationType
    Encryption option for an activity.
    kmsDataKeyReusePeriodSeconds number
    Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey . Only applies to customer managed keys.
    kmsKeyId string
    An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data. To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN.
    type ActivityEncryptionConfigurationType
    Encryption option for an activity.
    kms_data_key_reuse_period_seconds int
    Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey . Only applies to customer managed keys.
    kms_key_id str
    An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data. To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN.
    type "CUSTOMER_MANAGED_KMS_KEY" | "AWS_OWNED_KEY"
    Encryption option for an activity.
    kmsDataKeyReusePeriodSeconds Number
    Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call GenerateDataKey . Only applies to customer managed keys.
    kmsKeyId String
    An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data. To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN.

    ActivityEncryptionConfigurationType, ActivityEncryptionConfigurationTypeArgs

    CustomerManagedKmsKey
    CUSTOMER_MANAGED_KMS_KEY
    AwsOwnedKey
    AWS_OWNED_KEY
    ActivityEncryptionConfigurationTypeCustomerManagedKmsKey
    CUSTOMER_MANAGED_KMS_KEY
    ActivityEncryptionConfigurationTypeAwsOwnedKey
    AWS_OWNED_KEY
    CustomerManagedKmsKey
    CUSTOMER_MANAGED_KMS_KEY
    AwsOwnedKey
    AWS_OWNED_KEY
    CustomerManagedKmsKey
    CUSTOMER_MANAGED_KMS_KEY
    AwsOwnedKey
    AWS_OWNED_KEY
    CUSTOMER_MANAGED_KMS_KEY
    CUSTOMER_MANAGED_KMS_KEY
    AWS_OWNED_KEY
    AWS_OWNED_KEY
    "CUSTOMER_MANAGED_KMS_KEY"
    CUSTOMER_MANAGED_KMS_KEY
    "AWS_OWNED_KEY"
    AWS_OWNED_KEY

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi