aws_sagemaker_device

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 {
	// DeviceFleetName: string, required
	DeviceFleetName terra.StringValue `hcl:"device_fleet_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Device: required
	Device *Device `hcl:"device,block" validate:"required"`
}

Args contains the configurations for aws_sagemaker_device.

type Device

type Device struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DeviceName: string, required
	DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"`
	// IotThingName: string, optional
	IotThingName terra.StringValue `hcl:"iot_thing_name,attr"`
}

type DeviceAttributes

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

func (DeviceAttributes) Description

func (d DeviceAttributes) Description() terra.StringValue

func (DeviceAttributes) DeviceName

func (d DeviceAttributes) DeviceName() terra.StringValue

func (DeviceAttributes) InternalRef

func (d DeviceAttributes) InternalRef() (terra.Reference, error)

func (DeviceAttributes) InternalTokens

func (d DeviceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DeviceAttributes) InternalWithRef

func (d DeviceAttributes) InternalWithRef(ref terra.Reference) DeviceAttributes

func (DeviceAttributes) IotThingName

func (d DeviceAttributes) IotThingName() terra.StringValue

type DeviceState

type DeviceState struct {
	Description  string `json:"description"`
	DeviceName   string `json:"device_name"`
	IotThingName string `json:"iot_thing_name"`
}

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_device.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (asd *Resource) Attributes() awsSagemakerDeviceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asd *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asd *Resource) State() (*awsSagemakerDeviceState, bool)

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

func (*Resource) StateMust

func (asd *Resource) StateMust() *awsSagemakerDeviceState

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

func (*Resource) Type

func (asd *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