sagemaker

package
v3.19.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeRepository added in v3.11.0

type CodeRepository struct {
	pulumi.CustomResourceState

	Arn                pulumi.StringOutput           `pulumi:"arn"`
	CodeRepositoryName pulumi.StringOutput           `pulumi:"codeRepositoryName"`
	GitConfig          CodeRepositoryGitConfigOutput `pulumi:"gitConfig"`
}

func GetCodeRepository added in v3.11.0

func GetCodeRepository(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CodeRepositoryState, opts ...pulumi.ResourceOption) (*CodeRepository, error)

GetCodeRepository gets an existing CodeRepository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCodeRepository added in v3.11.0

func NewCodeRepository(ctx *pulumi.Context,
	name string, args *CodeRepositoryArgs, opts ...pulumi.ResourceOption) (*CodeRepository, error)

NewCodeRepository registers a new resource with the given unique name, arguments, and options.

func (CodeRepository) ElementType added in v3.13.0

func (CodeRepository) ElementType() reflect.Type

func (CodeRepository) ToCodeRepositoryOutput added in v3.13.0

func (i CodeRepository) ToCodeRepositoryOutput() CodeRepositoryOutput

func (CodeRepository) ToCodeRepositoryOutputWithContext added in v3.13.0

func (i CodeRepository) ToCodeRepositoryOutputWithContext(ctx context.Context) CodeRepositoryOutput

type CodeRepositoryArgs added in v3.11.0

type CodeRepositoryArgs struct {
	CodeRepositoryName pulumi.StringInput
	GitConfig          CodeRepositoryGitConfigInput
}

The set of arguments for constructing a CodeRepository resource.

func (CodeRepositoryArgs) ElementType added in v3.11.0

func (CodeRepositoryArgs) ElementType() reflect.Type

type CodeRepositoryGitConfig added in v3.11.0

type CodeRepositoryGitConfig struct {
	Branch        *string `pulumi:"branch"`
	RepositoryUrl string  `pulumi:"repositoryUrl"`
	SecretArn     *string `pulumi:"secretArn"`
}

type CodeRepositoryGitConfigArgs added in v3.11.0

type CodeRepositoryGitConfigArgs struct {
	Branch        pulumi.StringPtrInput `pulumi:"branch"`
	RepositoryUrl pulumi.StringInput    `pulumi:"repositoryUrl"`
	SecretArn     pulumi.StringPtrInput `pulumi:"secretArn"`
}

func (CodeRepositoryGitConfigArgs) ElementType added in v3.11.0

func (CodeRepositoryGitConfigArgs) ToCodeRepositoryGitConfigOutput added in v3.11.0

func (i CodeRepositoryGitConfigArgs) ToCodeRepositoryGitConfigOutput() CodeRepositoryGitConfigOutput

func (CodeRepositoryGitConfigArgs) ToCodeRepositoryGitConfigOutputWithContext added in v3.11.0

func (i CodeRepositoryGitConfigArgs) ToCodeRepositoryGitConfigOutputWithContext(ctx context.Context) CodeRepositoryGitConfigOutput

func (CodeRepositoryGitConfigArgs) ToCodeRepositoryGitConfigPtrOutput added in v3.11.0

func (i CodeRepositoryGitConfigArgs) ToCodeRepositoryGitConfigPtrOutput() CodeRepositoryGitConfigPtrOutput

func (CodeRepositoryGitConfigArgs) ToCodeRepositoryGitConfigPtrOutputWithContext added in v3.11.0

func (i CodeRepositoryGitConfigArgs) ToCodeRepositoryGitConfigPtrOutputWithContext(ctx context.Context) CodeRepositoryGitConfigPtrOutput

type CodeRepositoryGitConfigInput added in v3.11.0

type CodeRepositoryGitConfigInput interface {
	pulumi.Input

	ToCodeRepositoryGitConfigOutput() CodeRepositoryGitConfigOutput
	ToCodeRepositoryGitConfigOutputWithContext(context.Context) CodeRepositoryGitConfigOutput
}

CodeRepositoryGitConfigInput is an input type that accepts CodeRepositoryGitConfigArgs and CodeRepositoryGitConfigOutput values. You can construct a concrete instance of `CodeRepositoryGitConfigInput` via:

CodeRepositoryGitConfigArgs{...}

type CodeRepositoryGitConfigOutput added in v3.11.0

type CodeRepositoryGitConfigOutput struct{ *pulumi.OutputState }

func (CodeRepositoryGitConfigOutput) Branch added in v3.11.0

func (CodeRepositoryGitConfigOutput) ElementType added in v3.11.0

func (CodeRepositoryGitConfigOutput) RepositoryUrl added in v3.11.0

func (CodeRepositoryGitConfigOutput) SecretArn added in v3.11.0

func (CodeRepositoryGitConfigOutput) ToCodeRepositoryGitConfigOutput added in v3.11.0

func (o CodeRepositoryGitConfigOutput) ToCodeRepositoryGitConfigOutput() CodeRepositoryGitConfigOutput

func (CodeRepositoryGitConfigOutput) ToCodeRepositoryGitConfigOutputWithContext added in v3.11.0

func (o CodeRepositoryGitConfigOutput) ToCodeRepositoryGitConfigOutputWithContext(ctx context.Context) CodeRepositoryGitConfigOutput

func (CodeRepositoryGitConfigOutput) ToCodeRepositoryGitConfigPtrOutput added in v3.11.0

func (o CodeRepositoryGitConfigOutput) ToCodeRepositoryGitConfigPtrOutput() CodeRepositoryGitConfigPtrOutput

func (CodeRepositoryGitConfigOutput) ToCodeRepositoryGitConfigPtrOutputWithContext added in v3.11.0

func (o CodeRepositoryGitConfigOutput) ToCodeRepositoryGitConfigPtrOutputWithContext(ctx context.Context) CodeRepositoryGitConfigPtrOutput

type CodeRepositoryGitConfigPtrInput added in v3.11.0

type CodeRepositoryGitConfigPtrInput interface {
	pulumi.Input

	ToCodeRepositoryGitConfigPtrOutput() CodeRepositoryGitConfigPtrOutput
	ToCodeRepositoryGitConfigPtrOutputWithContext(context.Context) CodeRepositoryGitConfigPtrOutput
}

CodeRepositoryGitConfigPtrInput is an input type that accepts CodeRepositoryGitConfigArgs, CodeRepositoryGitConfigPtr and CodeRepositoryGitConfigPtrOutput values. You can construct a concrete instance of `CodeRepositoryGitConfigPtrInput` via:

        CodeRepositoryGitConfigArgs{...}

or:

        nil

func CodeRepositoryGitConfigPtr added in v3.11.0

func CodeRepositoryGitConfigPtr(v *CodeRepositoryGitConfigArgs) CodeRepositoryGitConfigPtrInput

type CodeRepositoryGitConfigPtrOutput added in v3.11.0

type CodeRepositoryGitConfigPtrOutput struct{ *pulumi.OutputState }

func (CodeRepositoryGitConfigPtrOutput) Branch added in v3.11.0

func (CodeRepositoryGitConfigPtrOutput) Elem added in v3.11.0

func (CodeRepositoryGitConfigPtrOutput) ElementType added in v3.11.0

func (CodeRepositoryGitConfigPtrOutput) RepositoryUrl added in v3.11.0

func (CodeRepositoryGitConfigPtrOutput) SecretArn added in v3.11.0

func (CodeRepositoryGitConfigPtrOutput) ToCodeRepositoryGitConfigPtrOutput added in v3.11.0

func (o CodeRepositoryGitConfigPtrOutput) ToCodeRepositoryGitConfigPtrOutput() CodeRepositoryGitConfigPtrOutput

func (CodeRepositoryGitConfigPtrOutput) ToCodeRepositoryGitConfigPtrOutputWithContext added in v3.11.0

func (o CodeRepositoryGitConfigPtrOutput) ToCodeRepositoryGitConfigPtrOutputWithContext(ctx context.Context) CodeRepositoryGitConfigPtrOutput

type CodeRepositoryInput added in v3.13.0

type CodeRepositoryInput interface {
	pulumi.Input

	ToCodeRepositoryOutput() CodeRepositoryOutput
	ToCodeRepositoryOutputWithContext(ctx context.Context) CodeRepositoryOutput
}

type CodeRepositoryOutput added in v3.13.0

type CodeRepositoryOutput struct {
	*pulumi.OutputState
}

func (CodeRepositoryOutput) ElementType added in v3.13.0

func (CodeRepositoryOutput) ElementType() reflect.Type

func (CodeRepositoryOutput) ToCodeRepositoryOutput added in v3.13.0

func (o CodeRepositoryOutput) ToCodeRepositoryOutput() CodeRepositoryOutput

func (CodeRepositoryOutput) ToCodeRepositoryOutputWithContext added in v3.13.0

func (o CodeRepositoryOutput) ToCodeRepositoryOutputWithContext(ctx context.Context) CodeRepositoryOutput

type CodeRepositoryState added in v3.11.0

type CodeRepositoryState struct {
	Arn                pulumi.StringPtrInput
	CodeRepositoryName pulumi.StringPtrInput
	GitConfig          CodeRepositoryGitConfigPtrInput
}

func (CodeRepositoryState) ElementType added in v3.11.0

func (CodeRepositoryState) ElementType() reflect.Type

type Endpoint

type Endpoint struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the endpoint configuration to use.
	EndpointConfigName pulumi.StringOutput `pulumi:"endpointConfigName"`
	// The name of the endpoint. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringOutput `pulumi:"name"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides a SageMaker Endpoint resource.

## Example Usage

Basic usage:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sagemaker.NewEndpoint(ctx, "endpoint", &sagemaker.EndpointArgs{
			EndpointConfigName: pulumi.Any(aws_sagemaker_endpoint_configuration.Ec.Name),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("foo"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Endpoints can be imported using the `name`, e.g.

```sh

$ pulumi import aws:sagemaker/endpoint:Endpoint test_endpoint my-endpoint

```

func GetEndpoint

func GetEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointState, opts ...pulumi.ResourceOption) (*Endpoint, error)

GetEndpoint gets an existing Endpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEndpoint

func NewEndpoint(ctx *pulumi.Context,
	name string, args *EndpointArgs, opts ...pulumi.ResourceOption) (*Endpoint, error)

NewEndpoint registers a new resource with the given unique name, arguments, and options.

func (Endpoint) ElementType added in v3.13.0

func (Endpoint) ElementType() reflect.Type

func (Endpoint) ToEndpointOutput added in v3.13.0

func (i Endpoint) ToEndpointOutput() EndpointOutput

func (Endpoint) ToEndpointOutputWithContext added in v3.13.0

func (i Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

type EndpointArgs

type EndpointArgs struct {
	// The name of the endpoint configuration to use.
	EndpointConfigName pulumi.StringInput
	// The name of the endpoint. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Endpoint resource.

func (EndpointArgs) ElementType

func (EndpointArgs) ElementType() reflect.Type

type EndpointConfiguration

type EndpointConfiguration struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) assigned by AWS to this endpoint configuration.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Specifies the parameters to capture input/output of Sagemaker models endpoints. Fields are documented below.
	DataCaptureConfig EndpointConfigurationDataCaptureConfigPtrOutput `pulumi:"dataCaptureConfig"`
	// Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
	KmsKeyArn pulumi.StringPtrOutput `pulumi:"kmsKeyArn"`
	// The name of the endpoint configuration. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Fields are documented below.
	ProductionVariants EndpointConfigurationProductionVariantArrayOutput `pulumi:"productionVariants"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides a SageMaker endpoint configuration resource.

## Example Usage

Basic usage:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sagemaker.NewEndpointConfiguration(ctx, "ec", &sagemaker.EndpointConfigurationArgs{
			ProductionVariants: sagemaker.EndpointConfigurationProductionVariantArray{
				&sagemaker.EndpointConfigurationProductionVariantArgs{
					VariantName:          pulumi.String("variant-1"),
					ModelName:            pulumi.Any(aws_sagemaker_model.M.Name),
					InitialInstanceCount: pulumi.Int(1),
					InstanceType:         pulumi.String("ml.t2.medium"),
				},
			},
			Tags: pulumi.StringMap{
				"Name": pulumi.String("foo"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Endpoint configurations can be imported using the `name`, e.g.

```sh

$ pulumi import aws:sagemaker/endpointConfiguration:EndpointConfiguration test_endpoint_config endpoint-config-foo

```

func GetEndpointConfiguration

func GetEndpointConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointConfigurationState, opts ...pulumi.ResourceOption) (*EndpointConfiguration, error)

GetEndpointConfiguration gets an existing EndpointConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEndpointConfiguration

func NewEndpointConfiguration(ctx *pulumi.Context,
	name string, args *EndpointConfigurationArgs, opts ...pulumi.ResourceOption) (*EndpointConfiguration, error)

NewEndpointConfiguration registers a new resource with the given unique name, arguments, and options.

func (EndpointConfiguration) ElementType added in v3.13.0

func (EndpointConfiguration) ElementType() reflect.Type

func (EndpointConfiguration) ToEndpointConfigurationOutput added in v3.13.0

func (i EndpointConfiguration) ToEndpointConfigurationOutput() EndpointConfigurationOutput

func (EndpointConfiguration) ToEndpointConfigurationOutputWithContext added in v3.13.0

func (i EndpointConfiguration) ToEndpointConfigurationOutputWithContext(ctx context.Context) EndpointConfigurationOutput

type EndpointConfigurationArgs

type EndpointConfigurationArgs struct {
	// Specifies the parameters to capture input/output of Sagemaker models endpoints. Fields are documented below.
	DataCaptureConfig EndpointConfigurationDataCaptureConfigPtrInput
	// Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
	KmsKeyArn pulumi.StringPtrInput
	// The name of the endpoint configuration. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// Fields are documented below.
	ProductionVariants EndpointConfigurationProductionVariantArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a EndpointConfiguration resource.

func (EndpointConfigurationArgs) ElementType

func (EndpointConfigurationArgs) ElementType() reflect.Type

type EndpointConfigurationDataCaptureConfig added in v3.12.0

type EndpointConfigurationDataCaptureConfig struct {
	// The content type headers to capture. Fields are documented below.
	CaptureContentTypeHeader *EndpointConfigurationDataCaptureConfigCaptureContentTypeHeader `pulumi:"captureContentTypeHeader"`
	// Specifies what data to capture. Fields are documented below.
	CaptureOptions []EndpointConfigurationDataCaptureConfigCaptureOption `pulumi:"captureOptions"`
	// The URL for S3 location where the captured data is stored.
	DestinationS3Uri string `pulumi:"destinationS3Uri"`
	// Flag to enable data capture. Defaults to `false`.
	EnableCapture *bool `pulumi:"enableCapture"`
	// Portion of data to capture. Should be between 0 and 100.
	InitialSamplingPercentage int `pulumi:"initialSamplingPercentage"`
	// Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt the captured data on Amazon S3.
	KmsKeyId *string `pulumi:"kmsKeyId"`
}

type EndpointConfigurationDataCaptureConfigArgs added in v3.12.0

type EndpointConfigurationDataCaptureConfigArgs struct {
	// The content type headers to capture. Fields are documented below.
	CaptureContentTypeHeader EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrInput `pulumi:"captureContentTypeHeader"`
	// Specifies what data to capture. Fields are documented below.
	CaptureOptions EndpointConfigurationDataCaptureConfigCaptureOptionArrayInput `pulumi:"captureOptions"`
	// The URL for S3 location where the captured data is stored.
	DestinationS3Uri pulumi.StringInput `pulumi:"destinationS3Uri"`
	// Flag to enable data capture. Defaults to `false`.
	EnableCapture pulumi.BoolPtrInput `pulumi:"enableCapture"`
	// Portion of data to capture. Should be between 0 and 100.
	InitialSamplingPercentage pulumi.IntInput `pulumi:"initialSamplingPercentage"`
	// Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt the captured data on Amazon S3.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
}

func (EndpointConfigurationDataCaptureConfigArgs) ElementType added in v3.12.0

func (EndpointConfigurationDataCaptureConfigArgs) ToEndpointConfigurationDataCaptureConfigOutput added in v3.12.0

func (i EndpointConfigurationDataCaptureConfigArgs) ToEndpointConfigurationDataCaptureConfigOutput() EndpointConfigurationDataCaptureConfigOutput

func (EndpointConfigurationDataCaptureConfigArgs) ToEndpointConfigurationDataCaptureConfigOutputWithContext added in v3.12.0

func (i EndpointConfigurationDataCaptureConfigArgs) ToEndpointConfigurationDataCaptureConfigOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigOutput

func (EndpointConfigurationDataCaptureConfigArgs) ToEndpointConfigurationDataCaptureConfigPtrOutput added in v3.12.0

func (i EndpointConfigurationDataCaptureConfigArgs) ToEndpointConfigurationDataCaptureConfigPtrOutput() EndpointConfigurationDataCaptureConfigPtrOutput

func (EndpointConfigurationDataCaptureConfigArgs) ToEndpointConfigurationDataCaptureConfigPtrOutputWithContext added in v3.12.0

func (i EndpointConfigurationDataCaptureConfigArgs) ToEndpointConfigurationDataCaptureConfigPtrOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigPtrOutput

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeader added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeader struct {
	// The CSV content type headers to capture.
	CsvContentTypes []string `pulumi:"csvContentTypes"`
	// The JSON content type headers to capture.
	JsonContentTypes []string `pulumi:"jsonContentTypes"`
}

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs struct {
	// The CSV content type headers to capture.
	CsvContentTypes pulumi.StringArrayInput `pulumi:"csvContentTypes"`
	// The JSON content type headers to capture.
	JsonContentTypes pulumi.StringArrayInput `pulumi:"jsonContentTypes"`
}

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs) ElementType added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutputWithContext added in v3.12.0

func (i EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutputWithContext added in v3.12.0

func (i EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderInput added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderInput interface {
	pulumi.Input

	ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput() EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput
	ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutputWithContext(context.Context) EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput
}

EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderInput is an input type that accepts EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs and EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput values. You can construct a concrete instance of `EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderInput` via:

EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs{...}

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput struct{ *pulumi.OutputState }

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput) CsvContentTypes added in v3.12.0

The CSV content type headers to capture.

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput) ElementType added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput) JsonContentTypes added in v3.12.0

The JSON content type headers to capture.

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutputWithContext added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutputWithContext added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderOutput) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrInput added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrInput interface {
	pulumi.Input

	ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput() EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput
	ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutputWithContext(context.Context) EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput
}

EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrInput is an input type that accepts EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs, EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtr and EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput values. You can construct a concrete instance of `EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrInput` via:

        EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderArgs{...}

or:

        nil

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput struct{ *pulumi.OutputState }

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput) CsvContentTypes added in v3.12.0

The CSV content type headers to capture.

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput) Elem added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput) ElementType added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput) JsonContentTypes added in v3.12.0

The JSON content type headers to capture.

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutputWithContext added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput) ToEndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigCaptureContentTypeHeaderPtrOutput

type EndpointConfigurationDataCaptureConfigCaptureOption added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureOption struct {
	// Specifies the data to be captured. Should be one of `Input` or `Output`.
	CaptureMode string `pulumi:"captureMode"`
}

type EndpointConfigurationDataCaptureConfigCaptureOptionArgs added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureOptionArgs struct {
	// Specifies the data to be captured. Should be one of `Input` or `Output`.
	CaptureMode pulumi.StringInput `pulumi:"captureMode"`
}

func (EndpointConfigurationDataCaptureConfigCaptureOptionArgs) ElementType added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureOptionArgs) ToEndpointConfigurationDataCaptureConfigCaptureOptionOutput added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureOptionArgs) ToEndpointConfigurationDataCaptureConfigCaptureOptionOutputWithContext added in v3.12.0

func (i EndpointConfigurationDataCaptureConfigCaptureOptionArgs) ToEndpointConfigurationDataCaptureConfigCaptureOptionOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigCaptureOptionOutput

type EndpointConfigurationDataCaptureConfigCaptureOptionArray added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureOptionArray []EndpointConfigurationDataCaptureConfigCaptureOptionInput

func (EndpointConfigurationDataCaptureConfigCaptureOptionArray) ElementType added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureOptionArray) ToEndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput added in v3.12.0

func (i EndpointConfigurationDataCaptureConfigCaptureOptionArray) ToEndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput() EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput

func (EndpointConfigurationDataCaptureConfigCaptureOptionArray) ToEndpointConfigurationDataCaptureConfigCaptureOptionArrayOutputWithContext added in v3.12.0

func (i EndpointConfigurationDataCaptureConfigCaptureOptionArray) ToEndpointConfigurationDataCaptureConfigCaptureOptionArrayOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput

type EndpointConfigurationDataCaptureConfigCaptureOptionArrayInput added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureOptionArrayInput interface {
	pulumi.Input

	ToEndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput() EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput
	ToEndpointConfigurationDataCaptureConfigCaptureOptionArrayOutputWithContext(context.Context) EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput
}

EndpointConfigurationDataCaptureConfigCaptureOptionArrayInput is an input type that accepts EndpointConfigurationDataCaptureConfigCaptureOptionArray and EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput values. You can construct a concrete instance of `EndpointConfigurationDataCaptureConfigCaptureOptionArrayInput` via:

EndpointConfigurationDataCaptureConfigCaptureOptionArray{ EndpointConfigurationDataCaptureConfigCaptureOptionArgs{...} }

type EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput struct{ *pulumi.OutputState }

func (EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput) ElementType added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput) Index added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput) ToEndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput) ToEndpointConfigurationDataCaptureConfigCaptureOptionArrayOutputWithContext added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput) ToEndpointConfigurationDataCaptureConfigCaptureOptionArrayOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigCaptureOptionArrayOutput

type EndpointConfigurationDataCaptureConfigCaptureOptionInput added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureOptionInput interface {
	pulumi.Input

	ToEndpointConfigurationDataCaptureConfigCaptureOptionOutput() EndpointConfigurationDataCaptureConfigCaptureOptionOutput
	ToEndpointConfigurationDataCaptureConfigCaptureOptionOutputWithContext(context.Context) EndpointConfigurationDataCaptureConfigCaptureOptionOutput
}

EndpointConfigurationDataCaptureConfigCaptureOptionInput is an input type that accepts EndpointConfigurationDataCaptureConfigCaptureOptionArgs and EndpointConfigurationDataCaptureConfigCaptureOptionOutput values. You can construct a concrete instance of `EndpointConfigurationDataCaptureConfigCaptureOptionInput` via:

EndpointConfigurationDataCaptureConfigCaptureOptionArgs{...}

type EndpointConfigurationDataCaptureConfigCaptureOptionOutput added in v3.12.0

type EndpointConfigurationDataCaptureConfigCaptureOptionOutput struct{ *pulumi.OutputState }

func (EndpointConfigurationDataCaptureConfigCaptureOptionOutput) CaptureMode added in v3.12.0

Specifies the data to be captured. Should be one of `Input` or `Output`.

func (EndpointConfigurationDataCaptureConfigCaptureOptionOutput) ElementType added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureOptionOutput) ToEndpointConfigurationDataCaptureConfigCaptureOptionOutput added in v3.12.0

func (EndpointConfigurationDataCaptureConfigCaptureOptionOutput) ToEndpointConfigurationDataCaptureConfigCaptureOptionOutputWithContext added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigCaptureOptionOutput) ToEndpointConfigurationDataCaptureConfigCaptureOptionOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigCaptureOptionOutput

type EndpointConfigurationDataCaptureConfigInput added in v3.12.0

type EndpointConfigurationDataCaptureConfigInput interface {
	pulumi.Input

	ToEndpointConfigurationDataCaptureConfigOutput() EndpointConfigurationDataCaptureConfigOutput
	ToEndpointConfigurationDataCaptureConfigOutputWithContext(context.Context) EndpointConfigurationDataCaptureConfigOutput
}

EndpointConfigurationDataCaptureConfigInput is an input type that accepts EndpointConfigurationDataCaptureConfigArgs and EndpointConfigurationDataCaptureConfigOutput values. You can construct a concrete instance of `EndpointConfigurationDataCaptureConfigInput` via:

EndpointConfigurationDataCaptureConfigArgs{...}

type EndpointConfigurationDataCaptureConfigOutput added in v3.12.0

type EndpointConfigurationDataCaptureConfigOutput struct{ *pulumi.OutputState }

func (EndpointConfigurationDataCaptureConfigOutput) CaptureContentTypeHeader added in v3.12.0

The content type headers to capture. Fields are documented below.

func (EndpointConfigurationDataCaptureConfigOutput) CaptureOptions added in v3.12.0

Specifies what data to capture. Fields are documented below.

func (EndpointConfigurationDataCaptureConfigOutput) DestinationS3Uri added in v3.12.0

The URL for S3 location where the captured data is stored.

func (EndpointConfigurationDataCaptureConfigOutput) ElementType added in v3.12.0

func (EndpointConfigurationDataCaptureConfigOutput) EnableCapture added in v3.12.0

Flag to enable data capture. Defaults to `false`.

func (EndpointConfigurationDataCaptureConfigOutput) InitialSamplingPercentage added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigOutput) InitialSamplingPercentage() pulumi.IntOutput

Portion of data to capture. Should be between 0 and 100.

func (EndpointConfigurationDataCaptureConfigOutput) KmsKeyId added in v3.12.0

Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt the captured data on Amazon S3.

func (EndpointConfigurationDataCaptureConfigOutput) ToEndpointConfigurationDataCaptureConfigOutput added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigOutput) ToEndpointConfigurationDataCaptureConfigOutput() EndpointConfigurationDataCaptureConfigOutput

func (EndpointConfigurationDataCaptureConfigOutput) ToEndpointConfigurationDataCaptureConfigOutputWithContext added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigOutput) ToEndpointConfigurationDataCaptureConfigOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigOutput

func (EndpointConfigurationDataCaptureConfigOutput) ToEndpointConfigurationDataCaptureConfigPtrOutput added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigOutput) ToEndpointConfigurationDataCaptureConfigPtrOutput() EndpointConfigurationDataCaptureConfigPtrOutput

func (EndpointConfigurationDataCaptureConfigOutput) ToEndpointConfigurationDataCaptureConfigPtrOutputWithContext added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigOutput) ToEndpointConfigurationDataCaptureConfigPtrOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigPtrOutput

type EndpointConfigurationDataCaptureConfigPtrInput added in v3.12.0

type EndpointConfigurationDataCaptureConfigPtrInput interface {
	pulumi.Input

	ToEndpointConfigurationDataCaptureConfigPtrOutput() EndpointConfigurationDataCaptureConfigPtrOutput
	ToEndpointConfigurationDataCaptureConfigPtrOutputWithContext(context.Context) EndpointConfigurationDataCaptureConfigPtrOutput
}

EndpointConfigurationDataCaptureConfigPtrInput is an input type that accepts EndpointConfigurationDataCaptureConfigArgs, EndpointConfigurationDataCaptureConfigPtr and EndpointConfigurationDataCaptureConfigPtrOutput values. You can construct a concrete instance of `EndpointConfigurationDataCaptureConfigPtrInput` via:

        EndpointConfigurationDataCaptureConfigArgs{...}

or:

        nil

type EndpointConfigurationDataCaptureConfigPtrOutput added in v3.12.0

type EndpointConfigurationDataCaptureConfigPtrOutput struct{ *pulumi.OutputState }

func (EndpointConfigurationDataCaptureConfigPtrOutput) CaptureContentTypeHeader added in v3.12.0

The content type headers to capture. Fields are documented below.

func (EndpointConfigurationDataCaptureConfigPtrOutput) CaptureOptions added in v3.12.0

Specifies what data to capture. Fields are documented below.

func (EndpointConfigurationDataCaptureConfigPtrOutput) DestinationS3Uri added in v3.12.0

The URL for S3 location where the captured data is stored.

func (EndpointConfigurationDataCaptureConfigPtrOutput) Elem added in v3.12.0

func (EndpointConfigurationDataCaptureConfigPtrOutput) ElementType added in v3.12.0

func (EndpointConfigurationDataCaptureConfigPtrOutput) EnableCapture added in v3.12.0

Flag to enable data capture. Defaults to `false`.

func (EndpointConfigurationDataCaptureConfigPtrOutput) InitialSamplingPercentage added in v3.12.0

Portion of data to capture. Should be between 0 and 100.

func (EndpointConfigurationDataCaptureConfigPtrOutput) KmsKeyId added in v3.12.0

Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt the captured data on Amazon S3.

func (EndpointConfigurationDataCaptureConfigPtrOutput) ToEndpointConfigurationDataCaptureConfigPtrOutput added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigPtrOutput) ToEndpointConfigurationDataCaptureConfigPtrOutput() EndpointConfigurationDataCaptureConfigPtrOutput

func (EndpointConfigurationDataCaptureConfigPtrOutput) ToEndpointConfigurationDataCaptureConfigPtrOutputWithContext added in v3.12.0

func (o EndpointConfigurationDataCaptureConfigPtrOutput) ToEndpointConfigurationDataCaptureConfigPtrOutputWithContext(ctx context.Context) EndpointConfigurationDataCaptureConfigPtrOutput

type EndpointConfigurationInput added in v3.13.0

type EndpointConfigurationInput interface {
	pulumi.Input

	ToEndpointConfigurationOutput() EndpointConfigurationOutput
	ToEndpointConfigurationOutputWithContext(ctx context.Context) EndpointConfigurationOutput
}

type EndpointConfigurationOutput added in v3.13.0

type EndpointConfigurationOutput struct {
	*pulumi.OutputState
}

func (EndpointConfigurationOutput) ElementType added in v3.13.0

func (EndpointConfigurationOutput) ToEndpointConfigurationOutput added in v3.13.0

func (o EndpointConfigurationOutput) ToEndpointConfigurationOutput() EndpointConfigurationOutput

func (EndpointConfigurationOutput) ToEndpointConfigurationOutputWithContext added in v3.13.0

func (o EndpointConfigurationOutput) ToEndpointConfigurationOutputWithContext(ctx context.Context) EndpointConfigurationOutput

type EndpointConfigurationProductionVariant

type EndpointConfigurationProductionVariant struct {
	// The size of the Elastic Inference (EI) instance to use for the production variant.
	AcceleratorType *string `pulumi:"acceleratorType"`
	// Initial number of instances used for auto-scaling.
	InitialInstanceCount int `pulumi:"initialInstanceCount"`
	// Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. If unspecified, it defaults to 1.0.
	InitialVariantWeight *float64 `pulumi:"initialVariantWeight"`
	// The type of instance to start.
	InstanceType string `pulumi:"instanceType"`
	// The name of the model to use.
	ModelName string `pulumi:"modelName"`
	// The name of the variant. If omitted, this provider will assign a random, unique name.
	VariantName *string `pulumi:"variantName"`
}

type EndpointConfigurationProductionVariantArgs

type EndpointConfigurationProductionVariantArgs struct {
	// The size of the Elastic Inference (EI) instance to use for the production variant.
	AcceleratorType pulumi.StringPtrInput `pulumi:"acceleratorType"`
	// Initial number of instances used for auto-scaling.
	InitialInstanceCount pulumi.IntInput `pulumi:"initialInstanceCount"`
	// Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. If unspecified, it defaults to 1.0.
	InitialVariantWeight pulumi.Float64PtrInput `pulumi:"initialVariantWeight"`
	// The type of instance to start.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// The name of the model to use.
	ModelName pulumi.StringInput `pulumi:"modelName"`
	// The name of the variant. If omitted, this provider will assign a random, unique name.
	VariantName pulumi.StringPtrInput `pulumi:"variantName"`
}

func (EndpointConfigurationProductionVariantArgs) ElementType

func (EndpointConfigurationProductionVariantArgs) ToEndpointConfigurationProductionVariantOutput

func (i EndpointConfigurationProductionVariantArgs) ToEndpointConfigurationProductionVariantOutput() EndpointConfigurationProductionVariantOutput

func (EndpointConfigurationProductionVariantArgs) ToEndpointConfigurationProductionVariantOutputWithContext

func (i EndpointConfigurationProductionVariantArgs) ToEndpointConfigurationProductionVariantOutputWithContext(ctx context.Context) EndpointConfigurationProductionVariantOutput

type EndpointConfigurationProductionVariantArray

type EndpointConfigurationProductionVariantArray []EndpointConfigurationProductionVariantInput

func (EndpointConfigurationProductionVariantArray) ElementType

func (EndpointConfigurationProductionVariantArray) ToEndpointConfigurationProductionVariantArrayOutput

func (i EndpointConfigurationProductionVariantArray) ToEndpointConfigurationProductionVariantArrayOutput() EndpointConfigurationProductionVariantArrayOutput

func (EndpointConfigurationProductionVariantArray) ToEndpointConfigurationProductionVariantArrayOutputWithContext

func (i EndpointConfigurationProductionVariantArray) ToEndpointConfigurationProductionVariantArrayOutputWithContext(ctx context.Context) EndpointConfigurationProductionVariantArrayOutput

type EndpointConfigurationProductionVariantArrayInput

type EndpointConfigurationProductionVariantArrayInput interface {
	pulumi.Input

	ToEndpointConfigurationProductionVariantArrayOutput() EndpointConfigurationProductionVariantArrayOutput
	ToEndpointConfigurationProductionVariantArrayOutputWithContext(context.Context) EndpointConfigurationProductionVariantArrayOutput
}

EndpointConfigurationProductionVariantArrayInput is an input type that accepts EndpointConfigurationProductionVariantArray and EndpointConfigurationProductionVariantArrayOutput values. You can construct a concrete instance of `EndpointConfigurationProductionVariantArrayInput` via:

EndpointConfigurationProductionVariantArray{ EndpointConfigurationProductionVariantArgs{...} }

type EndpointConfigurationProductionVariantArrayOutput

type EndpointConfigurationProductionVariantArrayOutput struct{ *pulumi.OutputState }

func (EndpointConfigurationProductionVariantArrayOutput) ElementType

func (EndpointConfigurationProductionVariantArrayOutput) Index

func (EndpointConfigurationProductionVariantArrayOutput) ToEndpointConfigurationProductionVariantArrayOutput

func (o EndpointConfigurationProductionVariantArrayOutput) ToEndpointConfigurationProductionVariantArrayOutput() EndpointConfigurationProductionVariantArrayOutput

func (EndpointConfigurationProductionVariantArrayOutput) ToEndpointConfigurationProductionVariantArrayOutputWithContext

func (o EndpointConfigurationProductionVariantArrayOutput) ToEndpointConfigurationProductionVariantArrayOutputWithContext(ctx context.Context) EndpointConfigurationProductionVariantArrayOutput

type EndpointConfigurationProductionVariantInput

type EndpointConfigurationProductionVariantInput interface {
	pulumi.Input

	ToEndpointConfigurationProductionVariantOutput() EndpointConfigurationProductionVariantOutput
	ToEndpointConfigurationProductionVariantOutputWithContext(context.Context) EndpointConfigurationProductionVariantOutput
}

EndpointConfigurationProductionVariantInput is an input type that accepts EndpointConfigurationProductionVariantArgs and EndpointConfigurationProductionVariantOutput values. You can construct a concrete instance of `EndpointConfigurationProductionVariantInput` via:

EndpointConfigurationProductionVariantArgs{...}

type EndpointConfigurationProductionVariantOutput

type EndpointConfigurationProductionVariantOutput struct{ *pulumi.OutputState }

func (EndpointConfigurationProductionVariantOutput) AcceleratorType

The size of the Elastic Inference (EI) instance to use for the production variant.

func (EndpointConfigurationProductionVariantOutput) ElementType

func (EndpointConfigurationProductionVariantOutput) InitialInstanceCount

Initial number of instances used for auto-scaling.

func (EndpointConfigurationProductionVariantOutput) InitialVariantWeight

Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. If unspecified, it defaults to 1.0.

func (EndpointConfigurationProductionVariantOutput) InstanceType

The type of instance to start.

func (EndpointConfigurationProductionVariantOutput) ModelName

The name of the model to use.

func (EndpointConfigurationProductionVariantOutput) ToEndpointConfigurationProductionVariantOutput

func (o EndpointConfigurationProductionVariantOutput) ToEndpointConfigurationProductionVariantOutput() EndpointConfigurationProductionVariantOutput

func (EndpointConfigurationProductionVariantOutput) ToEndpointConfigurationProductionVariantOutputWithContext

func (o EndpointConfigurationProductionVariantOutput) ToEndpointConfigurationProductionVariantOutputWithContext(ctx context.Context) EndpointConfigurationProductionVariantOutput

func (EndpointConfigurationProductionVariantOutput) VariantName

The name of the variant. If omitted, this provider will assign a random, unique name.

type EndpointConfigurationState

type EndpointConfigurationState struct {
	// The Amazon Resource Name (ARN) assigned by AWS to this endpoint configuration.
	Arn pulumi.StringPtrInput
	// Specifies the parameters to capture input/output of Sagemaker models endpoints. Fields are documented below.
	DataCaptureConfig EndpointConfigurationDataCaptureConfigPtrInput
	// Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
	KmsKeyArn pulumi.StringPtrInput
	// The name of the endpoint configuration. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// Fields are documented below.
	ProductionVariants EndpointConfigurationProductionVariantArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (EndpointConfigurationState) ElementType

func (EndpointConfigurationState) ElementType() reflect.Type

type EndpointInput added in v3.13.0

type EndpointInput interface {
	pulumi.Input

	ToEndpointOutput() EndpointOutput
	ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
}

type EndpointOutput added in v3.13.0

type EndpointOutput struct {
	*pulumi.OutputState
}

func (EndpointOutput) ElementType added in v3.13.0

func (EndpointOutput) ElementType() reflect.Type

func (EndpointOutput) ToEndpointOutput added in v3.13.0

func (o EndpointOutput) ToEndpointOutput() EndpointOutput

func (EndpointOutput) ToEndpointOutputWithContext added in v3.13.0

func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

type EndpointState

type EndpointState struct {
	// The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
	Arn pulumi.StringPtrInput
	// The name of the endpoint configuration to use.
	EndpointConfigName pulumi.StringPtrInput
	// The name of the endpoint. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (EndpointState) ElementType

func (EndpointState) ElementType() reflect.Type

type GetPrebuiltEcrImageArgs added in v3.12.0

type GetPrebuiltEcrImageArgs struct {
	// The DNS suffix to use in the registry path. If not specified, the AWS provider sets it to the DNS suffix for the current region.
	DnsSuffix *string `pulumi:"dnsSuffix"`
	// The image tag for the Docker image. If not specified, the AWS provider sets the value to `1`, which for many repositories indicates the latest version. Some repositories, such as XGBoost, do not support `1` or `latest` and specific version must be used.
	ImageTag *string `pulumi:"imageTag"`
	// The region to use in the registry path. If not specified, the AWS provider sets it to the current region.
	Region *string `pulumi:"region"`
	// The name of the repository, which is generally the algorithm or library. Values include `blazingtext`, `factorization-machines`, `forecasting-deepar`, `image-classification`, `ipinsights`, `kmeans`, `knn`, `lda`, `linear-learner`, `mxnet-inference-eia`, `mxnet-inference`, `mxnet-training`, `ntm`, `object-detection`, `object2vec`, `pca`, `pytorch-inference-eia`, `pytorch-inference`, `pytorch-training`, `randomcutforest`, `sagemaker-scikit-learn`, `sagemaker-sparkml-serving`, `sagemaker-xgboost`, `semantic-segmentation`, `seq2seq`, `tensorflow-inference-eia`, `tensorflow-inference`, and `tensorflow-training`.
	RepositoryName string `pulumi:"repositoryName"`
}

A collection of arguments for invoking getPrebuiltEcrImage.

type GetPrebuiltEcrImageResult added in v3.12.0

type GetPrebuiltEcrImageResult struct {
	DnsSuffix *string `pulumi:"dnsSuffix"`
	// The provider-assigned unique ID for this managed resource.
	Id       string  `pulumi:"id"`
	ImageTag *string `pulumi:"imageTag"`
	Region   *string `pulumi:"region"`
	// The account ID containing the image. For example, `469771592824`.
	RegistryId string `pulumi:"registryId"`
	// The Docker image URL. For example, `341280168497.dkr.ecr.ca-central-1.amazonaws.com/sagemaker-sparkml-serving:2.4`.
	RegistryPath   string `pulumi:"registryPath"`
	RepositoryName string `pulumi:"repositoryName"`
}

A collection of values returned by getPrebuiltEcrImage.

func GetPrebuiltEcrImage added in v3.12.0

func GetPrebuiltEcrImage(ctx *pulumi.Context, args *GetPrebuiltEcrImageArgs, opts ...pulumi.InvokeOption) (*GetPrebuiltEcrImageResult, error)

Get information about prebuilt Amazon SageMaker Docker images.

> **NOTE:** The AWS provider creates a validly constructed `registryPath` but does not verify that the `registryPath` corresponds to an existing image. For example, using a `registryPath` containing an `imageTag` that does not correspond to a Docker image in the ECR repository, will result in an error.

## Example Usage

Basic usage:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "2.2-1.0.11.0"
		_, err := sagemaker.GetPrebuiltEcrImage(ctx, &sagemaker.GetPrebuiltEcrImageArgs{
			ImageTag:       &opt0,
			RepositoryName: "sagemaker-scikit-learn",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type Model

type Model struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) assigned by AWS to this model.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Specifies containers in the inference pipeline. If not specified, the `primaryContainer` argument is required. Fields are documented below.
	Containers ModelContainerArrayOutput `pulumi:"containers"`
	// Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
	EnableNetworkIsolation pulumi.BoolPtrOutput `pulumi:"enableNetworkIsolation"`
	// A role that SageMaker can assume to access model artifacts and docker images for deployment.
	ExecutionRoleArn pulumi.StringOutput `pulumi:"executionRoleArn"`
	// The name of the model (must be unique). If omitted, this provider will assign a random, unique name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The primary docker image containing inference code that is used when the model is deployed for predictions.  If not specified, the `container` argument is required. Fields are documented below.
	PrimaryContainer ModelPrimaryContainerPtrOutput `pulumi:"primaryContainer"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
	VpcConfig ModelVpcConfigPtrOutput `pulumi:"vpcConfig"`
}

Provides a SageMaker model resource.

## Example Usage

Basic usage:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				iam.GetPolicyDocumentStatement{
					Actions: []string{
						"sts:AssumeRole",
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						iam.GetPolicyDocumentStatementPrincipal{
							Type: "Service",
							Identifiers: []string{
								"sagemaker.amazonaws.com",
							},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.String(assumeRole.Json),
		})
		if err != nil {
			return err
		}
		_, err = sagemaker.NewModel(ctx, "exampleModel", &sagemaker.ModelArgs{
			ExecutionRoleArn: exampleRole.Arn,
			PrimaryContainer: &sagemaker.ModelPrimaryContainerArgs{
				Image: pulumi.String("174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Models can be imported using the `name`, e.g.

```sh

$ pulumi import aws:sagemaker/model:Model test_model model-foo

```

func GetModel

func GetModel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ModelState, opts ...pulumi.ResourceOption) (*Model, error)

GetModel gets an existing Model resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewModel

func NewModel(ctx *pulumi.Context,
	name string, args *ModelArgs, opts ...pulumi.ResourceOption) (*Model, error)

NewModel registers a new resource with the given unique name, arguments, and options.

func (Model) ElementType added in v3.13.0

func (Model) ElementType() reflect.Type

func (Model) ToModelOutput added in v3.13.0

func (i Model) ToModelOutput() ModelOutput

func (Model) ToModelOutputWithContext added in v3.13.0

func (i Model) ToModelOutputWithContext(ctx context.Context) ModelOutput

type ModelArgs

type ModelArgs struct {
	// Specifies containers in the inference pipeline. If not specified, the `primaryContainer` argument is required. Fields are documented below.
	Containers ModelContainerArrayInput
	// Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
	EnableNetworkIsolation pulumi.BoolPtrInput
	// A role that SageMaker can assume to access model artifacts and docker images for deployment.
	ExecutionRoleArn pulumi.StringInput
	// The name of the model (must be unique). If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// The primary docker image containing inference code that is used when the model is deployed for predictions.  If not specified, the `container` argument is required. Fields are documented below.
	PrimaryContainer ModelPrimaryContainerPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
	VpcConfig ModelVpcConfigPtrInput
}

The set of arguments for constructing a Model resource.

func (ModelArgs) ElementType

func (ModelArgs) ElementType() reflect.Type

type ModelContainer

type ModelContainer struct {
	// The DNS host name for the container.
	ContainerHostname *string `pulumi:"containerHostname"`
	// Environment variables for the Docker container.
	// A list of key value pairs.
	Environment map[string]string `pulumi:"environment"`
	// The registry path where the inference code image is stored in Amazon ECR.
	Image string `pulumi:"image"`
	// Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For more information see [Using a Private Docker Registry for Real-Time Inference Containers](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html). see Image Config.
	ImageConfig *ModelContainerImageConfig `pulumi:"imageConfig"`
	// The container hosts value `SingleModel/MultiModel`. The default value is `SingleModel`.
	Mode *string `pulumi:"mode"`
	// The URL for the S3 location where model artifacts are stored.
	ModelDataUrl *string `pulumi:"modelDataUrl"`
}

type ModelContainerArgs

type ModelContainerArgs struct {
	// The DNS host name for the container.
	ContainerHostname pulumi.StringPtrInput `pulumi:"containerHostname"`
	// Environment variables for the Docker container.
	// A list of key value pairs.
	Environment pulumi.StringMapInput `pulumi:"environment"`
	// The registry path where the inference code image is stored in Amazon ECR.
	Image pulumi.StringInput `pulumi:"image"`
	// Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For more information see [Using a Private Docker Registry for Real-Time Inference Containers](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html). see Image Config.
	ImageConfig ModelContainerImageConfigPtrInput `pulumi:"imageConfig"`
	// The container hosts value `SingleModel/MultiModel`. The default value is `SingleModel`.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// The URL for the S3 location where model artifacts are stored.
	ModelDataUrl pulumi.StringPtrInput `pulumi:"modelDataUrl"`
}

func (ModelContainerArgs) ElementType

func (ModelContainerArgs) ElementType() reflect.Type

func (ModelContainerArgs) ToModelContainerOutput

func (i ModelContainerArgs) ToModelContainerOutput() ModelContainerOutput

func (ModelContainerArgs) ToModelContainerOutputWithContext

func (i ModelContainerArgs) ToModelContainerOutputWithContext(ctx context.Context) ModelContainerOutput

type ModelContainerArray

type ModelContainerArray []ModelContainerInput

func (ModelContainerArray) ElementType

func (ModelContainerArray) ElementType() reflect.Type

func (ModelContainerArray) ToModelContainerArrayOutput

func (i ModelContainerArray) ToModelContainerArrayOutput() ModelContainerArrayOutput

func (ModelContainerArray) ToModelContainerArrayOutputWithContext

func (i ModelContainerArray) ToModelContainerArrayOutputWithContext(ctx context.Context) ModelContainerArrayOutput

type ModelContainerArrayInput

type ModelContainerArrayInput interface {
	pulumi.Input

	ToModelContainerArrayOutput() ModelContainerArrayOutput
	ToModelContainerArrayOutputWithContext(context.Context) ModelContainerArrayOutput
}

ModelContainerArrayInput is an input type that accepts ModelContainerArray and ModelContainerArrayOutput values. You can construct a concrete instance of `ModelContainerArrayInput` via:

ModelContainerArray{ ModelContainerArgs{...} }

type ModelContainerArrayOutput

type ModelContainerArrayOutput struct{ *pulumi.OutputState }

func (ModelContainerArrayOutput) ElementType

func (ModelContainerArrayOutput) ElementType() reflect.Type

func (ModelContainerArrayOutput) Index

func (ModelContainerArrayOutput) ToModelContainerArrayOutput

func (o ModelContainerArrayOutput) ToModelContainerArrayOutput() ModelContainerArrayOutput

func (ModelContainerArrayOutput) ToModelContainerArrayOutputWithContext

func (o ModelContainerArrayOutput) ToModelContainerArrayOutputWithContext(ctx context.Context) ModelContainerArrayOutput

type ModelContainerImageConfig added in v3.12.0

type ModelContainerImageConfig struct {
	// Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). Allowed values are: `Platform` and `Vpc`.
	RepositoryAccessMode string `pulumi:"repositoryAccessMode"`
}

type ModelContainerImageConfigArgs added in v3.12.0

type ModelContainerImageConfigArgs struct {
	// Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). Allowed values are: `Platform` and `Vpc`.
	RepositoryAccessMode pulumi.StringInput `pulumi:"repositoryAccessMode"`
}

func (ModelContainerImageConfigArgs) ElementType added in v3.12.0

func (ModelContainerImageConfigArgs) ToModelContainerImageConfigOutput added in v3.12.0

func (i ModelContainerImageConfigArgs) ToModelContainerImageConfigOutput() ModelContainerImageConfigOutput

func (ModelContainerImageConfigArgs) ToModelContainerImageConfigOutputWithContext added in v3.12.0

func (i ModelContainerImageConfigArgs) ToModelContainerImageConfigOutputWithContext(ctx context.Context) ModelContainerImageConfigOutput

func (ModelContainerImageConfigArgs) ToModelContainerImageConfigPtrOutput added in v3.12.0

func (i ModelContainerImageConfigArgs) ToModelContainerImageConfigPtrOutput() ModelContainerImageConfigPtrOutput

func (ModelContainerImageConfigArgs) ToModelContainerImageConfigPtrOutputWithContext added in v3.12.0

func (i ModelContainerImageConfigArgs) ToModelContainerImageConfigPtrOutputWithContext(ctx context.Context) ModelContainerImageConfigPtrOutput

type ModelContainerImageConfigInput added in v3.12.0

type ModelContainerImageConfigInput interface {
	pulumi.Input

	ToModelContainerImageConfigOutput() ModelContainerImageConfigOutput
	ToModelContainerImageConfigOutputWithContext(context.Context) ModelContainerImageConfigOutput
}

ModelContainerImageConfigInput is an input type that accepts ModelContainerImageConfigArgs and ModelContainerImageConfigOutput values. You can construct a concrete instance of `ModelContainerImageConfigInput` via:

ModelContainerImageConfigArgs{...}

type ModelContainerImageConfigOutput added in v3.12.0

type ModelContainerImageConfigOutput struct{ *pulumi.OutputState }

func (ModelContainerImageConfigOutput) ElementType added in v3.12.0

func (ModelContainerImageConfigOutput) RepositoryAccessMode added in v3.12.0

func (o ModelContainerImageConfigOutput) RepositoryAccessMode() pulumi.StringOutput

Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). Allowed values are: `Platform` and `Vpc`.

func (ModelContainerImageConfigOutput) ToModelContainerImageConfigOutput added in v3.12.0

func (o ModelContainerImageConfigOutput) ToModelContainerImageConfigOutput() ModelContainerImageConfigOutput

func (ModelContainerImageConfigOutput) ToModelContainerImageConfigOutputWithContext added in v3.12.0

func (o ModelContainerImageConfigOutput) ToModelContainerImageConfigOutputWithContext(ctx context.Context) ModelContainerImageConfigOutput

func (ModelContainerImageConfigOutput) ToModelContainerImageConfigPtrOutput added in v3.12.0

func (o ModelContainerImageConfigOutput) ToModelContainerImageConfigPtrOutput() ModelContainerImageConfigPtrOutput

func (ModelContainerImageConfigOutput) ToModelContainerImageConfigPtrOutputWithContext added in v3.12.0

func (o ModelContainerImageConfigOutput) ToModelContainerImageConfigPtrOutputWithContext(ctx context.Context) ModelContainerImageConfigPtrOutput

type ModelContainerImageConfigPtrInput added in v3.12.0

type ModelContainerImageConfigPtrInput interface {
	pulumi.Input

	ToModelContainerImageConfigPtrOutput() ModelContainerImageConfigPtrOutput
	ToModelContainerImageConfigPtrOutputWithContext(context.Context) ModelContainerImageConfigPtrOutput
}

ModelContainerImageConfigPtrInput is an input type that accepts ModelContainerImageConfigArgs, ModelContainerImageConfigPtr and ModelContainerImageConfigPtrOutput values. You can construct a concrete instance of `ModelContainerImageConfigPtrInput` via:

        ModelContainerImageConfigArgs{...}

or:

        nil

func ModelContainerImageConfigPtr added in v3.12.0

type ModelContainerImageConfigPtrOutput added in v3.12.0

type ModelContainerImageConfigPtrOutput struct{ *pulumi.OutputState }

func (ModelContainerImageConfigPtrOutput) Elem added in v3.12.0

func (ModelContainerImageConfigPtrOutput) ElementType added in v3.12.0

func (ModelContainerImageConfigPtrOutput) RepositoryAccessMode added in v3.12.0

Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). Allowed values are: `Platform` and `Vpc`.

func (ModelContainerImageConfigPtrOutput) ToModelContainerImageConfigPtrOutput added in v3.12.0

func (o ModelContainerImageConfigPtrOutput) ToModelContainerImageConfigPtrOutput() ModelContainerImageConfigPtrOutput

func (ModelContainerImageConfigPtrOutput) ToModelContainerImageConfigPtrOutputWithContext added in v3.12.0

func (o ModelContainerImageConfigPtrOutput) ToModelContainerImageConfigPtrOutputWithContext(ctx context.Context) ModelContainerImageConfigPtrOutput

type ModelContainerInput

type ModelContainerInput interface {
	pulumi.Input

	ToModelContainerOutput() ModelContainerOutput
	ToModelContainerOutputWithContext(context.Context) ModelContainerOutput
}

ModelContainerInput is an input type that accepts ModelContainerArgs and ModelContainerOutput values. You can construct a concrete instance of `ModelContainerInput` via:

ModelContainerArgs{...}

type ModelContainerOutput

type ModelContainerOutput struct{ *pulumi.OutputState }

func (ModelContainerOutput) ContainerHostname

func (o ModelContainerOutput) ContainerHostname() pulumi.StringPtrOutput

The DNS host name for the container.

func (ModelContainerOutput) ElementType

func (ModelContainerOutput) ElementType() reflect.Type

func (ModelContainerOutput) Environment

Environment variables for the Docker container. A list of key value pairs.

func (ModelContainerOutput) Image

The registry path where the inference code image is stored in Amazon ECR.

func (ModelContainerOutput) ImageConfig added in v3.12.0

Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For more information see [Using a Private Docker Registry for Real-Time Inference Containers](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html). see Image Config.

func (ModelContainerOutput) Mode added in v3.11.0

The container hosts value `SingleModel/MultiModel`. The default value is `SingleModel`.

func (ModelContainerOutput) ModelDataUrl

func (o ModelContainerOutput) ModelDataUrl() pulumi.StringPtrOutput

The URL for the S3 location where model artifacts are stored.

func (ModelContainerOutput) ToModelContainerOutput

func (o ModelContainerOutput) ToModelContainerOutput() ModelContainerOutput

func (ModelContainerOutput) ToModelContainerOutputWithContext

func (o ModelContainerOutput) ToModelContainerOutputWithContext(ctx context.Context) ModelContainerOutput

type ModelInput added in v3.13.0

type ModelInput interface {
	pulumi.Input

	ToModelOutput() ModelOutput
	ToModelOutputWithContext(ctx context.Context) ModelOutput
}

type ModelOutput added in v3.13.0

type ModelOutput struct {
	*pulumi.OutputState
}

func (ModelOutput) ElementType added in v3.13.0

func (ModelOutput) ElementType() reflect.Type

func (ModelOutput) ToModelOutput added in v3.13.0

func (o ModelOutput) ToModelOutput() ModelOutput

func (ModelOutput) ToModelOutputWithContext added in v3.13.0

func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput

type ModelPrimaryContainer

type ModelPrimaryContainer struct {
	// The DNS host name for the container.
	ContainerHostname *string `pulumi:"containerHostname"`
	// Environment variables for the Docker container.
	// A list of key value pairs.
	Environment map[string]string `pulumi:"environment"`
	// The registry path where the inference code image is stored in Amazon ECR.
	Image string `pulumi:"image"`
	// Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For more information see [Using a Private Docker Registry for Real-Time Inference Containers](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html). see Image Config.
	ImageConfig *ModelPrimaryContainerImageConfig `pulumi:"imageConfig"`
	// The container hosts value `SingleModel/MultiModel`. The default value is `SingleModel`.
	Mode *string `pulumi:"mode"`
	// The URL for the S3 location where model artifacts are stored.
	ModelDataUrl *string `pulumi:"modelDataUrl"`
}

type ModelPrimaryContainerArgs

type ModelPrimaryContainerArgs struct {
	// The DNS host name for the container.
	ContainerHostname pulumi.StringPtrInput `pulumi:"containerHostname"`
	// Environment variables for the Docker container.
	// A list of key value pairs.
	Environment pulumi.StringMapInput `pulumi:"environment"`
	// The registry path where the inference code image is stored in Amazon ECR.
	Image pulumi.StringInput `pulumi:"image"`
	// Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For more information see [Using a Private Docker Registry for Real-Time Inference Containers](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html). see Image Config.
	ImageConfig ModelPrimaryContainerImageConfigPtrInput `pulumi:"imageConfig"`
	// The container hosts value `SingleModel/MultiModel`. The default value is `SingleModel`.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// The URL for the S3 location where model artifacts are stored.
	ModelDataUrl pulumi.StringPtrInput `pulumi:"modelDataUrl"`
}

func (ModelPrimaryContainerArgs) ElementType

func (ModelPrimaryContainerArgs) ElementType() reflect.Type

func (ModelPrimaryContainerArgs) ToModelPrimaryContainerOutput

func (i ModelPrimaryContainerArgs) ToModelPrimaryContainerOutput() ModelPrimaryContainerOutput

func (ModelPrimaryContainerArgs) ToModelPrimaryContainerOutputWithContext

func (i ModelPrimaryContainerArgs) ToModelPrimaryContainerOutputWithContext(ctx context.Context) ModelPrimaryContainerOutput

func (ModelPrimaryContainerArgs) ToModelPrimaryContainerPtrOutput

func (i ModelPrimaryContainerArgs) ToModelPrimaryContainerPtrOutput() ModelPrimaryContainerPtrOutput

func (ModelPrimaryContainerArgs) ToModelPrimaryContainerPtrOutputWithContext

func (i ModelPrimaryContainerArgs) ToModelPrimaryContainerPtrOutputWithContext(ctx context.Context) ModelPrimaryContainerPtrOutput

type ModelPrimaryContainerImageConfig added in v3.12.0

type ModelPrimaryContainerImageConfig struct {
	// Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). Allowed values are: `Platform` and `Vpc`.
	RepositoryAccessMode string `pulumi:"repositoryAccessMode"`
}

type ModelPrimaryContainerImageConfigArgs added in v3.12.0

type ModelPrimaryContainerImageConfigArgs struct {
	// Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). Allowed values are: `Platform` and `Vpc`.
	RepositoryAccessMode pulumi.StringInput `pulumi:"repositoryAccessMode"`
}

func (ModelPrimaryContainerImageConfigArgs) ElementType added in v3.12.0

func (ModelPrimaryContainerImageConfigArgs) ToModelPrimaryContainerImageConfigOutput added in v3.12.0

func (i ModelPrimaryContainerImageConfigArgs) ToModelPrimaryContainerImageConfigOutput() ModelPrimaryContainerImageConfigOutput

func (ModelPrimaryContainerImageConfigArgs) ToModelPrimaryContainerImageConfigOutputWithContext added in v3.12.0

func (i ModelPrimaryContainerImageConfigArgs) ToModelPrimaryContainerImageConfigOutputWithContext(ctx context.Context) ModelPrimaryContainerImageConfigOutput

func (ModelPrimaryContainerImageConfigArgs) ToModelPrimaryContainerImageConfigPtrOutput added in v3.12.0

func (i ModelPrimaryContainerImageConfigArgs) ToModelPrimaryContainerImageConfigPtrOutput() ModelPrimaryContainerImageConfigPtrOutput

func (ModelPrimaryContainerImageConfigArgs) ToModelPrimaryContainerImageConfigPtrOutputWithContext added in v3.12.0

func (i ModelPrimaryContainerImageConfigArgs) ToModelPrimaryContainerImageConfigPtrOutputWithContext(ctx context.Context) ModelPrimaryContainerImageConfigPtrOutput

type ModelPrimaryContainerImageConfigInput added in v3.12.0

type ModelPrimaryContainerImageConfigInput interface {
	pulumi.Input

	ToModelPrimaryContainerImageConfigOutput() ModelPrimaryContainerImageConfigOutput
	ToModelPrimaryContainerImageConfigOutputWithContext(context.Context) ModelPrimaryContainerImageConfigOutput
}

ModelPrimaryContainerImageConfigInput is an input type that accepts ModelPrimaryContainerImageConfigArgs and ModelPrimaryContainerImageConfigOutput values. You can construct a concrete instance of `ModelPrimaryContainerImageConfigInput` via:

ModelPrimaryContainerImageConfigArgs{...}

type ModelPrimaryContainerImageConfigOutput added in v3.12.0

type ModelPrimaryContainerImageConfigOutput struct{ *pulumi.OutputState }

func (ModelPrimaryContainerImageConfigOutput) ElementType added in v3.12.0

func (ModelPrimaryContainerImageConfigOutput) RepositoryAccessMode added in v3.12.0

Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). Allowed values are: `Platform` and `Vpc`.

func (ModelPrimaryContainerImageConfigOutput) ToModelPrimaryContainerImageConfigOutput added in v3.12.0

func (o ModelPrimaryContainerImageConfigOutput) ToModelPrimaryContainerImageConfigOutput() ModelPrimaryContainerImageConfigOutput

func (ModelPrimaryContainerImageConfigOutput) ToModelPrimaryContainerImageConfigOutputWithContext added in v3.12.0

func (o ModelPrimaryContainerImageConfigOutput) ToModelPrimaryContainerImageConfigOutputWithContext(ctx context.Context) ModelPrimaryContainerImageConfigOutput

func (ModelPrimaryContainerImageConfigOutput) ToModelPrimaryContainerImageConfigPtrOutput added in v3.12.0

func (o ModelPrimaryContainerImageConfigOutput) ToModelPrimaryContainerImageConfigPtrOutput() ModelPrimaryContainerImageConfigPtrOutput

func (ModelPrimaryContainerImageConfigOutput) ToModelPrimaryContainerImageConfigPtrOutputWithContext added in v3.12.0

func (o ModelPrimaryContainerImageConfigOutput) ToModelPrimaryContainerImageConfigPtrOutputWithContext(ctx context.Context) ModelPrimaryContainerImageConfigPtrOutput

type ModelPrimaryContainerImageConfigPtrInput added in v3.12.0

type ModelPrimaryContainerImageConfigPtrInput interface {
	pulumi.Input

	ToModelPrimaryContainerImageConfigPtrOutput() ModelPrimaryContainerImageConfigPtrOutput
	ToModelPrimaryContainerImageConfigPtrOutputWithContext(context.Context) ModelPrimaryContainerImageConfigPtrOutput
}

ModelPrimaryContainerImageConfigPtrInput is an input type that accepts ModelPrimaryContainerImageConfigArgs, ModelPrimaryContainerImageConfigPtr and ModelPrimaryContainerImageConfigPtrOutput values. You can construct a concrete instance of `ModelPrimaryContainerImageConfigPtrInput` via:

        ModelPrimaryContainerImageConfigArgs{...}

or:

        nil

type ModelPrimaryContainerImageConfigPtrOutput added in v3.12.0

type ModelPrimaryContainerImageConfigPtrOutput struct{ *pulumi.OutputState }

func (ModelPrimaryContainerImageConfigPtrOutput) Elem added in v3.12.0

func (ModelPrimaryContainerImageConfigPtrOutput) ElementType added in v3.12.0

func (ModelPrimaryContainerImageConfigPtrOutput) RepositoryAccessMode added in v3.12.0

Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). Allowed values are: `Platform` and `Vpc`.

func (ModelPrimaryContainerImageConfigPtrOutput) ToModelPrimaryContainerImageConfigPtrOutput added in v3.12.0

func (o ModelPrimaryContainerImageConfigPtrOutput) ToModelPrimaryContainerImageConfigPtrOutput() ModelPrimaryContainerImageConfigPtrOutput

func (ModelPrimaryContainerImageConfigPtrOutput) ToModelPrimaryContainerImageConfigPtrOutputWithContext added in v3.12.0

func (o ModelPrimaryContainerImageConfigPtrOutput) ToModelPrimaryContainerImageConfigPtrOutputWithContext(ctx context.Context) ModelPrimaryContainerImageConfigPtrOutput

type ModelPrimaryContainerInput

type ModelPrimaryContainerInput interface {
	pulumi.Input

	ToModelPrimaryContainerOutput() ModelPrimaryContainerOutput
	ToModelPrimaryContainerOutputWithContext(context.Context) ModelPrimaryContainerOutput
}

ModelPrimaryContainerInput is an input type that accepts ModelPrimaryContainerArgs and ModelPrimaryContainerOutput values. You can construct a concrete instance of `ModelPrimaryContainerInput` via:

ModelPrimaryContainerArgs{...}

type ModelPrimaryContainerOutput

type ModelPrimaryContainerOutput struct{ *pulumi.OutputState }

func (ModelPrimaryContainerOutput) ContainerHostname

func (o ModelPrimaryContainerOutput) ContainerHostname() pulumi.StringPtrOutput

The DNS host name for the container.

func (ModelPrimaryContainerOutput) ElementType

func (ModelPrimaryContainerOutput) Environment

Environment variables for the Docker container. A list of key value pairs.

func (ModelPrimaryContainerOutput) Image

The registry path where the inference code image is stored in Amazon ECR.

func (ModelPrimaryContainerOutput) ImageConfig added in v3.12.0

Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For more information see [Using a Private Docker Registry for Real-Time Inference Containers](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html). see Image Config.

func (ModelPrimaryContainerOutput) Mode added in v3.11.0

The container hosts value `SingleModel/MultiModel`. The default value is `SingleModel`.

func (ModelPrimaryContainerOutput) ModelDataUrl

The URL for the S3 location where model artifacts are stored.

func (ModelPrimaryContainerOutput) ToModelPrimaryContainerOutput

func (o ModelPrimaryContainerOutput) ToModelPrimaryContainerOutput() ModelPrimaryContainerOutput

func (ModelPrimaryContainerOutput) ToModelPrimaryContainerOutputWithContext

func (o ModelPrimaryContainerOutput) ToModelPrimaryContainerOutputWithContext(ctx context.Context) ModelPrimaryContainerOutput

func (ModelPrimaryContainerOutput) ToModelPrimaryContainerPtrOutput

func (o ModelPrimaryContainerOutput) ToModelPrimaryContainerPtrOutput() ModelPrimaryContainerPtrOutput

func (ModelPrimaryContainerOutput) ToModelPrimaryContainerPtrOutputWithContext

func (o ModelPrimaryContainerOutput) ToModelPrimaryContainerPtrOutputWithContext(ctx context.Context) ModelPrimaryContainerPtrOutput

type ModelPrimaryContainerPtrInput

type ModelPrimaryContainerPtrInput interface {
	pulumi.Input

	ToModelPrimaryContainerPtrOutput() ModelPrimaryContainerPtrOutput
	ToModelPrimaryContainerPtrOutputWithContext(context.Context) ModelPrimaryContainerPtrOutput
}

ModelPrimaryContainerPtrInput is an input type that accepts ModelPrimaryContainerArgs, ModelPrimaryContainerPtr and ModelPrimaryContainerPtrOutput values. You can construct a concrete instance of `ModelPrimaryContainerPtrInput` via:

        ModelPrimaryContainerArgs{...}

or:

        nil

type ModelPrimaryContainerPtrOutput

type ModelPrimaryContainerPtrOutput struct{ *pulumi.OutputState }

func (ModelPrimaryContainerPtrOutput) ContainerHostname

The DNS host name for the container.

func (ModelPrimaryContainerPtrOutput) Elem

func (ModelPrimaryContainerPtrOutput) ElementType

func (ModelPrimaryContainerPtrOutput) Environment

Environment variables for the Docker container. A list of key value pairs.

func (ModelPrimaryContainerPtrOutput) Image

The registry path where the inference code image is stored in Amazon ECR.

func (ModelPrimaryContainerPtrOutput) ImageConfig added in v3.12.0

Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For more information see [Using a Private Docker Registry for Real-Time Inference Containers](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html). see Image Config.

func (ModelPrimaryContainerPtrOutput) Mode added in v3.11.0

The container hosts value `SingleModel/MultiModel`. The default value is `SingleModel`.

func (ModelPrimaryContainerPtrOutput) ModelDataUrl

The URL for the S3 location where model artifacts are stored.

func (ModelPrimaryContainerPtrOutput) ToModelPrimaryContainerPtrOutput

func (o ModelPrimaryContainerPtrOutput) ToModelPrimaryContainerPtrOutput() ModelPrimaryContainerPtrOutput

func (ModelPrimaryContainerPtrOutput) ToModelPrimaryContainerPtrOutputWithContext

func (o ModelPrimaryContainerPtrOutput) ToModelPrimaryContainerPtrOutputWithContext(ctx context.Context) ModelPrimaryContainerPtrOutput

type ModelState

type ModelState struct {
	// The Amazon Resource Name (ARN) assigned by AWS to this model.
	Arn pulumi.StringPtrInput
	// Specifies containers in the inference pipeline. If not specified, the `primaryContainer` argument is required. Fields are documented below.
	Containers ModelContainerArrayInput
	// Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
	EnableNetworkIsolation pulumi.BoolPtrInput
	// A role that SageMaker can assume to access model artifacts and docker images for deployment.
	ExecutionRoleArn pulumi.StringPtrInput
	// The name of the model (must be unique). If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// The primary docker image containing inference code that is used when the model is deployed for predictions.  If not specified, the `container` argument is required. Fields are documented below.
	PrimaryContainer ModelPrimaryContainerPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
	VpcConfig ModelVpcConfigPtrInput
}

func (ModelState) ElementType

func (ModelState) ElementType() reflect.Type

type ModelVpcConfig

type ModelVpcConfig struct {
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	Subnets          []string `pulumi:"subnets"`
}

type ModelVpcConfigArgs

type ModelVpcConfigArgs struct {
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	Subnets          pulumi.StringArrayInput `pulumi:"subnets"`
}

func (ModelVpcConfigArgs) ElementType

func (ModelVpcConfigArgs) ElementType() reflect.Type

func (ModelVpcConfigArgs) ToModelVpcConfigOutput

func (i ModelVpcConfigArgs) ToModelVpcConfigOutput() ModelVpcConfigOutput

func (ModelVpcConfigArgs) ToModelVpcConfigOutputWithContext

func (i ModelVpcConfigArgs) ToModelVpcConfigOutputWithContext(ctx context.Context) ModelVpcConfigOutput

func (ModelVpcConfigArgs) ToModelVpcConfigPtrOutput

func (i ModelVpcConfigArgs) ToModelVpcConfigPtrOutput() ModelVpcConfigPtrOutput

func (ModelVpcConfigArgs) ToModelVpcConfigPtrOutputWithContext

func (i ModelVpcConfigArgs) ToModelVpcConfigPtrOutputWithContext(ctx context.Context) ModelVpcConfigPtrOutput

type ModelVpcConfigInput

type ModelVpcConfigInput interface {
	pulumi.Input

	ToModelVpcConfigOutput() ModelVpcConfigOutput
	ToModelVpcConfigOutputWithContext(context.Context) ModelVpcConfigOutput
}

ModelVpcConfigInput is an input type that accepts ModelVpcConfigArgs and ModelVpcConfigOutput values. You can construct a concrete instance of `ModelVpcConfigInput` via:

ModelVpcConfigArgs{...}

type ModelVpcConfigOutput

type ModelVpcConfigOutput struct{ *pulumi.OutputState }

func (ModelVpcConfigOutput) ElementType

func (ModelVpcConfigOutput) ElementType() reflect.Type

func (ModelVpcConfigOutput) SecurityGroupIds

func (o ModelVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput

func (ModelVpcConfigOutput) Subnets

func (ModelVpcConfigOutput) ToModelVpcConfigOutput

func (o ModelVpcConfigOutput) ToModelVpcConfigOutput() ModelVpcConfigOutput

func (ModelVpcConfigOutput) ToModelVpcConfigOutputWithContext

func (o ModelVpcConfigOutput) ToModelVpcConfigOutputWithContext(ctx context.Context) ModelVpcConfigOutput

func (ModelVpcConfigOutput) ToModelVpcConfigPtrOutput

func (o ModelVpcConfigOutput) ToModelVpcConfigPtrOutput() ModelVpcConfigPtrOutput

func (ModelVpcConfigOutput) ToModelVpcConfigPtrOutputWithContext

func (o ModelVpcConfigOutput) ToModelVpcConfigPtrOutputWithContext(ctx context.Context) ModelVpcConfigPtrOutput

type ModelVpcConfigPtrInput

type ModelVpcConfigPtrInput interface {
	pulumi.Input

	ToModelVpcConfigPtrOutput() ModelVpcConfigPtrOutput
	ToModelVpcConfigPtrOutputWithContext(context.Context) ModelVpcConfigPtrOutput
}

ModelVpcConfigPtrInput is an input type that accepts ModelVpcConfigArgs, ModelVpcConfigPtr and ModelVpcConfigPtrOutput values. You can construct a concrete instance of `ModelVpcConfigPtrInput` via:

        ModelVpcConfigArgs{...}

or:

        nil

type ModelVpcConfigPtrOutput

type ModelVpcConfigPtrOutput struct{ *pulumi.OutputState }

func (ModelVpcConfigPtrOutput) Elem

func (ModelVpcConfigPtrOutput) ElementType

func (ModelVpcConfigPtrOutput) ElementType() reflect.Type

func (ModelVpcConfigPtrOutput) SecurityGroupIds

func (o ModelVpcConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput

func (ModelVpcConfigPtrOutput) Subnets

func (ModelVpcConfigPtrOutput) ToModelVpcConfigPtrOutput

func (o ModelVpcConfigPtrOutput) ToModelVpcConfigPtrOutput() ModelVpcConfigPtrOutput

func (ModelVpcConfigPtrOutput) ToModelVpcConfigPtrOutputWithContext

func (o ModelVpcConfigPtrOutput) ToModelVpcConfigPtrOutputWithContext(ctx context.Context) ModelVpcConfigPtrOutput

type NotebookInstance

type NotebookInstance struct {
	pulumi.CustomResourceState

	// An array of up to three Git repositories to associate with the notebook instance.
	// These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in [AWS CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
	AdditionalCodeRepositories pulumi.StringArrayOutput `pulumi:"additionalCodeRepositories"`
	// The Amazon Resource Name (ARN) assigned by AWS to this notebook instance.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in [AWS CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository.
	DefaultCodeRepository pulumi.StringPtrOutput `pulumi:"defaultCodeRepository"`
	// Set to `Disabled` to disable internet access to notebook. Requires `securityGroups` and `subnetId` to be set. Supported values: `Enabled` (Default) or `Disabled`. If set to `Disabled`, the notebook instance will be able to access resources only in your VPC, and will not be able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT Gateway in your VPC.
	DirectInternetAccess pulumi.StringPtrOutput `pulumi:"directInternetAccess"`
	// The name of ML compute instance type.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
	KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"`
	// The name of a lifecycle configuration to associate with the notebook instance.
	LifecycleConfigName pulumi.StringPtrOutput `pulumi:"lifecycleConfigName"`
	// The name of the notebook instance (must be unique).
	Name pulumi.StringOutput `pulumi:"name"`
	// The network interface ID that Amazon SageMaker created at the time of creating the instance. Only available when setting `subnetId`.
	NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
	// The ARN of the IAM role to be used by the notebook instance which allows SageMaker to call other services on your behalf.
	RoleArn pulumi.StringOutput `pulumi:"roleArn"`
	// Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
	RootAccess pulumi.StringPtrOutput `pulumi:"rootAccess"`
	// The associated security groups.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// The VPC subnet ID.
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.
	Url pulumi.StringOutput `pulumi:"url"`
	// The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.
	VolumeSize pulumi.IntPtrOutput `pulumi:"volumeSize"`
}

Provides a Sagemaker Notebook Instance resource.

## Example Usage ### Basic usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sagemaker.NewNotebookInstance(ctx, "ni", &sagemaker.NotebookInstanceArgs{
			RoleArn:      pulumi.Any(aws_iam_role.Role.Arn),
			InstanceType: pulumi.String("ml.t2.medium"),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("foo"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Code repository usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := sagemaker.NewCodeRepository(ctx, "example", &sagemaker.CodeRepositoryArgs{
			CodeRepositoryName: pulumi.String("my-notebook-instance-code-repo"),
			GitConfig: &sagemaker.CodeRepositoryGitConfigArgs{
				RepositoryUrl: pulumi.String("https://github.com/hashicorp/terraform-provider-aws.git"),
			},
		})
		if err != nil {
			return err
		}
		_, err = sagemaker.NewNotebookInstance(ctx, "ni", &sagemaker.NotebookInstanceArgs{
			RoleArn:               pulumi.Any(aws_iam_role.Role.Arn),
			InstanceType:          pulumi.String("ml.t2.medium"),
			DefaultCodeRepository: example.CodeRepositoryName,
			Tags: pulumi.StringMap{
				"Name": pulumi.String("foo"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Sagemaker Notebook Instances can be imported using the `name`, e.g.

```sh

$ pulumi import aws:sagemaker/notebookInstance:NotebookInstance test_notebook_instance my-notebook-instance

```

func GetNotebookInstance

func GetNotebookInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NotebookInstanceState, opts ...pulumi.ResourceOption) (*NotebookInstance, error)

GetNotebookInstance gets an existing NotebookInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNotebookInstance

func NewNotebookInstance(ctx *pulumi.Context,
	name string, args *NotebookInstanceArgs, opts ...pulumi.ResourceOption) (*NotebookInstance, error)

NewNotebookInstance registers a new resource with the given unique name, arguments, and options.

func (NotebookInstance) ElementType added in v3.13.0

func (NotebookInstance) ElementType() reflect.Type

func (NotebookInstance) ToNotebookInstanceOutput added in v3.13.0

func (i NotebookInstance) ToNotebookInstanceOutput() NotebookInstanceOutput

func (NotebookInstance) ToNotebookInstanceOutputWithContext added in v3.13.0

func (i NotebookInstance) ToNotebookInstanceOutputWithContext(ctx context.Context) NotebookInstanceOutput

type NotebookInstanceArgs

type NotebookInstanceArgs struct {
	// An array of up to three Git repositories to associate with the notebook instance.
	// These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in [AWS CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
	AdditionalCodeRepositories pulumi.StringArrayInput
	// The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in [AWS CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository.
	DefaultCodeRepository pulumi.StringPtrInput
	// Set to `Disabled` to disable internet access to notebook. Requires `securityGroups` and `subnetId` to be set. Supported values: `Enabled` (Default) or `Disabled`. If set to `Disabled`, the notebook instance will be able to access resources only in your VPC, and will not be able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT Gateway in your VPC.
	DirectInternetAccess pulumi.StringPtrInput
	// The name of ML compute instance type.
	InstanceType pulumi.StringInput
	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
	KmsKeyId pulumi.StringPtrInput
	// The name of a lifecycle configuration to associate with the notebook instance.
	LifecycleConfigName pulumi.StringPtrInput
	// The name of the notebook instance (must be unique).
	Name pulumi.StringPtrInput
	// The ARN of the IAM role to be used by the notebook instance which allows SageMaker to call other services on your behalf.
	RoleArn pulumi.StringInput
	// Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
	RootAccess pulumi.StringPtrInput
	// The associated security groups.
	SecurityGroups pulumi.StringArrayInput
	// The VPC subnet ID.
	SubnetId pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.
	VolumeSize pulumi.IntPtrInput
}

The set of arguments for constructing a NotebookInstance resource.

func (NotebookInstanceArgs) ElementType

func (NotebookInstanceArgs) ElementType() reflect.Type

type NotebookInstanceInput added in v3.13.0

type NotebookInstanceInput interface {
	pulumi.Input

	ToNotebookInstanceOutput() NotebookInstanceOutput
	ToNotebookInstanceOutputWithContext(ctx context.Context) NotebookInstanceOutput
}

type NotebookInstanceLifecycleConfiguration

type NotebookInstanceLifecycleConfiguration struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) assigned by AWS to this lifecycle configuration.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
	Name pulumi.StringOutput `pulumi:"name"`
	// A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
	OnCreate pulumi.StringPtrOutput `pulumi:"onCreate"`
	// A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it's created.
	OnStart pulumi.StringPtrOutput `pulumi:"onStart"`
}

Provides a lifecycle configuration for SageMaker Notebook Instances.

## Import

Models can be imported using the `name`, e.g.

```sh

$ pulumi import aws:sagemaker/notebookInstanceLifecycleConfiguration:NotebookInstanceLifecycleConfiguration lc foo

```

func GetNotebookInstanceLifecycleConfiguration

func GetNotebookInstanceLifecycleConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NotebookInstanceLifecycleConfigurationState, opts ...pulumi.ResourceOption) (*NotebookInstanceLifecycleConfiguration, error)

GetNotebookInstanceLifecycleConfiguration gets an existing NotebookInstanceLifecycleConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNotebookInstanceLifecycleConfiguration

func NewNotebookInstanceLifecycleConfiguration(ctx *pulumi.Context,
	name string, args *NotebookInstanceLifecycleConfigurationArgs, opts ...pulumi.ResourceOption) (*NotebookInstanceLifecycleConfiguration, error)

NewNotebookInstanceLifecycleConfiguration registers a new resource with the given unique name, arguments, and options.

func (NotebookInstanceLifecycleConfiguration) ElementType added in v3.13.0

func (NotebookInstanceLifecycleConfiguration) ToNotebookInstanceLifecycleConfigurationOutput added in v3.13.0

func (i NotebookInstanceLifecycleConfiguration) ToNotebookInstanceLifecycleConfigurationOutput() NotebookInstanceLifecycleConfigurationOutput

func (NotebookInstanceLifecycleConfiguration) ToNotebookInstanceLifecycleConfigurationOutputWithContext added in v3.13.0

func (i NotebookInstanceLifecycleConfiguration) ToNotebookInstanceLifecycleConfigurationOutputWithContext(ctx context.Context) NotebookInstanceLifecycleConfigurationOutput

type NotebookInstanceLifecycleConfigurationArgs

type NotebookInstanceLifecycleConfigurationArgs struct {
	// The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
	OnCreate pulumi.StringPtrInput
	// A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it's created.
	OnStart pulumi.StringPtrInput
}

The set of arguments for constructing a NotebookInstanceLifecycleConfiguration resource.

func (NotebookInstanceLifecycleConfigurationArgs) ElementType

type NotebookInstanceLifecycleConfigurationInput added in v3.13.0

type NotebookInstanceLifecycleConfigurationInput interface {
	pulumi.Input

	ToNotebookInstanceLifecycleConfigurationOutput() NotebookInstanceLifecycleConfigurationOutput
	ToNotebookInstanceLifecycleConfigurationOutputWithContext(ctx context.Context) NotebookInstanceLifecycleConfigurationOutput
}

type NotebookInstanceLifecycleConfigurationOutput added in v3.13.0

type NotebookInstanceLifecycleConfigurationOutput struct {
	*pulumi.OutputState
}

func (NotebookInstanceLifecycleConfigurationOutput) ElementType added in v3.13.0

func (NotebookInstanceLifecycleConfigurationOutput) ToNotebookInstanceLifecycleConfigurationOutput added in v3.13.0

func (o NotebookInstanceLifecycleConfigurationOutput) ToNotebookInstanceLifecycleConfigurationOutput() NotebookInstanceLifecycleConfigurationOutput

func (NotebookInstanceLifecycleConfigurationOutput) ToNotebookInstanceLifecycleConfigurationOutputWithContext added in v3.13.0

func (o NotebookInstanceLifecycleConfigurationOutput) ToNotebookInstanceLifecycleConfigurationOutputWithContext(ctx context.Context) NotebookInstanceLifecycleConfigurationOutput

type NotebookInstanceLifecycleConfigurationState

type NotebookInstanceLifecycleConfigurationState struct {
	// The Amazon Resource Name (ARN) assigned by AWS to this lifecycle configuration.
	Arn pulumi.StringPtrInput
	// The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
	OnCreate pulumi.StringPtrInput
	// A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it's created.
	OnStart pulumi.StringPtrInput
}

func (NotebookInstanceLifecycleConfigurationState) ElementType

type NotebookInstanceOutput added in v3.13.0

type NotebookInstanceOutput struct {
	*pulumi.OutputState
}

func (NotebookInstanceOutput) ElementType added in v3.13.0

func (NotebookInstanceOutput) ElementType() reflect.Type

func (NotebookInstanceOutput) ToNotebookInstanceOutput added in v3.13.0

func (o NotebookInstanceOutput) ToNotebookInstanceOutput() NotebookInstanceOutput

func (NotebookInstanceOutput) ToNotebookInstanceOutputWithContext added in v3.13.0

func (o NotebookInstanceOutput) ToNotebookInstanceOutputWithContext(ctx context.Context) NotebookInstanceOutput

type NotebookInstanceState

type NotebookInstanceState struct {
	// An array of up to three Git repositories to associate with the notebook instance.
	// These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in [AWS CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
	AdditionalCodeRepositories pulumi.StringArrayInput
	// The Amazon Resource Name (ARN) assigned by AWS to this notebook instance.
	Arn pulumi.StringPtrInput
	// The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in [AWS CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository.
	DefaultCodeRepository pulumi.StringPtrInput
	// Set to `Disabled` to disable internet access to notebook. Requires `securityGroups` and `subnetId` to be set. Supported values: `Enabled` (Default) or `Disabled`. If set to `Disabled`, the notebook instance will be able to access resources only in your VPC, and will not be able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT Gateway in your VPC.
	DirectInternetAccess pulumi.StringPtrInput
	// The name of ML compute instance type.
	InstanceType pulumi.StringPtrInput
	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
	KmsKeyId pulumi.StringPtrInput
	// The name of a lifecycle configuration to associate with the notebook instance.
	LifecycleConfigName pulumi.StringPtrInput
	// The name of the notebook instance (must be unique).
	Name pulumi.StringPtrInput
	// The network interface ID that Amazon SageMaker created at the time of creating the instance. Only available when setting `subnetId`.
	NetworkInterfaceId pulumi.StringPtrInput
	// The ARN of the IAM role to be used by the notebook instance which allows SageMaker to call other services on your behalf.
	RoleArn pulumi.StringPtrInput
	// Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
	RootAccess pulumi.StringPtrInput
	// The associated security groups.
	SecurityGroups pulumi.StringArrayInput
	// The VPC subnet ID.
	SubnetId pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.
	Url pulumi.StringPtrInput
	// The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.
	VolumeSize pulumi.IntPtrInput
}

func (NotebookInstanceState) ElementType

func (NotebookInstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL