Class CfnWorkflowDefinition

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IWorkflowDefinitionRef, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-14T18:31:59.843Z") @Stability(Stable) public class CfnWorkflowDefinition extends CfnResource implements IInspectable, IWorkflowDefinitionRef
Definition of AWS::NovaAct::WorkflowDefinition Resource Type.

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.novaact.*;
 CfnWorkflowDefinition cfnWorkflowDefinition = CfnWorkflowDefinition.Builder.create(this, "MyCfnWorkflowDefinition")
         .name("name")
         // the properties below are optional
         .description("description")
         .exportConfig(WorkflowExportConfigProperty.builder()
                 .s3BucketName("s3BucketName")
                 // the properties below are optional
                 .s3KeyPrefix("s3KeyPrefix")
                 .build())
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnWorkflowDefinition

      protected CfnWorkflowDefinition(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnWorkflowDefinition

      protected CfnWorkflowDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnWorkflowDefinition

      @Stability(Stable) public CfnWorkflowDefinition(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnWorkflowDefinitionProps props)
      Create a new AWS::NovaAct::WorkflowDefinition.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForWorkflowDefinition

      @Stability(Stable) @NotNull public static String arnForWorkflowDefinition(@NotNull IWorkflowDefinitionRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnWorkflowDefinition

      @Stability(Stable) @NotNull public static Boolean isCfnWorkflowDefinition(@NotNull Object x)
      Checks whether the given object is a CfnWorkflowDefinition.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the workflow definition.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp when the workflow definition was created.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The current status of the workflow definition.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getWorkflowDefinitionRef

      @Stability(Stable) @NotNull public WorkflowDefinitionReference getWorkflowDefinitionRef()
      A reference to a WorkflowDefinition resource.
      Specified by:
      getWorkflowDefinitionRef in interface IWorkflowDefinitionRef
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the workflow definition.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the workflow definition.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      An optional description of the workflow definition's purpose and functionality.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      An optional description of the workflow definition's purpose and functionality.
    • getExportConfig

      @Stability(Stable) @Nullable public Object getExportConfig()
      Configuration settings for exporting workflow execution data and logs to Amazon S3.

      Returns union: either IResolvable or CfnWorkflowDefinition.WorkflowExportConfigProperty

    • setExportConfig

      @Stability(Stable) public void setExportConfig(@Nullable IResolvable value)
      Configuration settings for exporting workflow execution data and logs to Amazon S3.
    • setExportConfig

      @Stability(Stable) public void setExportConfig(@Nullable CfnWorkflowDefinition.WorkflowExportConfigProperty value)
      Configuration settings for exporting workflow execution data and logs to Amazon S3.