Class CfnWorkflow
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.mwaaserverless.CfnWorkflow
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IWorkflowRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-03T13:58:26.826Z")
@Stability(Stable)
public class CfnWorkflow
extends CfnResource
implements IInspectable, IWorkflowRef, ITaggableV2
Resource Type definition for AWS::MWAAServerless::Workflow resource.
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.mwaaserverless.*;
CfnWorkflow cfnWorkflow = CfnWorkflow.Builder.create(this, "MyCfnWorkflow")
.definitionS3Location(S3LocationProperty.builder()
.bucket("bucket")
.objectKey("objectKey")
// the properties below are optional
.versionId("versionId")
.build())
.roleArn("roleArn")
// the properties below are optional
.description("description")
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.type("type")
// the properties below are optional
.kmsKeyId("kmsKeyId")
.build())
.loggingConfiguration(LoggingConfigurationProperty.builder()
.logGroupName("logGroupName")
.build())
.name("name")
.networkConfiguration(NetworkConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.tags(Map.of(
"tagsKey", "tags"))
.triggerMode("triggerMode")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnWorkflow.static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.mwaaserverless.IWorkflowRef
IWorkflowRef.Jsii$Default, IWorkflowRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnWorkflow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnWorkflow(software.amazon.jsii.JsiiObjectRef objRef) CfnWorkflow(software.constructs.Construct scope, String id, CfnWorkflowProps props) Create a newAWS::MWAAServerless::Workflow. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForWorkflow(IWorkflowRef resource) Tag Manager which manages the tags for this resource.Returns union: eitherIResolvableorCfnWorkflow.S3LocationPropertyReturns union: eitherIResolvableorCfnWorkflow.EncryptionConfigurationPropertyReturns union: eitherIResolvableorCfnWorkflow.LoggingConfigurationPropertygetName()Returns union: eitherIResolvableorCfnWorkflow.NetworkConfigurationPropertygetTags()A map of key-value pairs to be applied as tags.A reference to a Workflow resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnWorkflow.renderProperties(Map<String, Object> props) voidvoidvoidsetDescription(String value) voidvoidvoidvoidvoidvoidvoidvoidsetRoleArn(String value) voidA map of key-value pairs to be applied as tags.voidsetTriggerMode(String value) Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnWorkflow
protected CfnWorkflow(software.amazon.jsii.JsiiObjectRef objRef) -
CfnWorkflow
protected CfnWorkflow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnWorkflow
@Stability(Stable) public CfnWorkflow(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnWorkflowProps props) Create a newAWS::MWAAServerless::Workflow.- 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
-
arnForWorkflow
- Parameters:
resource- This parameter is required.
-
isCfnWorkflow
Checks whether the given object is a CfnWorkflow.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
-
getAttrModifiedAt
-
getAttrScheduleConfiguration
-
getAttrWorkflowArn
-
getAttrWorkflowStatus
-
getAttrWorkflowVersion
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getWorkflowRef
A reference to a Workflow resource.- Specified by:
getWorkflowRefin interfaceIWorkflowRef
-
getDefinitionS3Location
Returns union: eitherIResolvableorCfnWorkflow.S3LocationProperty -
setDefinitionS3Location
-
setDefinitionS3Location
@Stability(Stable) public void setDefinitionS3Location(@NotNull CfnWorkflow.S3LocationProperty value) -
getRoleArn
-
setRoleArn
-
getDescription
-
setDescription
-
getEncryptionConfiguration
Returns union: eitherIResolvableorCfnWorkflow.EncryptionConfigurationProperty -
setEncryptionConfiguration
-
setEncryptionConfiguration
@Stability(Stable) public void setEncryptionConfiguration(@Nullable CfnWorkflow.EncryptionConfigurationProperty value) -
getLoggingConfiguration
Returns union: eitherIResolvableorCfnWorkflow.LoggingConfigurationProperty -
setLoggingConfiguration
-
setLoggingConfiguration
@Stability(Stable) public void setLoggingConfiguration(@Nullable CfnWorkflow.LoggingConfigurationProperty value) -
getName
-
setName
-
getNetworkConfiguration
Returns union: eitherIResolvableorCfnWorkflow.NetworkConfigurationProperty -
setNetworkConfiguration
-
setNetworkConfiguration
@Stability(Stable) public void setNetworkConfiguration(@Nullable CfnWorkflow.NetworkConfigurationProperty value) -
getTags
A map of key-value pairs to be applied as tags. -
setTags
A map of key-value pairs to be applied as tags. -
getTriggerMode
-
setTriggerMode
-