Skip to content
v2.278.0

Experimental

@aws-cdk/aws-sagemaker-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

PipelineAttributes Struct ​

Attributes for importing a SageMaker Pipeline.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sagemaker_alpha from '@aws-cdk/aws-sagemaker-alpha';
const pipelineAttributes: sagemaker_alpha.PipelineAttributes = {
  account: 'account',
  pipelineArn: 'pipelineArn',
  pipelineName: 'pipelineName',
  region: 'region',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_sagemaker_alpha as sagemaker_alpha

pipeline_attributes = sagemaker_alpha.PipelineAttributes(
    account="account",
    pipeline_arn="pipelineArn",
    pipeline_name="pipelineName",
    region="region"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.alpha.*;

PipelineAttributes pipelineAttributes = PipelineAttributes.builder()
        .account("account")
        .pipelineArn("pipelineArn")
        .pipelineName("pipelineName")
        .region("region")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Sagemaker.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker.Alpha;

var pipelineAttributes = new PipelineAttributes {
    Account = "account",
    PipelineArn = "pipelineArn",
    PipelineName = "pipelineName",
    Region = "region"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdksagemakeralpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import sagemaker_alpha "github.com/aws/aws-cdk-go/awscdksagemakeralpha"

pipelineAttributes := &PipelineAttributes{
	Account: jsii.String("account"),
	PipelineArn: jsii.String("pipelineArn"),
	PipelineName: jsii.String("pipelineName"),
	Region: jsii.String("region"),
}

Properties ​

accountoptionalstringaccountoptionalstraccountoptionalStringAccountoptionalstringAccountoptional*string #
The account the pipeline is in.

Default: same account as the stack

pipelineArnoptionalstringpipeline_arnoptionalstrpipelineArnoptionalStringPipelineArnoptionalstringPipelineArnoptional*string #
The ARN of the pipeline.

Default: Either this or pipelineName must be provided

pipelineNameoptionalstringpipeline_nameoptionalstrpipelineNameoptionalStringPipelineNameoptionalstringPipelineNameoptional*string #
The name of the pipeline.

Default: Either this or pipelineArn must be provided

regionoptionalstringregionoptionalstrregionoptionalStringRegionoptionalstringRegionoptional*string #
The region the pipeline is in.

Default: same region as the stack