imagebuilderimagerecipe

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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 BlockDeviceMapping

type BlockDeviceMapping struct {
	// DeviceName: string, optional
	DeviceName terra.StringValue `hcl:"device_name,attr"`
	// NoDevice: bool, optional
	NoDevice terra.BoolValue `hcl:"no_device,attr"`
	// VirtualName: string, optional
	VirtualName terra.StringValue `hcl:"virtual_name,attr"`
	// Ebs: optional
	Ebs *Ebs `hcl:"ebs,block"`
}

type BlockDeviceMappingAttributes

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

func (BlockDeviceMappingAttributes) DeviceName

func (BlockDeviceMappingAttributes) Ebs

func (BlockDeviceMappingAttributes) InternalRef

func (bdm BlockDeviceMappingAttributes) InternalRef() (terra.Reference, error)

func (BlockDeviceMappingAttributes) InternalTokens

func (bdm BlockDeviceMappingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BlockDeviceMappingAttributes) InternalWithRef

func (BlockDeviceMappingAttributes) NoDevice

func (BlockDeviceMappingAttributes) VirtualName

type BlockDeviceMappingState

type BlockDeviceMappingState struct {
	DeviceName  string     `json:"device_name"`
	NoDevice    bool       `json:"no_device"`
	VirtualName string     `json:"virtual_name"`
	Ebs         []EbsState `json:"ebs"`
}

type Component

type Component struct {
	// ComponentArn: string, required
	ComponentArn terra.StringValue `hcl:"component_arn,attr" validate:"required"`
	// Parameter: min=0
	Parameter []Parameter `hcl:"parameter,block" validate:"min=0"`
}

type ComponentAttributes

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

func (ComponentAttributes) ComponentArn

func (c ComponentAttributes) ComponentArn() terra.StringValue

func (ComponentAttributes) InternalRef

func (c ComponentAttributes) InternalRef() (terra.Reference, error)

func (ComponentAttributes) InternalTokens

func (c ComponentAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ComponentAttributes) InternalWithRef

func (c ComponentAttributes) InternalWithRef(ref terra.Reference) ComponentAttributes

func (ComponentAttributes) Parameter

type ComponentState

type ComponentState struct {
	ComponentArn string           `json:"component_arn"`
	Parameter    []ParameterState `json:"parameter"`
}

type Ebs

type Ebs struct {
	// DeleteOnTermination: string, optional
	DeleteOnTermination terra.StringValue `hcl:"delete_on_termination,attr"`
	// Encrypted: string, optional
	Encrypted terra.StringValue `hcl:"encrypted,attr"`
	// Iops: number, optional
	Iops terra.NumberValue `hcl:"iops,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// SnapshotId: string, optional
	SnapshotId terra.StringValue `hcl:"snapshot_id,attr"`
	// Throughput: number, optional
	Throughput terra.NumberValue `hcl:"throughput,attr"`
	// VolumeSize: number, optional
	VolumeSize terra.NumberValue `hcl:"volume_size,attr"`
	// VolumeType: string, optional
	VolumeType terra.StringValue `hcl:"volume_type,attr"`
}

type EbsAttributes

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

func (EbsAttributes) DeleteOnTermination

func (e EbsAttributes) DeleteOnTermination() terra.StringValue

func (EbsAttributes) Encrypted

func (e EbsAttributes) Encrypted() terra.StringValue

func (EbsAttributes) InternalRef

func (e EbsAttributes) InternalRef() (terra.Reference, error)

func (EbsAttributes) InternalTokens

func (e EbsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EbsAttributes) InternalWithRef

func (e EbsAttributes) InternalWithRef(ref terra.Reference) EbsAttributes

func (EbsAttributes) Iops

func (e EbsAttributes) Iops() terra.NumberValue

func (EbsAttributes) KmsKeyId

func (e EbsAttributes) KmsKeyId() terra.StringValue

func (EbsAttributes) SnapshotId

func (e EbsAttributes) SnapshotId() terra.StringValue

func (EbsAttributes) Throughput

func (e EbsAttributes) Throughput() terra.NumberValue

func (EbsAttributes) VolumeSize

func (e EbsAttributes) VolumeSize() terra.NumberValue

func (EbsAttributes) VolumeType

func (e EbsAttributes) VolumeType() terra.StringValue

type EbsState

type EbsState struct {
	DeleteOnTermination string  `json:"delete_on_termination"`
	Encrypted           string  `json:"encrypted"`
	Iops                float64 `json:"iops"`
	KmsKeyId            string  `json:"kms_key_id"`
	SnapshotId          string  `json:"snapshot_id"`
	Throughput          float64 `json:"throughput"`
	VolumeSize          float64 `json:"volume_size"`
	VolumeType          string  `json:"volume_type"`
}

type Parameter

type Parameter struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ParameterAttributes

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

func (ParameterAttributes) InternalRef

func (p ParameterAttributes) InternalRef() (terra.Reference, error)

func (ParameterAttributes) InternalTokens

func (p ParameterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ParameterAttributes) InternalWithRef

func (p ParameterAttributes) InternalWithRef(ref terra.Reference) ParameterAttributes

func (ParameterAttributes) Name

func (ParameterAttributes) Value

type ParameterState

type ParameterState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type SystemsManagerAgent

type SystemsManagerAgent struct {
	// UninstallAfterBuild: bool, required
	UninstallAfterBuild terra.BoolValue `hcl:"uninstall_after_build,attr" validate:"required"`
}

type SystemsManagerAgentAttributes

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

func (SystemsManagerAgentAttributes) InternalRef

func (sma SystemsManagerAgentAttributes) InternalRef() (terra.Reference, error)

func (SystemsManagerAgentAttributes) InternalTokens

func (sma SystemsManagerAgentAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SystemsManagerAgentAttributes) InternalWithRef

func (SystemsManagerAgentAttributes) UninstallAfterBuild

func (sma SystemsManagerAgentAttributes) UninstallAfterBuild() terra.BoolValue

type SystemsManagerAgentState

type SystemsManagerAgentState struct {
	UninstallAfterBuild bool `json:"uninstall_after_build"`
}

Jump to

Keyboard shortcuts

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