@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:35.732Z") public class CfnPipeline extends CfnResource implements IInspectable
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.
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();
Modifier and Type | Class and Description |
---|---|
static class |
CfnPipeline.Builder
A fluent builder for
CfnPipeline . |
static interface |
CfnPipeline.FieldProperty
A key-value pair that describes a property of a `PipelineObject` .
|
static interface |
CfnPipeline.ParameterAttributeProperty
`Attribute` is a property of `ParameterObject` that defines the attributes of a parameter object as key-value pairs.
|
static interface |
CfnPipeline.ParameterObjectProperty
Contains information about a parameter object.
|
static interface |
CfnPipeline.ParameterValueProperty
A value or list of parameter values.
|
static interface |
CfnPipeline.PipelineObjectProperty
PipelineObject is property of the AWS::DataPipeline::Pipeline resource that contains information about a pipeline object.
|
static interface |
CfnPipeline.PipelineTagProperty
A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnPipeline(Construct scope,
java.lang.String id,
CfnPipelineProps props)
Create a new `AWS::DataPipeline::Pipeline`.
|
protected |
CfnPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnPipeline(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getActivate()
Indicates whether to validate and start the pipeline or stop an active pipeline.
|
java.lang.String |
getAttrPipelineId() |
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
A description of the pipeline.
|
java.lang.String |
getName()
The name of the pipeline.
|
java.lang.Object |
getParameterObjects()
The parameter objects used with the pipeline.
|
java.lang.Object |
getParameterValues()
The parameter values used with the pipeline.
|
java.lang.Object |
getPipelineObjects()
The objects that define the pipeline.
|
java.lang.Object |
getPipelineTags()
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.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setActivate(java.lang.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(java.lang.String value)
A description of the pipeline.
|
void |
setName(java.lang.String value)
The name of the pipeline.
|
void |
setParameterObjects(IResolvable value)
The parameter objects used with the pipeline.
|
void |
setParameterObjects(java.util.List<java.lang.Object> value)
The parameter objects used with the pipeline.
|
void |
setParameterValues(IResolvable value)
The parameter values used with the pipeline.
|
void |
setParameterValues(java.util.List<java.lang.Object> value)
The parameter values used with the pipeline.
|
void |
setPipelineObjects(IResolvable value)
The objects that define the pipeline.
|
void |
setPipelineObjects(java.util.List<java.lang.Object> value)
The objects that define the pipeline.
|
void |
setPipelineTags(IResolvable value)
A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.
|
void |
setPipelineTags(java.util.List<java.lang.Object> value)
A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnPipeline(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnPipeline(Construct scope, java.lang.String id, CfnPipelineProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrPipelineId()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.Object getActivate()
By default, the value is set to true
.
public void setActivate(java.lang.Boolean value)
By default, the value is set to true
.
public void setActivate(IResolvable value)
By default, the value is set to true
.
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.Object getParameterObjects()
public void setParameterObjects(IResolvable value)
public void setParameterObjects(java.util.List<java.lang.Object> value)
public java.lang.Object getParameterValues()
public void setParameterValues(IResolvable value)
public void setParameterValues(java.util.List<java.lang.Object> value)
public java.lang.Object getPipelineObjects()
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 .
public void setPipelineObjects(IResolvable value)
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 .
public void setPipelineObjects(java.util.List<java.lang.Object> value)
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 .
public java.lang.Object getPipelineTags()
For more information, see Controlling Access to Pipelines and Resources in the AWS Data Pipeline Developer Guide .
public void setPipelineTags(IResolvable value)
For more information, see Controlling Access to Pipelines and Resources in the AWS Data Pipeline Developer Guide .
public void setPipelineTags(java.util.List<java.lang.Object> value)
For more information, see Controlling Access to Pipelines and Resources in the AWS Data Pipeline Developer Guide .