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.93.0 (build 1706ca5)",
date="2024-01-03T18:29:27.558Z")
@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 ClassesNested 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$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) -
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 YAML document content for the workflow.The description of the workflow.The KMS key identifier used to encrypt the workflow resource.getName()The name of the workflow resource.getTags()The tags that apply to the workflow resource.getType()Specifies the image creation stage that the workflow applies to.getUri()The uri of the workflow.The workflow resource version.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetChangeDescription(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.voidContains the YAML document content for the workflow.voidsetDescription(String value) The description of the workflow.voidsetKmsKeyId(String value) The KMS key identifier used to encrypt the workflow resource.voidThe name of the workflow resource.voidThe tags that apply to the workflow resource.voidSpecifies the image creation stage that the workflow applies to.voidThe uri of the workflow.voidsetVersion(String value) The workflow resource version.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, 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.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:
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.
-
getAttrArn
The Amazon Resource Name (ARN) of the workflow resource. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getName
The name of the workflow resource. -
setName
The name of the workflow resource. -
getType
Specifies the image creation stage that the workflow applies to. -
setType
Specifies the image creation stage that the workflow applies to. -
getVersion
The workflow resource version. -
setVersion
The workflow resource version. -
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 YAML document content for the workflow. -
setData
Contains the YAML document content for the workflow. -
getDescription
The description of the workflow. -
setDescription
The description of the workflow. -
getKmsKeyId
The KMS key identifier used to encrypt the workflow resource. -
setKmsKeyId
The KMS key identifier used to encrypt the workflow resource. -
getTags
The tags that apply to the workflow resource. -
setTags
The tags that apply to the workflow resource. -
getUri
The uri of the workflow. -
setUri
The uri of the workflow.
-