aws_sagemaker_app_image_config

package
v5.45.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AppImageConfigName: string, required
	AppImageConfigName terra.StringValue `hcl:"app_image_config_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// KernelGatewayImageConfig: optional
	KernelGatewayImageConfig *KernelGatewayImageConfig `hcl:"kernel_gateway_image_config,block"`
}

Args contains the configurations for aws_sagemaker_app_image_config.

type KernelGatewayImageConfig

type KernelGatewayImageConfig struct {
	// KernelGatewayImageConfigFileSystemConfig: optional
	FileSystemConfig *KernelGatewayImageConfigFileSystemConfig `hcl:"file_system_config,block"`
	// KernelGatewayImageConfigKernelSpec: required
	KernelSpec *KernelGatewayImageConfigKernelSpec `hcl:"kernel_spec,block" validate:"required"`
}

type KernelGatewayImageConfigAttributes

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

func (KernelGatewayImageConfigAttributes) FileSystemConfig

func (KernelGatewayImageConfigAttributes) InternalRef

func (KernelGatewayImageConfigAttributes) InternalTokens

func (kgic KernelGatewayImageConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KernelGatewayImageConfigAttributes) InternalWithRef

func (KernelGatewayImageConfigAttributes) KernelSpec

type KernelGatewayImageConfigFileSystemConfig

type KernelGatewayImageConfigFileSystemConfig struct {
	// DefaultGid: number, optional
	DefaultGid terra.NumberValue `hcl:"default_gid,attr"`
	// DefaultUid: number, optional
	DefaultUid terra.NumberValue `hcl:"default_uid,attr"`
	// MountPath: string, optional
	MountPath terra.StringValue `hcl:"mount_path,attr"`
}

type KernelGatewayImageConfigFileSystemConfigAttributes

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

func (KernelGatewayImageConfigFileSystemConfigAttributes) DefaultGid

func (KernelGatewayImageConfigFileSystemConfigAttributes) DefaultUid

func (KernelGatewayImageConfigFileSystemConfigAttributes) InternalRef

func (KernelGatewayImageConfigFileSystemConfigAttributes) InternalTokens

func (KernelGatewayImageConfigFileSystemConfigAttributes) InternalWithRef

func (KernelGatewayImageConfigFileSystemConfigAttributes) MountPath

type KernelGatewayImageConfigFileSystemConfigState

type KernelGatewayImageConfigFileSystemConfigState struct {
	DefaultGid float64 `json:"default_gid"`
	DefaultUid float64 `json:"default_uid"`
	MountPath  string  `json:"mount_path"`
}

type KernelGatewayImageConfigKernelSpec

type KernelGatewayImageConfigKernelSpec struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type KernelGatewayImageConfigKernelSpecAttributes

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

func (KernelGatewayImageConfigKernelSpecAttributes) DisplayName

func (KernelGatewayImageConfigKernelSpecAttributes) InternalRef

func (KernelGatewayImageConfigKernelSpecAttributes) InternalTokens

func (KernelGatewayImageConfigKernelSpecAttributes) InternalWithRef

func (KernelGatewayImageConfigKernelSpecAttributes) Name

type KernelGatewayImageConfigKernelSpecState

type KernelGatewayImageConfigKernelSpecState struct {
	DisplayName string `json:"display_name"`
	Name        string `json:"name"`
}

type KernelGatewayImageConfigState

type KernelGatewayImageConfigState struct {
	FileSystemConfig []KernelGatewayImageConfigFileSystemConfigState `json:"file_system_config"`
	KernelSpec       []KernelGatewayImageConfigKernelSpecState       `json:"kernel_spec"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_sagemaker_app_image_config.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (asaic *Resource) Attributes() awsSagemakerAppImageConfigAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (asaic *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (asaic *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (asaic *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (asaic *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (asaic *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asaic *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asaic *Resource) State() (*awsSagemakerAppImageConfigState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (asaic *Resource) StateMust() *awsSagemakerAppImageConfigState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (asaic *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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