Interface ActivityProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ActivityProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-06T14:43:27.683Z") @Stability(Stable) public interface ActivityProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a new Step Functions Activity.

Example:

 import software.amazon.awscdk.services.kms.*;
 import software.amazon.awscdk.*;
 Key kmsKey = new Key(this, "Key");
 Activity activity = Activity.Builder.create(this, "ActivityWithCMKEncryptionConfiguration")
         .activityName("ActivityWithCMKEncryptionConfiguration")
         .encryptionConfiguration(new CustomerManagedEncryptionConfiguration(kmsKey, Duration.seconds(75)))
         .build();
 
  • Method Details

    • getActivityName

      @Stability(Stable) @Nullable default String getActivityName()
      The name for this activity.

      Default: - If not supplied, a name is generated

    • getEncryptionConfiguration

      @Stability(Stable) @Nullable default EncryptionConfiguration getEncryptionConfiguration()
      The encryptionConfiguration object used for server-side encryption of the activity inputs.

      Default: - data is transparently encrypted using an AWS owned key

    • builder

      @Stability(Stable) static ActivityProps.Builder builder()
      Returns:
      a ActivityProps.Builder of ActivityProps