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.imagebuilder.CfnWorkflow
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-27T17:02:03.211Z")
@Stability(Stable)
public class CfnWorkflow
extends CfnResource
implements IInspectable
Create a new workflow or a new version of an existing workflow.
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.imagebuilder.*; CfnWorkflow cfnWorkflow = CfnWorkflow.Builder.create(this, "MyCfnWorkflow") .name("name") .type("type") .version("version") // the properties below are optional .changeDescription("changeDescription") .data("data") .description("description") .kmsKeyId("kmsKeyId") .tags(Map.of( "tagsKey", "tags")) .uri("uri") .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnWorkflow
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnWorkflow
(software.amazon.jsii.JsiiObjectRef objRef) CfnWorkflow
(software.constructs.Construct scope, String id, CfnWorkflowProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the workflow resource.Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.getData()
Contains the UTF-8 encoded YAML document content for the workflow.Describes the workflow.The ID of the KMS key that is used to encrypt this workflow resource.getName()
The name of the workflow to create.getTags()
Tags that apply to the workflow resource.getType()
The phase in the image build process for which the workflow resource is responsible.getUri()
Theuri
of a YAML component document file.The semantic version of this workflow resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setChangeDescription
(String value) Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.void
Contains the UTF-8 encoded YAML document content for the workflow.void
setDescription
(String value) Describes the workflow.void
setKmsKeyId
(String value) The ID of the KMS key that is used to encrypt this workflow resource.void
The name of the workflow to create.void
Tags that apply to the workflow resource.void
The phase in the image build process for which the workflow resource is responsible.void
Theuri
of a YAML component document file.void
setVersion
(String value) The semantic version of this workflow resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the workflow resource. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getName
The name of the workflow to create. -
setName
The name of the workflow to create. -
getType
The phase in the image build process for which the workflow resource is responsible. -
setType
The phase in the image build process for which the workflow resource is responsible. -
getVersion
The semantic version of this workflow resource.The semantic version syntax adheres to the following rules.
-
setVersion
The semantic version of this workflow resource.The semantic version syntax adheres to the following rules.
-
getChangeDescription
Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow. -
setChangeDescription
Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow. -
getData
Contains the UTF-8 encoded YAML document content for the workflow. -
setData
Contains the UTF-8 encoded YAML document content for the workflow. -
getDescription
Describes the workflow. -
setDescription
Describes the workflow. -
getKmsKeyId
The ID of the KMS key that is used to encrypt this workflow resource. -
setKmsKeyId
The ID of the KMS key that is used to encrypt this workflow resource. -
getTags
Tags that apply to the workflow resource. -
setTags
Tags that apply to the workflow resource. -
getUri
Theuri
of a YAML component document file. -
setUri
Theuri
of a YAML component document file.
-