Class CfnPipeline
- All Implemented Interfaces:
IInspectable,ITaggableV2,IPipelineRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
AWS Data Pipeline is no longer available to new customers. Existing customers of AWS Data Pipeline can continue to use the service as normal. Learn more
In each pipeline, you define pipeline objects, such as activities, schedules, data nodes, and resources.
The AWS::DataPipeline::Pipeline resource adds tasks, schedules, and preconditions to the specified pipeline. You can use PutPipelineDefinition to populate a new pipeline.
PutPipelineDefinition also validates the configuration as it adds it to the pipeline. Changes to the pipeline are saved unless one of the following validation errors exist in the pipeline.
- An object is missing a name or identifier field.
- A string or reference field is empty.
- The number of objects in the pipeline exceeds the allowed maximum number of objects.
- The pipeline is in a FINISHED state.
Pipeline object definitions are passed to the PutPipelineDefinition action and returned by the GetPipelineDefinition action.
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.datapipeline.*;
CfnPipeline cfnPipeline = CfnPipeline.Builder.create(this, "MyCfnPipeline")
.name("name")
// the properties below are optional
.activate(false)
.description("description")
.parameterObjects(List.of(ParameterObjectProperty.builder()
.attributes(List.of(ParameterAttributeProperty.builder()
.key("key")
.stringValue("stringValue")
.build()))
.id("id")
.build()))
.parameterValues(List.of(ParameterValueProperty.builder()
.id("id")
.stringValue("stringValue")
.build()))
.pipelineObjects(List.of(PipelineObjectProperty.builder()
.fields(List.of(FieldProperty.builder()
.key("key")
// the properties below are optional
.refValue("refValue")
.stringValue("stringValue")
.build()))
.id("id")
.name("name")
.build()))
.pipelineTags(List.of(PipelineTagProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnPipeline.static interfaceA key-value pair that describes a property of aPipelineObject.static interfaceAttributeis a property ofParameterObjectthat defines the attributes of a parameter object as key-value pairs.static interfaceContains information about a parameter object.static interfaceA value or list of parameter values.static interfacePipelineObject is property of the AWS::DataPipeline::Pipeline resource that contains information about a pipeline object.static interfaceA list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.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.services.datapipeline.IPipelineRef
IPipelineRef.Jsii$Default, IPipelineRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPipeline(software.amazon.jsii.JsiiObjectRef objRef) CfnPipeline(software.constructs.Construct scope, String id, CfnPipelineProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IPipelineReffromPipelineID(software.constructs.Construct scope, String id, String pipelineId) Creates a new IPipelineRef from a pipelineId.Indicates whether to validate and start the pipeline or stop an active pipeline.The ID of the pipeline.Tag Manager which manages the tags for this resource.A description of the pipeline.getName()The name of the pipeline.The parameter objects used with the pipeline.The parameter values used with the pipeline.The objects that define the pipeline.A reference to a Pipeline resource.A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetActivate(Boolean value) Indicates whether to validate and start the pipeline or stop an active pipeline.voidsetActivate(IResolvable value) Indicates whether to validate and start the pipeline or stop an active pipeline.voidsetDescription(String value) A description of the pipeline.voidThe name of the pipeline.voidsetParameterObjects(List<Object> value) The parameter objects used with the pipeline.voidsetParameterObjects(IResolvable value) The parameter objects used with the pipeline.voidsetParameterValues(List<Object> value) The parameter values used with the pipeline.voidsetParameterValues(IResolvable value) The parameter values used with the pipeline.voidsetPipelineObjects(List<Object> value) The objects that define the pipeline.voidsetPipelineObjects(IResolvable value) The objects that define the pipeline.voidA list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.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.constructs.IConstruct
getNodeMethods 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
-
CfnPipeline
protected CfnPipeline(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPipeline
protected CfnPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPipeline
@Stability(Stable) public CfnPipeline(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPipelineProps 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
-
fromPipelineID
@Stability(Stable) @NotNull public static IPipelineRef fromPipelineID(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String pipelineId) Creates a new IPipelineRef from a pipelineId.- Parameters:
scope- This parameter is required.id- This parameter is required.pipelineId- 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.
-
getAttrId
-
getAttrPipelineId
The ID of the pipeline. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getPipelineRef
A reference to a Pipeline resource.- Specified by:
getPipelineRefin interfaceIPipelineRef
-
getName
The name of the pipeline. -
setName
The name of the pipeline. -
getActivate
Indicates whether to validate and start the pipeline or stop an active pipeline.Returns union: either
BooleanorIResolvable -
setActivate
Indicates whether to validate and start the pipeline or stop an active pipeline. -
setActivate
Indicates whether to validate and start the pipeline or stop an active pipeline. -
getDescription
A description of the pipeline. -
setDescription
A description of the pipeline. -
getParameterObjects
The parameter objects used with the pipeline.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPipeline.ParameterObjectProperty> -
setParameterObjects
The parameter objects used with the pipeline. -
setParameterObjects
The parameter objects used with the pipeline. -
getParameterValues
The parameter values used with the pipeline.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPipeline.ParameterValueProperty> -
setParameterValues
The parameter values used with the pipeline. -
setParameterValues
The parameter values used with the pipeline. -
getPipelineObjects
The objects that define the pipeline.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPipeline.PipelineObjectProperty> -
setPipelineObjects
The objects that define the pipeline. -
setPipelineObjects
The objects that define the pipeline. -
getPipelineTags
A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions. -
setPipelineTags
@Stability(Stable) public void setPipelineTags(@Nullable List<CfnPipeline.PipelineTagProperty> value) A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.
-