Class CfnPipeline

java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.517Z") @Stability(Stable) public class CfnPipeline extends CfnResource implements IInspectable
A CloudFormation AWS::SageMaker::Pipeline.

The AWS::SageMaker::Pipeline resource creates shell scripts that run when you create and/or start a SageMaker Pipeline. For information about SageMaker Pipelines, see SageMaker Pipelines in the Amazon SageMaker Developer Guide .

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.sagemaker.*;
 Object parallelismConfiguration;
 Object pipelineDefinition;
 CfnPipeline cfnPipeline = CfnPipeline.Builder.create(this, "MyCfnPipeline")
         .pipelineDefinition(pipelineDefinition)
         .pipelineName("pipelineName")
         .roleArn("roleArn")
         // the properties below are optional
         .parallelismConfiguration(parallelismConfiguration)
         .pipelineDescription("pipelineDescription")
         .pipelineDisplayName("pipelineDisplayName")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnPipeline

      protected CfnPipeline(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnPipeline

      protected CfnPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnPipeline

      @Stability(Stable) public CfnPipeline(@NotNull Construct scope, @NotNull String id, @NotNull CfnPipelineProps props)
      Create a new AWS::SageMaker::Pipeline.

      Parameters:
      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.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      The tags of the pipeline.
    • getParallelismConfiguration

      @Stability(Stable) @NotNull public Object getParallelismConfiguration()
      AWS::SageMaker::Pipeline.ParallelismConfiguration.
    • setParallelismConfiguration

      @Stability(Stable) public void setParallelismConfiguration(@NotNull Object value)
      AWS::SageMaker::Pipeline.ParallelismConfiguration.
    • getPipelineDefinition

      @Stability(Stable) @NotNull public Object getPipelineDefinition()
      The definition of the pipeline.

      This can be either a JSON string or an Amazon S3 location.

    • setPipelineDefinition

      @Stability(Stable) public void setPipelineDefinition(@NotNull Object value)
      The definition of the pipeline.

      This can be either a JSON string or an Amazon S3 location.

    • getPipelineName

      @Stability(Stable) @NotNull public String getPipelineName()
      The name of the pipeline.
    • setPipelineName

      @Stability(Stable) public void setPipelineName(@NotNull String value)
      The name of the pipeline.
    • getRoleArn

      @Stability(Stable) @NotNull public String getRoleArn()
      The Amazon Resource Name (ARN) of the IAM role used to execute the pipeline.
    • setRoleArn

      @Stability(Stable) public void setRoleArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the IAM role used to execute the pipeline.
    • getPipelineDescription

      @Stability(Stable) @Nullable public String getPipelineDescription()
      The description of the pipeline.
    • setPipelineDescription

      @Stability(Stable) public void setPipelineDescription(@Nullable String value)
      The description of the pipeline.
    • getPipelineDisplayName

      @Stability(Stable) @Nullable public String getPipelineDisplayName()
      The display name of the pipeline.
    • setPipelineDisplayName

      @Stability(Stable) public void setPipelineDisplayName(@Nullable String value)
      The display name of the pipeline.