> **Experimental**
>
> `@aws-cdk/aws-sagemaker-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# PipelineAttributes

Attributes for importing a SageMaker Pipeline.

Used as argument in: [Pipeline.fromPipelineAttributes](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-sagemaker-alpha.Pipeline.html#frompipelineattributes)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/pipeline.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-sagemaker-alpha/lib/pipeline.ts#L40)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `account`: string — The account the pipeline is in.

  **Default:** same account as the stack

- `pipelineArn`: string — The ARN of the pipeline.

  **Default:** Either this or pipelineName must be provided

- `pipelineName`: string — The name of the pipeline.

  **Default:** Either this or pipelineArn must be provided

- `region`: string — The region the pipeline is in.

  **Default:** same region as the stack
