We recommend new projects start with resources from the AWS provider.
aws-native.sagemaker.Pipeline
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::SageMaker::Pipeline
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var myPipeline = new AwsNative.SageMaker.Pipeline("myPipeline", new()
    {
        PipelineName = "<pipeline-name>",
        PipelineDisplayName = "<pipeline-display-name>",
        PipelineDescription = "<pipeline-description>",
        PipelineDefinition = new AwsNative.SageMaker.Inputs.PipelineDefinition0PropertiesArgs
        {
            PipelineDefinitionS3Location = new AwsNative.SageMaker.Inputs.PipelineS3LocationArgs
            {
                Bucket = "<S3-bucket-location>",
                Key = "<S3-bucket-key>",
            },
        },
        RoleArn = "arn:aws:iam::<account-id>:root",
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/sagemaker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sagemaker.NewPipeline(ctx, "myPipeline", &sagemaker.PipelineArgs{
			PipelineName:        pulumi.String("<pipeline-name>"),
			PipelineDisplayName: pulumi.String("<pipeline-display-name>"),
			PipelineDescription: pulumi.String("<pipeline-description>"),
			PipelineDefinition: &sagemaker.PipelineDefinition0PropertiesArgs{
				PipelineDefinitionS3Location: &sagemaker.PipelineS3LocationArgs{
					Bucket: pulumi.String("<S3-bucket-location>"),
					Key:    pulumi.String("<S3-bucket-key>"),
				},
			},
			RoleArn: pulumi.String("arn:aws:iam::<account-id>:root"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myPipeline = new aws_native.sagemaker.Pipeline("myPipeline", {
    pipelineName: "<pipeline-name>",
    pipelineDisplayName: "<pipeline-display-name>",
    pipelineDescription: "<pipeline-description>",
    pipelineDefinition: {
        pipelineDefinitionS3Location: {
            bucket: "<S3-bucket-location>",
            key: "<S3-bucket-key>",
        },
    },
    roleArn: "arn:aws:iam::<account-id>:root",
});
import pulumi
import pulumi_aws_native as aws_native
my_pipeline = aws_native.sagemaker.Pipeline("myPipeline",
    pipeline_name="<pipeline-name>",
    pipeline_display_name="<pipeline-display-name>",
    pipeline_description="<pipeline-description>",
    pipeline_definition={
        "pipeline_definition_s3_location": {
            "bucket": "<S3-bucket-location>",
            "key": "<S3-bucket-key>",
        },
    },
    role_arn="arn:aws:iam::<account-id>:root")
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var myPipeline = new AwsNative.SageMaker.Pipeline("myPipeline", new()
    {
        PipelineName = "<pipeline-name>",
        PipelineDisplayName = "<pipeline-display-name>",
        PipelineDescription = "<pipeline-description>",
        PipelineDefinition = new AwsNative.SageMaker.Inputs.PipelineDefinition0PropertiesArgs
        {
            PipelineDefinitionBody = "{\"Version\":\"2020-12-01\",\"Parameters\":[{\"Name\":\"InputDataSource\",\"DefaultValue\":\"\"},{\"Name\":\"InstanceCount\",\"Type\":\"Integer\",\"DefaultValue\":1}],\"Steps\":[{\"Name\":\"Training1\",\"Type\":\"Training\",\"Arguments\":{\"InputDataConfig\":[{\"DataSource\":{\"S3DataSource\":{\"S3Uri\":{\"Get\":\"Parameters.InputDataSource\"}}}}],\"OutputDataConfig\":{\"S3OutputPath\":\"s3://my-s3-bucket/\"},\"ResourceConfig\":{\"InstanceType\":\"ml.m5.large\",\"InstanceCount\":{\"Get\":\"Parameters.InstanceCount\"},\"VolumeSizeInGB\":1024}}}]}",
        },
        RoleArn = "arn:aws:iam::<account-id>:root",
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/sagemaker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sagemaker.NewPipeline(ctx, "myPipeline", &sagemaker.PipelineArgs{
			PipelineName:        pulumi.String("<pipeline-name>"),
			PipelineDisplayName: pulumi.String("<pipeline-display-name>"),
			PipelineDescription: pulumi.String("<pipeline-description>"),
			PipelineDefinition: &sagemaker.PipelineDefinition0PropertiesArgs{
				PipelineDefinitionBody: pulumi.String("{\"Version\":\"2020-12-01\",\"Parameters\":[{\"Name\":\"InputDataSource\",\"DefaultValue\":\"\"},{\"Name\":\"InstanceCount\",\"Type\":\"Integer\",\"DefaultValue\":1}],\"Steps\":[{\"Name\":\"Training1\",\"Type\":\"Training\",\"Arguments\":{\"InputDataConfig\":[{\"DataSource\":{\"S3DataSource\":{\"S3Uri\":{\"Get\":\"Parameters.InputDataSource\"}}}}],\"OutputDataConfig\":{\"S3OutputPath\":\"s3://my-s3-bucket/\"},\"ResourceConfig\":{\"InstanceType\":\"ml.m5.large\",\"InstanceCount\":{\"Get\":\"Parameters.InstanceCount\"},\"VolumeSizeInGB\":1024}}}]}"),
			},
			RoleArn: pulumi.String("arn:aws:iam::<account-id>:root"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myPipeline = new aws_native.sagemaker.Pipeline("myPipeline", {
    pipelineName: "<pipeline-name>",
    pipelineDisplayName: "<pipeline-display-name>",
    pipelineDescription: "<pipeline-description>",
    pipelineDefinition: {
        pipelineDefinitionBody: "{\"Version\":\"2020-12-01\",\"Parameters\":[{\"Name\":\"InputDataSource\",\"DefaultValue\":\"\"},{\"Name\":\"InstanceCount\",\"Type\":\"Integer\",\"DefaultValue\":1}],\"Steps\":[{\"Name\":\"Training1\",\"Type\":\"Training\",\"Arguments\":{\"InputDataConfig\":[{\"DataSource\":{\"S3DataSource\":{\"S3Uri\":{\"Get\":\"Parameters.InputDataSource\"}}}}],\"OutputDataConfig\":{\"S3OutputPath\":\"s3://my-s3-bucket/\"},\"ResourceConfig\":{\"InstanceType\":\"ml.m5.large\",\"InstanceCount\":{\"Get\":\"Parameters.InstanceCount\"},\"VolumeSizeInGB\":1024}}}]}",
    },
    roleArn: "arn:aws:iam::<account-id>:root",
});
import pulumi
import pulumi_aws_native as aws_native
my_pipeline = aws_native.sagemaker.Pipeline("myPipeline",
    pipeline_name="<pipeline-name>",
    pipeline_display_name="<pipeline-display-name>",
    pipeline_description="<pipeline-description>",
    pipeline_definition={
        "pipeline_definition_body": "{\"Version\":\"2020-12-01\",\"Parameters\":[{\"Name\":\"InputDataSource\",\"DefaultValue\":\"\"},{\"Name\":\"InstanceCount\",\"Type\":\"Integer\",\"DefaultValue\":1}],\"Steps\":[{\"Name\":\"Training1\",\"Type\":\"Training\",\"Arguments\":{\"InputDataConfig\":[{\"DataSource\":{\"S3DataSource\":{\"S3Uri\":{\"Get\":\"Parameters.InputDataSource\"}}}}],\"OutputDataConfig\":{\"S3OutputPath\":\"s3://my-s3-bucket/\"},\"ResourceConfig\":{\"InstanceType\":\"ml.m5.large\",\"InstanceCount\":{\"Get\":\"Parameters.InstanceCount\"},\"VolumeSizeInGB\":1024}}}]}",
    },
    role_arn="arn:aws:iam::<account-id>:root")
Coming soon!
Create Pipeline Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Pipeline(name: string, args: PipelineArgs, opts?: CustomResourceOptions);@overload
def Pipeline(resource_name: str,
             args: PipelineArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Pipeline(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             pipeline_definition: Optional[Union[PipelineDefinition0PropertiesArgs, PipelineDefinition1PropertiesArgs]] = None,
             role_arn: Optional[str] = None,
             parallelism_configuration: Optional[ParallelismConfigurationPropertiesArgs] = None,
             pipeline_description: Optional[str] = None,
             pipeline_display_name: Optional[str] = None,
             pipeline_name: Optional[str] = None,
             tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewPipeline(ctx *Context, name string, args PipelineArgs, opts ...ResourceOption) (*Pipeline, error)public Pipeline(string name, PipelineArgs args, CustomResourceOptions? opts = null)
public Pipeline(String name, PipelineArgs args)
public Pipeline(String name, PipelineArgs args, CustomResourceOptions options)
type: aws-native:sagemaker:Pipeline
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PipelineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PipelineArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PipelineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PipelineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PipelineArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Pipeline Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Pipeline resource accepts the following input properties:
- PipelineDefinition Pulumi.Aws | Pulumi.Native. Sage Maker. Inputs. Pipeline Definition0Properties Aws Native. Sage Maker. Inputs. Pipeline Definition1Properties 
- The definition of the pipeline. This can be either a JSON string or an Amazon S3 location.
- RoleArn string
- Role Arn
- ParallelismConfiguration Pulumi.Aws Native. Sage Maker. Inputs. Parallelism Configuration Properties 
- The parallelism configuration applied to the pipeline.
- PipelineDescription string
- The description of the Pipeline.
- PipelineDisplay stringName 
- The display name of the Pipeline.
- PipelineName string
- The name of the Pipeline.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- The tags of the pipeline.
- PipelineDefinition PipelineDefinition0Properties | PipelineArgs Definition1Properties Args 
- The definition of the pipeline. This can be either a JSON string or an Amazon S3 location.
- RoleArn string
- Role Arn
- ParallelismConfiguration ParallelismConfiguration Properties Args 
- The parallelism configuration applied to the pipeline.
- PipelineDescription string
- The description of the Pipeline.
- PipelineDisplay stringName 
- The display name of the Pipeline.
- PipelineName string
- The name of the Pipeline.
- 
TagArgs 
- The tags of the pipeline.
- pipelineDefinition PipelineDefinition0Properties | PipelineDefinition1Properties 
- The definition of the pipeline. This can be either a JSON string or an Amazon S3 location.
- roleArn String
- Role Arn
- parallelismConfiguration ParallelismConfiguration Properties 
- The parallelism configuration applied to the pipeline.
- pipelineDescription String
- The description of the Pipeline.
- pipelineDisplay StringName 
- The display name of the Pipeline.
- pipelineName String
- The name of the Pipeline.
- List<Tag>
- The tags of the pipeline.
- pipelineDefinition PipelineDefinition0Properties | PipelineDefinition1Properties 
- The definition of the pipeline. This can be either a JSON string or an Amazon S3 location.
- roleArn string
- Role Arn
- parallelismConfiguration ParallelismConfiguration Properties 
- The parallelism configuration applied to the pipeline.
- pipelineDescription string
- The description of the Pipeline.
- pipelineDisplay stringName 
- The display name of the Pipeline.
- pipelineName string
- The name of the Pipeline.
- Tag[]
- The tags of the pipeline.
- pipeline_definition PipelineDefinition0Properties | PipelineArgs Definition1Properties Args 
- The definition of the pipeline. This can be either a JSON string or an Amazon S3 location.
- role_arn str
- Role Arn
- parallelism_configuration ParallelismConfiguration Properties Args 
- The parallelism configuration applied to the pipeline.
- pipeline_description str
- The description of the Pipeline.
- pipeline_display_ strname 
- The display name of the Pipeline.
- pipeline_name str
- The name of the Pipeline.
- 
Sequence[TagArgs] 
- The tags of the pipeline.
- pipelineDefinition Property Map | Property Map
- The definition of the pipeline. This can be either a JSON string or an Amazon S3 location.
- roleArn String
- Role Arn
- parallelismConfiguration Property Map
- The parallelism configuration applied to the pipeline.
- pipelineDescription String
- The description of the Pipeline.
- pipelineDisplay StringName 
- The display name of the Pipeline.
- pipelineName String
- The name of the Pipeline.
- List<Property Map>
- The tags of the pipeline.
Outputs
All input properties are implicitly available as output properties. Additionally, the Pipeline resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ParallelismConfigurationProperties, ParallelismConfigurationPropertiesArgs      
- MaxParallel intExecution Steps 
- Maximum parallel execution steps
- MaxParallel intExecution Steps 
- Maximum parallel execution steps
- maxParallel IntegerExecution Steps 
- Maximum parallel execution steps
- maxParallel numberExecution Steps 
- Maximum parallel execution steps
- max_parallel_ intexecution_ steps 
- Maximum parallel execution steps
- maxParallel NumberExecution Steps 
- Maximum parallel execution steps
PipelineDefinition0Properties, PipelineDefinition0PropertiesArgs    
- PipelineDefinition stringBody 
- A specification that defines the pipeline in JSON format.
- PipelineDefinition stringBody 
- A specification that defines the pipeline in JSON format.
- pipelineDefinition StringBody 
- A specification that defines the pipeline in JSON format.
- pipelineDefinition stringBody 
- A specification that defines the pipeline in JSON format.
- pipeline_definition_ strbody 
- A specification that defines the pipeline in JSON format.
- pipelineDefinition StringBody 
- A specification that defines the pipeline in JSON format.
PipelineDefinition1Properties, PipelineDefinition1PropertiesArgs    
PipelineS3Location, PipelineS3LocationArgs    
- Bucket string
- The name of the S3 bucket where the PipelineDefinition file is stored.
- Key string
- The file name of the PipelineDefinition file (Amazon S3 object name).
- ETag string
- The Amazon S3 ETag (a file checksum) of the PipelineDefinition file. If you don't specify a value, SageMaker skips ETag validation of your PipelineDefinition file.
- Version string
- For versioning-enabled buckets, a specific version of the PipelineDefinition file.
- Bucket string
- The name of the S3 bucket where the PipelineDefinition file is stored.
- Key string
- The file name of the PipelineDefinition file (Amazon S3 object name).
- ETag string
- The Amazon S3 ETag (a file checksum) of the PipelineDefinition file. If you don't specify a value, SageMaker skips ETag validation of your PipelineDefinition file.
- Version string
- For versioning-enabled buckets, a specific version of the PipelineDefinition file.
- bucket String
- The name of the S3 bucket where the PipelineDefinition file is stored.
- key String
- The file name of the PipelineDefinition file (Amazon S3 object name).
- eTag String
- The Amazon S3 ETag (a file checksum) of the PipelineDefinition file. If you don't specify a value, SageMaker skips ETag validation of your PipelineDefinition file.
- version String
- For versioning-enabled buckets, a specific version of the PipelineDefinition file.
- bucket string
- The name of the S3 bucket where the PipelineDefinition file is stored.
- key string
- The file name of the PipelineDefinition file (Amazon S3 object name).
- eTag string
- The Amazon S3 ETag (a file checksum) of the PipelineDefinition file. If you don't specify a value, SageMaker skips ETag validation of your PipelineDefinition file.
- version string
- For versioning-enabled buckets, a specific version of the PipelineDefinition file.
- bucket str
- The name of the S3 bucket where the PipelineDefinition file is stored.
- key str
- The file name of the PipelineDefinition file (Amazon S3 object name).
- e_tag str
- The Amazon S3 ETag (a file checksum) of the PipelineDefinition file. If you don't specify a value, SageMaker skips ETag validation of your PipelineDefinition file.
- version str
- For versioning-enabled buckets, a specific version of the PipelineDefinition file.
- bucket String
- The name of the S3 bucket where the PipelineDefinition file is stored.
- key String
- The file name of the PipelineDefinition file (Amazon S3 object name).
- eTag String
- The Amazon S3 ETag (a file checksum) of the PipelineDefinition file. If you don't specify a value, SageMaker skips ETag validation of your PipelineDefinition file.
- version String
- For versioning-enabled buckets, a specific version of the PipelineDefinition file.
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.