Class CfnPipeline
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
AWS::DataPipeline::Pipeline
.
The AWS::DataPipeline::Pipeline resource specifies a data pipeline that you can use to automate the movement and transformation of data. In each pipeline, you define pipeline objects, such as activities, schedules, data nodes, and resources. For information about pipeline objects and components that you can use, see Pipeline Object Reference in the AWS Data Pipeline Developer Guide .
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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnPipeline
.static interface
A key-value pair that describes a property of aPipelineObject
.static interface
Attribute
is a property ofParameterObject
that defines the attributes of a parameter object as key-value pairs.static interface
Contains information about a parameter object.static interface
A value or list of parameter values.static interface
PipelineObject is property of the AWS::DataPipeline::Pipeline resource that contains information about a pipeline object.static interface
A 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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.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
ModifierConstructorDescriptionCfnPipeline
(Construct scope, String id, CfnPipelineProps props) Create a newAWS::DataPipeline::Pipeline
.protected
CfnPipeline
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnPipeline
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionIndicates whether to validate and start the pipeline or stop an active pipeline.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 list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setActivate
(Boolean value) Indicates whether to validate and start the pipeline or stop an active pipeline.void
setActivate
(IResolvable value) Indicates whether to validate and start the pipeline or stop an active pipeline.void
setDescription
(String value) A description of the pipeline.void
The name of the pipeline.void
setParameterObjects
(List<Object> value) The parameter objects used with the pipeline.void
setParameterObjects
(IResolvable value) The parameter objects used with the pipeline.void
setParameterValues
(List<Object> value) The parameter values used with the pipeline.void
setParameterValues
(IResolvable value) The parameter values used with the pipeline.void
setPipelineObjects
(List<Object> value) The objects that define the pipeline.void
setPipelineObjects
(IResolvable value) The objects that define the pipeline.void
setPipelineTags
(List<Object> value) A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.void
setPipelineTags
(IResolvable value) A 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.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
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
-
CfnPipeline
protected CfnPipeline(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPipeline
protected CfnPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPipeline
@Stability(Stable) public CfnPipeline(@NotNull Construct scope, @NotNull String id, @NotNull CfnPipelineProps props) Create a newAWS::DataPipeline::Pipeline
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrPipelineId
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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.By default, the value is set to
true
. -
setActivate
Indicates whether to validate and start the pipeline or stop an active pipeline.By default, the value is set to
true
. -
setActivate
Indicates whether to validate and start the pipeline or stop an active pipeline.By default, the value is set to
true
. -
getDescription
A description of the pipeline. -
setDescription
A description of the pipeline. -
getParameterObjects
The parameter objects used with the pipeline. -
setParameterObjects
The parameter objects used with the pipeline. -
setParameterObjects
The parameter objects used with the pipeline. -
getParameterValues
The parameter values used with the pipeline. -
setParameterValues
The parameter values used with the pipeline. -
setParameterValues
The parameter values used with the pipeline. -
getPipelineObjects
The objects that define the pipeline.These objects overwrite the existing pipeline definition. Not all objects, fields, and values can be updated. For information about restrictions, see Editing Your Pipeline in the AWS Data Pipeline Developer Guide .
-
setPipelineObjects
The objects that define the pipeline.These objects overwrite the existing pipeline definition. Not all objects, fields, and values can be updated. For information about restrictions, see Editing Your Pipeline in the AWS Data Pipeline Developer Guide .
-
setPipelineObjects
The objects that define the pipeline.These objects overwrite the existing pipeline definition. Not all objects, fields, and values can be updated. For information about restrictions, see Editing Your Pipeline in the AWS Data Pipeline Developer Guide .
-
getPipelineTags
A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.For more information, see Controlling Access to Pipelines and Resources in the AWS Data Pipeline Developer Guide .
-
setPipelineTags
A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.For more information, see Controlling Access to Pipelines and Resources in the AWS Data Pipeline Developer Guide .
-
setPipelineTags
A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.For more information, see Controlling Access to Pipelines and Resources in the AWS Data Pipeline Developer Guide .
-