We recommend new projects start with resources from the AWS provider.
aws-native.stepfunctions.Activity
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- Encryption
Configuration Pulumi.Aws Native. Step Functions. Inputs. Activity Encryption Configuration 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 _.
- List<Pulumi.
Aws Native. Inputs. Tag> The list of tags to add to a resource.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @
.
- Encryption
Configuration ActivityEncryption Configuration Args 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 _.
- Tag
Args The list of tags to add to a resource.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @
.
- encryption
Configuration ActivityEncryption Configuration 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 _.
- List<Tag>
The list of tags to add to a resource.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @
.
- encryption
Configuration ActivityEncryption Configuration 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 _.
- Tag[]
The list of tags to add to a resource.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @
.
- encryption_
configuration ActivityEncryption Configuration Args 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 _.
- Sequence[Tag
Args] The list of tags to add to a resource.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @
.
- encryption
Configuration 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 _.
- 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:
Supporting Types
ActivityEncryptionConfiguration, ActivityEncryptionConfigurationArgs
- Type
Pulumi.
Aws Native. Step Functions. Activity Encryption Configuration Type - Encryption option for an activity.
- Kms
Data intKey Reuse Period Seconds - 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 stringId - 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
Activity
Encryption Configuration Type - Encryption option for an activity.
- Kms
Data intKey Reuse Period Seconds - 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 stringId - 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
Activity
Encryption Configuration Type - Encryption option for an activity.
- kms
Data IntegerKey Reuse Period Seconds - 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 StringId - 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
Activity
Encryption Configuration Type - Encryption option for an activity.
- kms
Data numberKey Reuse Period Seconds - 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 stringId - 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
Activity
Encryption Configuration Type - Encryption option for an activity.
- kms_
data_ intkey_ reuse_ period_ seconds - 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_ strid - 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.
- kms
Data NumberKey Reuse Period Seconds - 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 StringId - 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
- Customer
Managed Kms Key - CUSTOMER_MANAGED_KMS_KEY
- Aws
Owned Key - AWS_OWNED_KEY
- Activity
Encryption Configuration Type Customer Managed Kms Key - CUSTOMER_MANAGED_KMS_KEY
- Activity
Encryption Configuration Type Aws Owned Key - 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
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.