sagemaker

package
v0.16.9 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model added in v0.16.8

type Model struct {
	// contains filtered or unexported fields
}

Provides a SageMaker model resource.

func GetModel added in v0.16.8

func GetModel(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ModelState, opts ...pulumi.ResourceOpt) (*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 added in v0.16.8

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

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

func (*Model) Arn added in v0.16.8

func (r *Model) Arn() *pulumi.StringOutput

The Amazon Resource Name (ARN) assigned by AWS to this model.

func (*Model) Containers added in v0.16.8

func (r *Model) Containers() *pulumi.ArrayOutput

Specifies containers in the inference pipeline. If not specified, the `primary_container` argument is required. Fields are documented below.

func (*Model) EnableNetworkIsolation added in v0.16.8

func (r *Model) EnableNetworkIsolation() *pulumi.BoolOutput

Isolates the model container. No inbound or outbound network calls can be made to or from the model container.

func (*Model) ExecutionRoleArn added in v0.16.8

func (r *Model) ExecutionRoleArn() *pulumi.StringOutput

A role that SageMaker can assume to access model artifacts and docker images for deployment.

func (*Model) ID added in v0.16.8

func (r *Model) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Model) Name added in v0.16.8

func (r *Model) Name() *pulumi.StringOutput

The name of the model (must be unique). If omitted, Terraform will assign a random, unique name.

func (*Model) PrimaryContainer added in v0.16.8

func (r *Model) PrimaryContainer() *pulumi.Output

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.

func (*Model) Tags added in v0.16.8

func (r *Model) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Model) URN added in v0.16.8

func (r *Model) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Model) VpcConfig added in v0.16.8

func (r *Model) VpcConfig() *pulumi.Output

Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.

type ModelArgs added in v0.16.8

type ModelArgs struct {
	// Specifies containers in the inference pipeline. If not specified, the `primary_container` argument is required. Fields are documented below.
	Containers interface{}
	// Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
	EnableNetworkIsolation interface{}
	// A role that SageMaker can assume to access model artifacts and docker images for deployment.
	ExecutionRoleArn interface{}
	// The name of the model (must be unique). If omitted, Terraform will assign a random, unique name.
	Name interface{}
	// 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 interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
	VpcConfig interface{}
}

The set of arguments for constructing a Model resource.

type ModelState added in v0.16.8

type ModelState struct {
	// The Amazon Resource Name (ARN) assigned by AWS to this model.
	Arn interface{}
	// Specifies containers in the inference pipeline. If not specified, the `primary_container` argument is required. Fields are documented below.
	Containers interface{}
	// Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
	EnableNetworkIsolation interface{}
	// A role that SageMaker can assume to access model artifacts and docker images for deployment.
	ExecutionRoleArn interface{}
	// The name of the model (must be unique). If omitted, Terraform will assign a random, unique name.
	Name interface{}
	// 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 interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
	VpcConfig interface{}
}

Input properties used for looking up and filtering Model resources.

type NotebookInstance

type NotebookInstance struct {
	// contains filtered or unexported fields
}

Provides a Sagemaker Notebook Instance resource.

func GetNotebookInstance

func GetNotebookInstance(ctx *pulumi.Context,
	name string, id pulumi.ID, state *NotebookInstanceState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*NotebookInstance, error)

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

func (*NotebookInstance) Arn

The Amazon Resource Name (ARN) assigned by AWS to this notebook instance.

func (*NotebookInstance) ID

func (r *NotebookInstance) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*NotebookInstance) InstanceType

func (r *NotebookInstance) InstanceType() *pulumi.StringOutput

The name of ML compute instance type.

func (*NotebookInstance) KmsKeyId

func (r *NotebookInstance) KmsKeyId() *pulumi.StringOutput

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.

func (*NotebookInstance) Name

The name of the notebook instance (must be unique).

func (*NotebookInstance) RoleArn

func (r *NotebookInstance) RoleArn() *pulumi.StringOutput

The ARN of the IAM role to be used by the notebook instance which allows SageMaker to call other services on your behalf.

func (*NotebookInstance) SecurityGroups

func (r *NotebookInstance) SecurityGroups() *pulumi.ArrayOutput

The associated security groups.

func (*NotebookInstance) SubnetId

func (r *NotebookInstance) SubnetId() *pulumi.StringOutput

The VPC subnet ID.

func (*NotebookInstance) Tags

func (r *NotebookInstance) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*NotebookInstance) URN

func (r *NotebookInstance) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type NotebookInstanceArgs

type NotebookInstanceArgs struct {
	// The name of ML compute instance type.
	InstanceType interface{}
	// 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 interface{}
	// The name of the notebook instance (must be unique).
	Name interface{}
	// The ARN of the IAM role to be used by the notebook instance which allows SageMaker to call other services on your behalf.
	RoleArn interface{}
	// The associated security groups.
	SecurityGroups interface{}
	// The VPC subnet ID.
	SubnetId interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a NotebookInstance resource.

type NotebookInstanceState

type NotebookInstanceState struct {
	// The Amazon Resource Name (ARN) assigned by AWS to this notebook instance.
	Arn interface{}
	// The name of ML compute instance type.
	InstanceType interface{}
	// 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 interface{}
	// The name of the notebook instance (must be unique).
	Name interface{}
	// The ARN of the IAM role to be used by the notebook instance which allows SageMaker to call other services on your behalf.
	RoleArn interface{}
	// The associated security groups.
	SecurityGroups interface{}
	// The VPC subnet ID.
	SubnetId interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering NotebookInstance resources.

Jump to

Keyboard shortcuts

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