Interface CfnActivityProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnActivityProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:14.894Z")
@Stability(Stable)
public interface CfnActivityProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnActivity.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.*;
CfnActivityProps cfnActivityProps = CfnActivityProps.builder()
.name("name")
// the properties below are optional
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.type("type")
// the properties below are optional
.kmsDataKeyReusePeriodSeconds(123)
.kmsKeyId("kmsKeyId")
.build())
.tags(List.of(TagsEntryProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnActivityPropsstatic final classAn implementation forCfnActivityProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnActivityProps.Builderbuilder()default ObjectEncryption configuration for the activity.getName()The name of the activity.default List<CfnActivity.TagsEntryProperty> getTags()The list of tags to add to a resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
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 _.
- See Also:
-
getEncryptionConfiguration
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
ActivityAlreadyExistsexception.To update your activity to include customer managed keys, set a new activity name within your AWS CloudFormation template.
Returns union: either
IResolvableorCfnActivity.EncryptionConfigurationProperty- See Also:
-
getTags
The list of tags to add to a resource.Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + -
- See Also:
-
builder
- Returns:
- a
CfnActivityProps.BuilderofCfnActivityProps
-