This documentation is for the developer preview release of the AWS CDK. Do not use this version of the AWS CDK in production. Subsequent releases of the AWS CDK will likely include breaking changes.

@aws-cdk/aws-datapipeline

The CDK Construct Library for AWS Data Pipeline

This module is part of the AWS Cloud Development Kit project.

Reference

View in Nuget

csproj:

<PackageReference Include="Amazon.CDK.AWS.DataPipeline" Version="0.25.3" />

dotnet:

dotnet add package Amazon.CDK.AWS.DataPipeline --version 0.25.3

packages.config:

<package id="Amazon.CDK.AWS.DataPipeline" version="0.25.3" />

View in Maven Central

Apache Buildr:

'software.amazon.awscdk:datapipeline:jar:0.25.3'

Apache Ivy:

<dependency groupId="software.amazon.awscdk" name="datapipeline" rev="0.25.3"/>

Apache Maven:

<dependency>
  <groupId>software.amazon.awscdk</groupId>
  <artifactId>datapipeline</artifactId>
  <version>0.25.3</version>
</dependency>

Gradle / Grails:

compile 'software.amazon.awscdk:datapipeline:0.25.3'

Groovy Grape:

@Grapes(
@Grab(group='software.amazon.awscdk', module='datapipeline', version='0.25.3')
)

View in NPM

npm:

$ npm i @aws-cdk/aws-datapipeline@0.25.3

package.json:

{
  "@aws-cdk/aws-datapipeline": "^0.25.3"
}

yarn:

$ yarn add @aws-cdk/aws-datapipeline@0.25.3

View in NPM

npm:

$ npm i @aws-cdk/aws-datapipeline@0.25.3

package.json:

{
  "@aws-cdk/aws-datapipeline": "^0.25.3"
}

yarn:

$ yarn add @aws-cdk/aws-datapipeline@0.25.3

CfnPipeline

class @aws-cdk/aws-datapipeline.CfnPipeline(scope, id, props)

Language-specific names:

using Amazon.CDK.AWS.DataPipeline;
import software.amazon.awscdk.services.datapipeline.CfnPipeline;
const { CfnPipeline } = require('@aws-cdk/aws-datapipeline');
import { CfnPipeline } from '@aws-cdk/aws-datapipeline';
Extends:

@aws-cdk/cdk.Resource

Parameters:
renderProperties(properties) → string => any

Overrides @aws-cdk/cdk.Resource.renderProperties()

Protected method

Parameters:properties (any) –
Return type:string => any
resourceTypeName

The CloudFormation resource type name for this resource class.

Type:string (readonly) (static)
pipelineId
Type:string (readonly)
propertyOverrides
Type:CfnPipelineProps (readonly)
class FieldProperty

Language-specific names:

using Amazon.CDK.AWS.DataPipeline;
import software.amazon.awscdk.services.datapipeline.CfnPipeline.FieldProperty;
// CfnPipeline.FieldProperty is an interface
import { CfnPipeline.FieldProperty } from '@aws-cdk/aws-datapipeline';
key

CfnPipeline.FieldProperty.Key

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects-fields.html#cfn-datapipeline-pipeline-pipelineobjects-fields-key

Type:string
refValue

CfnPipeline.FieldProperty.RefValue

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects-fields.html#cfn-datapipeline-pipeline-pipelineobjects-fields-refvalue

Type:string (optional)
stringValue

CfnPipeline.FieldProperty.StringValue

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects-fields.html#cfn-datapipeline-pipeline-pipelineobjects-fields-stringvalue

Type:string (optional)
class ParameterAttributeProperty

Language-specific names:

using Amazon.CDK.AWS.DataPipeline;
import software.amazon.awscdk.services.datapipeline.CfnPipeline.ParameterAttributeProperty;
// CfnPipeline.ParameterAttributeProperty is an interface
import { CfnPipeline.ParameterAttributeProperty } from '@aws-cdk/aws-datapipeline';
key

CfnPipeline.ParameterAttributeProperty.Key

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parameterobjects-attributes.html#cfn-datapipeline-pipeline-parameterobjects-attribtues-key

Type:string
stringValue

CfnPipeline.ParameterAttributeProperty.StringValue

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parameterobjects-attributes.html#cfn-datapipeline-pipeline-parameterobjects-attribtues-stringvalue

Type:string
class ParameterObjectProperty

Language-specific names:

using Amazon.CDK.AWS.DataPipeline;
import software.amazon.awscdk.services.datapipeline.CfnPipeline.ParameterObjectProperty;
// CfnPipeline.ParameterObjectProperty is an interface
import { CfnPipeline.ParameterObjectProperty } from '@aws-cdk/aws-datapipeline';
attributes

CfnPipeline.ParameterObjectProperty.Attributes

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parameterobjects.html#cfn-datapipeline-pipeline-parameterobjects-attributes

Type:@aws-cdk/cdk.Token or (@aws-cdk/cdk.Token or ParameterAttributeProperty)[]
id

CfnPipeline.ParameterObjectProperty.Id

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parameterobjects.html#cfn-datapipeline-pipeline-parameterobjects-id

Type:string
class ParameterValueProperty

Language-specific names:

using Amazon.CDK.AWS.DataPipeline;
import software.amazon.awscdk.services.datapipeline.CfnPipeline.ParameterValueProperty;
// CfnPipeline.ParameterValueProperty is an interface
import { CfnPipeline.ParameterValueProperty } from '@aws-cdk/aws-datapipeline';
id

CfnPipeline.ParameterValueProperty.Id

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parametervalues.html#cfn-datapipeline-pipeline-parametervalues-id

Type:string
stringValue

CfnPipeline.ParameterValueProperty.StringValue

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parametervalues.html#cfn-datapipeline-pipeline-parametervalues-stringvalue

Type:string
class PipelineObjectProperty

Language-specific names:

using Amazon.CDK.AWS.DataPipeline;
import software.amazon.awscdk.services.datapipeline.CfnPipeline.PipelineObjectProperty;
// CfnPipeline.PipelineObjectProperty is an interface
import { CfnPipeline.PipelineObjectProperty } from '@aws-cdk/aws-datapipeline';
fields

CfnPipeline.PipelineObjectProperty.Fields

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects.html#cfn-datapipeline-pipeline-pipelineobjects-fields

Type:@aws-cdk/cdk.Token or (@aws-cdk/cdk.Token or FieldProperty)[]
id

CfnPipeline.PipelineObjectProperty.Id

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects.html#cfn-datapipeline-pipeline-pipelineobjects-id

Type:string
name

CfnPipeline.PipelineObjectProperty.Name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects.html#cfn-datapipeline-pipeline-pipelineobjects-name

Type:string
class PipelineTagProperty

Language-specific names:

using Amazon.CDK.AWS.DataPipeline;
import software.amazon.awscdk.services.datapipeline.CfnPipeline.PipelineTagProperty;
// CfnPipeline.PipelineTagProperty is an interface
import { CfnPipeline.PipelineTagProperty } from '@aws-cdk/aws-datapipeline';
key

CfnPipeline.PipelineTagProperty.Key

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelinetags.html#cfn-datapipeline-pipeline-pipelinetags-key

Type:string
value

CfnPipeline.PipelineTagProperty.Value

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelinetags.html#cfn-datapipeline-pipeline-pipelinetags-value

Type:string
toString() → string

Inherited from @aws-cdk/cdk.Construct

Returns a string representation of this construct.

Return type:string
validate() → string[]

Inherited from @aws-cdk/cdk.Construct

Validate the current construct.

This method can be implemented by derived constructs in order to perform

validation logic. It is called on all constructs before synthesis.

Protected method

Returns:An array of validation error messages, or an empty array if there the construct is valid.
Return type:string[]
dependencyRoots

Inherited from @aws-cdk/cdk.Construct

The set of constructs that form the root of this dependable

All resources under all returned constructs are included in the ordering

dependency.

Type:@aws-cdk/cdk.IConstruct[] (readonly)
node

Inherited from @aws-cdk/cdk.Construct

Construct node.

Type:@aws-cdk/cdk.ConstructNode (readonly)
ref

Inherited from @aws-cdk/cdk.Referenceable

Returns a token to a CloudFormation { Ref } that references this entity based on it’s logical ID.

Type:string (readonly)
addDeletionOverride(path)

Inherited from @aws-cdk/cdk.Resource

Syntactic sugar for addOverride(path, undefined).

Parameters:path (string) – The path of the value to delete
addDependsOn(resource)

Inherited from @aws-cdk/cdk.Resource

Indicates that this resource depends on another resource and cannot be provisioned

unless the other resource has been successfully provisioned.

Parameters:resource (@aws-cdk/cdk.Resource) –
addOverride(path, value)

Inherited from @aws-cdk/cdk.Resource

Adds an override to the synthesized CloudFormation resource. To add a

property override, either use addPropertyOverride or prefix path with

“Properties.” (i.e. Properties.TopicName).

Parameters:
  • path (string) – The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.
  • value (any) – The value. Could be primitive or complex.
addPropertyDeletionOverride(propertyPath)

Inherited from @aws-cdk/cdk.Resource

Adds an override that deletes the value of a property from the resource definition.

Parameters:propertyPath (string) – The path to the property.
addPropertyOverride(propertyPath, value)

Inherited from @aws-cdk/cdk.Resource

Adds an override to a resource property.

Syntactic sugar for addOverride(“Properties.<…>”, value).

Parameters:
  • propertyPath (string) – The path of the property
  • value (any) – The value
getAtt(attributeName) → @aws-cdk/cdk.CfnReference

Inherited from @aws-cdk/cdk.Resource

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility

in case there is no generated attribute.

Parameters:attributeName (string) – The name of the attribute.
Return type:@aws-cdk/cdk.CfnReference
toCloudFormation() → json

Inherited from @aws-cdk/cdk.Resource

Emits CloudFormation for this resource.

Return type:json
options

Inherited from @aws-cdk/cdk.Resource

Options for this resource, such as condition, update policy etc.

Type:@aws-cdk/cdk.ResourceOptions (readonly)
properties

Inherited from @aws-cdk/cdk.Resource

AWS resource properties.

This object is rendered via a call to “renderProperties(this.properties)”.

Protected property

Type:any (readonly)
resourceType

Inherited from @aws-cdk/cdk.Resource

AWS resource type.

Type:string (readonly)
untypedPropertyOverrides

Inherited from @aws-cdk/cdk.Resource

AWS resource property overrides.

During synthesis, the method “renderProperties(this.overrides)” is called

with this object, and merged on top of the output of

“renderProperties(this.properties)”.

Derived classes should expose a strongly-typed version of this object as

a public property called propertyOverrides.

Protected property

Type:any (readonly)
overrideLogicalId(newLogicalId)

Inherited from @aws-cdk/cdk.StackElement

Overrides the auto-generated logical ID with a specific ID.

Parameters:newLogicalId (string) – The new logical ID to use for this stack element.
prepare()

Inherited from @aws-cdk/cdk.StackElement

Automatically detect references in this StackElement

Protected method

creationStackTrace

Inherited from @aws-cdk/cdk.StackElement

Type:string[] (readonly)
logicalId

Inherited from @aws-cdk/cdk.StackElement

The logical ID for this CloudFormation stack element. The logical ID of the element

is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Type:string (readonly)
stackPath

Inherited from @aws-cdk/cdk.StackElement

Return the path with respect to the stack

Type:string (readonly)

CfnPipelineProps (interface)

class @aws-cdk/aws-datapipeline.CfnPipelineProps

Language-specific names:

using Amazon.CDK.AWS.DataPipeline;
import software.amazon.awscdk.services.datapipeline.CfnPipelineProps;
// CfnPipelineProps is an interface
import { CfnPipelineProps } from '@aws-cdk/aws-datapipeline';
name

AWS::DataPipeline::Pipeline.Name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-name

Type:string
parameterObjects

AWS::DataPipeline::Pipeline.ParameterObjects

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-parameterobjects

Type:@aws-cdk/cdk.Token or (ParameterObjectProperty or @aws-cdk/cdk.Token)[]
activate

AWS::DataPipeline::Pipeline.Activate

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-activate

Type:boolean or @aws-cdk/cdk.Token (optional)
description

AWS::DataPipeline::Pipeline.Description

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-description

Type:string (optional)
parameterValues

AWS::DataPipeline::Pipeline.ParameterValues

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-parametervalues

Type:@aws-cdk/cdk.Token or (@aws-cdk/cdk.Token or ParameterValueProperty)[] (optional)
pipelineObjects

AWS::DataPipeline::Pipeline.PipelineObjects

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-pipelineobjects

Type:@aws-cdk/cdk.Token or (@aws-cdk/cdk.Token or PipelineObjectProperty)[] (optional)
pipelineTags

AWS::DataPipeline::Pipeline.PipelineTags

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-pipelinetags

Type:@aws-cdk/cdk.Token or (@aws-cdk/cdk.Token or PipelineTagProperty)[] (optional)