Documentation
¶
Index ¶
- type Args
- type Component
- type ComponentAttributes
- func (c ComponentAttributes) ComponentArn() terra.StringValue
- func (c ComponentAttributes) InternalRef() (terra.Reference, error)
- func (c ComponentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ComponentAttributes) InternalWithRef(ref terra.Reference) ComponentAttributes
- func (c ComponentAttributes) Parameter() terra.SetValue[ComponentParameterAttributes]
- type ComponentParameter
- type ComponentParameterAttributes
- func (p ComponentParameterAttributes) InternalRef() (terra.Reference, error)
- func (p ComponentParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p ComponentParameterAttributes) InternalWithRef(ref terra.Reference) ComponentParameterAttributes
- func (p ComponentParameterAttributes) Name() terra.StringValue
- func (p ComponentParameterAttributes) Value() terra.StringValue
- type ComponentParameterState
- type ComponentState
- type DataArgs
- type DataComponentAttributes
- func (c DataComponentAttributes) ComponentArn() terra.StringValue
- func (c DataComponentAttributes) InternalRef() (terra.Reference, error)
- func (c DataComponentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c DataComponentAttributes) InternalWithRef(ref terra.Reference) DataComponentAttributes
- func (c DataComponentAttributes) Parameter() terra.SetValue[DataComponentParameterAttributes]
- type DataComponentParameterAttributes
- func (p DataComponentParameterAttributes) InternalRef() (terra.Reference, error)
- func (p DataComponentParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p DataComponentParameterAttributes) InternalWithRef(ref terra.Reference) DataComponentParameterAttributes
- func (p DataComponentParameterAttributes) Name() terra.StringValue
- func (p DataComponentParameterAttributes) Value() terra.StringValue
- type DataComponentParameterState
- type DataComponentState
- type DataInstanceConfigurationAttributes
- func (ic DataInstanceConfigurationAttributes) BlockDeviceMapping() terra.SetValue[DataInstanceConfigurationBlockDeviceMappingAttributes]
- func (ic DataInstanceConfigurationAttributes) Image() terra.StringValue
- func (ic DataInstanceConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ic DataInstanceConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ic DataInstanceConfigurationAttributes) InternalWithRef(ref terra.Reference) DataInstanceConfigurationAttributes
- type DataInstanceConfigurationBlockDeviceMappingAttributes
- func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) DeviceName() terra.StringValue
- func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) Ebs() terra.ListValue[DataInstanceConfigurationBlockDeviceMappingEbsAttributes]
- func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) InternalRef() (terra.Reference, error)
- func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) InternalWithRef(ref terra.Reference) DataInstanceConfigurationBlockDeviceMappingAttributes
- func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) NoDevice() terra.StringValue
- func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) VirtualName() terra.StringValue
- type DataInstanceConfigurationBlockDeviceMappingEbsAttributes
- func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) DeleteOnTermination() terra.BoolValue
- func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) Encrypted() terra.BoolValue
- func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) InternalRef() (terra.Reference, error)
- func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) InternalWithRef(ref terra.Reference) DataInstanceConfigurationBlockDeviceMappingEbsAttributes
- func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) Iops() terra.NumberValue
- func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) KmsKeyId() terra.StringValue
- func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) SnapshotId() terra.StringValue
- func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) Throughput() terra.NumberValue
- func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeSize() terra.NumberValue
- func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeType() terra.StringValue
- type DataInstanceConfigurationBlockDeviceMappingEbsState
- type DataInstanceConfigurationBlockDeviceMappingState
- type DataInstanceConfigurationState
- type DataSource
- type DataTargetRepositoryAttributes
- func (tr DataTargetRepositoryAttributes) InternalRef() (terra.Reference, error)
- func (tr DataTargetRepositoryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tr DataTargetRepositoryAttributes) InternalWithRef(ref terra.Reference) DataTargetRepositoryAttributes
- func (tr DataTargetRepositoryAttributes) RepositoryName() terra.StringValue
- func (tr DataTargetRepositoryAttributes) Service() terra.StringValue
- type DataTargetRepositoryState
- type InstanceConfiguration
- type InstanceConfigurationAttributes
- func (ic InstanceConfigurationAttributes) BlockDeviceMapping() terra.SetValue[InstanceConfigurationBlockDeviceMappingAttributes]
- func (ic InstanceConfigurationAttributes) Image() terra.StringValue
- func (ic InstanceConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ic InstanceConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ic InstanceConfigurationAttributes) InternalWithRef(ref terra.Reference) InstanceConfigurationAttributes
- type InstanceConfigurationBlockDeviceMapping
- type InstanceConfigurationBlockDeviceMappingAttributes
- func (bdm InstanceConfigurationBlockDeviceMappingAttributes) DeviceName() terra.StringValue
- func (bdm InstanceConfigurationBlockDeviceMappingAttributes) Ebs() terra.ListValue[InstanceConfigurationBlockDeviceMappingEbsAttributes]
- func (bdm InstanceConfigurationBlockDeviceMappingAttributes) InternalRef() (terra.Reference, error)
- func (bdm InstanceConfigurationBlockDeviceMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bdm InstanceConfigurationBlockDeviceMappingAttributes) InternalWithRef(ref terra.Reference) InstanceConfigurationBlockDeviceMappingAttributes
- func (bdm InstanceConfigurationBlockDeviceMappingAttributes) NoDevice() terra.BoolValue
- func (bdm InstanceConfigurationBlockDeviceMappingAttributes) VirtualName() terra.StringValue
- type InstanceConfigurationBlockDeviceMappingEbs
- type InstanceConfigurationBlockDeviceMappingEbsAttributes
- func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) DeleteOnTermination() terra.StringValue
- func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) Encrypted() terra.StringValue
- func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) InternalRef() (terra.Reference, error)
- func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) InternalWithRef(ref terra.Reference) InstanceConfigurationBlockDeviceMappingEbsAttributes
- func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) Iops() terra.NumberValue
- func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) KmsKeyId() terra.StringValue
- func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) SnapshotId() terra.StringValue
- func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) Throughput() terra.NumberValue
- func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeSize() terra.NumberValue
- func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeType() terra.StringValue
- type InstanceConfigurationBlockDeviceMappingEbsState
- type InstanceConfigurationBlockDeviceMappingState
- type InstanceConfigurationState
- type Resource
- func (aicr *Resource) Attributes() awsImagebuilderContainerRecipeAttributes
- func (aicr *Resource) Configuration() interface{}
- func (aicr *Resource) DependOn() terra.Reference
- func (aicr *Resource) Dependencies() terra.Dependencies
- func (aicr *Resource) ImportState(state io.Reader) error
- func (aicr *Resource) LifecycleManagement() *terra.Lifecycle
- func (aicr *Resource) LocalName() string
- func (aicr *Resource) State() (*awsImagebuilderContainerRecipeState, bool)
- func (aicr *Resource) StateMust() *awsImagebuilderContainerRecipeState
- func (aicr *Resource) Type() string
- type TargetRepository
- type TargetRepositoryAttributes
- func (tr TargetRepositoryAttributes) InternalRef() (terra.Reference, error)
- func (tr TargetRepositoryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tr TargetRepositoryAttributes) InternalWithRef(ref terra.Reference) TargetRepositoryAttributes
- func (tr TargetRepositoryAttributes) RepositoryName() terra.StringValue
- func (tr TargetRepositoryAttributes) Service() terra.StringValue
- type TargetRepositoryState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ContainerType: string, required ContainerType terra.StringValue `hcl:"container_type,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DockerfileTemplateData: string, optional DockerfileTemplateData terra.StringValue `hcl:"dockerfile_template_data,attr"` // DockerfileTemplateUri: string, optional DockerfileTemplateUri terra.StringValue `hcl:"dockerfile_template_uri,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ParentImage: string, required ParentImage terra.StringValue `hcl:"parent_image,attr" validate:"required"` // 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"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` // WorkingDirectory: string, optional WorkingDirectory terra.StringValue `hcl:"working_directory,attr"` // Component: min=1 Component []Component `hcl:"component,block" validate:"min=1"` // InstanceConfiguration: optional InstanceConfiguration *InstanceConfiguration `hcl:"instance_configuration,block"` // TargetRepository: required TargetRepository *TargetRepository `hcl:"target_repository,block" validate:"required"` }
Args contains the configurations for aws_imagebuilder_container_recipe.
type Component ¶
type Component struct { // ComponentArn: string, required ComponentArn terra.StringValue `hcl:"component_arn,attr" validate:"required"` // ComponentParameter: min=0 Parameter []ComponentParameter `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 ¶
func (c ComponentAttributes) Parameter() terra.SetValue[ComponentParameterAttributes]
type ComponentParameter ¶
type ComponentParameter struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ComponentParameterAttributes ¶
type ComponentParameterAttributes struct {
// contains filtered or unexported fields
}
func (ComponentParameterAttributes) InternalRef ¶
func (p ComponentParameterAttributes) InternalRef() (terra.Reference, error)
func (ComponentParameterAttributes) InternalTokens ¶
func (p ComponentParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ComponentParameterAttributes) InternalWithRef ¶
func (p ComponentParameterAttributes) InternalWithRef(ref terra.Reference) ComponentParameterAttributes
func (ComponentParameterAttributes) Name ¶
func (p ComponentParameterAttributes) Name() terra.StringValue
func (ComponentParameterAttributes) Value ¶
func (p ComponentParameterAttributes) Value() terra.StringValue
type ComponentParameterState ¶
type ComponentState ¶
type ComponentState struct { ComponentArn string `json:"component_arn"` Parameter []ComponentParameterState `json:"parameter"` }
type DataArgs ¶
type DataArgs struct { // Arn: string, required Arn terra.StringValue `hcl:"arn,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"` }
DataArgs contains the configurations for aws_imagebuilder_container_recipe.
type DataComponentAttributes ¶
type DataComponentAttributes struct {
// contains filtered or unexported fields
}
func (DataComponentAttributes) ComponentArn ¶
func (c DataComponentAttributes) ComponentArn() terra.StringValue
func (DataComponentAttributes) InternalRef ¶
func (c DataComponentAttributes) InternalRef() (terra.Reference, error)
func (DataComponentAttributes) InternalTokens ¶
func (c DataComponentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataComponentAttributes) InternalWithRef ¶
func (c DataComponentAttributes) InternalWithRef(ref terra.Reference) DataComponentAttributes
func (DataComponentAttributes) Parameter ¶
func (c DataComponentAttributes) Parameter() terra.SetValue[DataComponentParameterAttributes]
type DataComponentParameterAttributes ¶
type DataComponentParameterAttributes struct {
// contains filtered or unexported fields
}
func (DataComponentParameterAttributes) InternalRef ¶
func (p DataComponentParameterAttributes) InternalRef() (terra.Reference, error)
func (DataComponentParameterAttributes) InternalTokens ¶
func (p DataComponentParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataComponentParameterAttributes) InternalWithRef ¶
func (p DataComponentParameterAttributes) InternalWithRef(ref terra.Reference) DataComponentParameterAttributes
func (DataComponentParameterAttributes) Name ¶
func (p DataComponentParameterAttributes) Name() terra.StringValue
func (DataComponentParameterAttributes) Value ¶
func (p DataComponentParameterAttributes) Value() terra.StringValue
type DataComponentState ¶
type DataComponentState struct { ComponentArn string `json:"component_arn"` Parameter []DataComponentParameterState `json:"parameter"` }
type DataInstanceConfigurationAttributes ¶
type DataInstanceConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (DataInstanceConfigurationAttributes) BlockDeviceMapping ¶
func (ic DataInstanceConfigurationAttributes) BlockDeviceMapping() terra.SetValue[DataInstanceConfigurationBlockDeviceMappingAttributes]
func (DataInstanceConfigurationAttributes) Image ¶
func (ic DataInstanceConfigurationAttributes) Image() terra.StringValue
func (DataInstanceConfigurationAttributes) InternalRef ¶
func (ic DataInstanceConfigurationAttributes) InternalRef() (terra.Reference, error)
func (DataInstanceConfigurationAttributes) InternalTokens ¶
func (ic DataInstanceConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataInstanceConfigurationAttributes) InternalWithRef ¶
func (ic DataInstanceConfigurationAttributes) InternalWithRef(ref terra.Reference) DataInstanceConfigurationAttributes
type DataInstanceConfigurationBlockDeviceMappingAttributes ¶
type DataInstanceConfigurationBlockDeviceMappingAttributes struct {
// contains filtered or unexported fields
}
func (DataInstanceConfigurationBlockDeviceMappingAttributes) DeviceName ¶
func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) DeviceName() terra.StringValue
func (DataInstanceConfigurationBlockDeviceMappingAttributes) InternalRef ¶
func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) InternalRef() (terra.Reference, error)
func (DataInstanceConfigurationBlockDeviceMappingAttributes) InternalTokens ¶
func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataInstanceConfigurationBlockDeviceMappingAttributes) InternalWithRef ¶
func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) InternalWithRef(ref terra.Reference) DataInstanceConfigurationBlockDeviceMappingAttributes
func (DataInstanceConfigurationBlockDeviceMappingAttributes) NoDevice ¶
func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) NoDevice() terra.StringValue
func (DataInstanceConfigurationBlockDeviceMappingAttributes) VirtualName ¶
func (bdm DataInstanceConfigurationBlockDeviceMappingAttributes) VirtualName() terra.StringValue
type DataInstanceConfigurationBlockDeviceMappingEbsAttributes ¶
type DataInstanceConfigurationBlockDeviceMappingEbsAttributes struct {
// contains filtered or unexported fields
}
func (DataInstanceConfigurationBlockDeviceMappingEbsAttributes) DeleteOnTermination ¶
func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) DeleteOnTermination() terra.BoolValue
func (DataInstanceConfigurationBlockDeviceMappingEbsAttributes) Encrypted ¶
func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) Encrypted() terra.BoolValue
func (DataInstanceConfigurationBlockDeviceMappingEbsAttributes) InternalRef ¶
func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) InternalRef() (terra.Reference, error)
func (DataInstanceConfigurationBlockDeviceMappingEbsAttributes) InternalTokens ¶
func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataInstanceConfigurationBlockDeviceMappingEbsAttributes) InternalWithRef ¶
func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) InternalWithRef(ref terra.Reference) DataInstanceConfigurationBlockDeviceMappingEbsAttributes
func (DataInstanceConfigurationBlockDeviceMappingEbsAttributes) Iops ¶
func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) Iops() terra.NumberValue
func (DataInstanceConfigurationBlockDeviceMappingEbsAttributes) KmsKeyId ¶
func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) KmsKeyId() terra.StringValue
func (DataInstanceConfigurationBlockDeviceMappingEbsAttributes) SnapshotId ¶
func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) SnapshotId() terra.StringValue
func (DataInstanceConfigurationBlockDeviceMappingEbsAttributes) Throughput ¶
func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) Throughput() terra.NumberValue
func (DataInstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeSize ¶
func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeSize() terra.NumberValue
func (DataInstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeType ¶
func (e DataInstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeType() terra.StringValue
type DataInstanceConfigurationBlockDeviceMappingEbsState ¶
type DataInstanceConfigurationBlockDeviceMappingEbsState struct { DeleteOnTermination bool `json:"delete_on_termination"` Encrypted bool `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 DataInstanceConfigurationBlockDeviceMappingState ¶
type DataInstanceConfigurationBlockDeviceMappingState struct { DeviceName string `json:"device_name"` NoDevice string `json:"no_device"` VirtualName string `json:"virtual_name"` Ebs []DataInstanceConfigurationBlockDeviceMappingEbsState `json:"ebs"` }
type DataInstanceConfigurationState ¶
type DataInstanceConfigurationState struct { Image string `json:"image"` BlockDeviceMapping []DataInstanceConfigurationBlockDeviceMappingState `json:"block_device_mapping"` }
type DataSource ¶
DataSource represents the Terraform data resource aws_imagebuilder_container_recipe.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aicr *DataSource) Attributes() dataAwsImagebuilderContainerRecipeAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aicr *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aicr *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aicr *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTargetRepositoryAttributes ¶
type DataTargetRepositoryAttributes struct {
// contains filtered or unexported fields
}
func (DataTargetRepositoryAttributes) InternalRef ¶
func (tr DataTargetRepositoryAttributes) InternalRef() (terra.Reference, error)
func (DataTargetRepositoryAttributes) InternalTokens ¶
func (tr DataTargetRepositoryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTargetRepositoryAttributes) InternalWithRef ¶
func (tr DataTargetRepositoryAttributes) InternalWithRef(ref terra.Reference) DataTargetRepositoryAttributes
func (DataTargetRepositoryAttributes) RepositoryName ¶
func (tr DataTargetRepositoryAttributes) RepositoryName() terra.StringValue
func (DataTargetRepositoryAttributes) Service ¶
func (tr DataTargetRepositoryAttributes) Service() terra.StringValue
type InstanceConfiguration ¶
type InstanceConfiguration struct { // Image: string, optional Image terra.StringValue `hcl:"image,attr"` // InstanceConfigurationBlockDeviceMapping: min=0 BlockDeviceMapping []InstanceConfigurationBlockDeviceMapping `hcl:"block_device_mapping,block" validate:"min=0"` }
type InstanceConfigurationAttributes ¶
type InstanceConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (InstanceConfigurationAttributes) BlockDeviceMapping ¶
func (ic InstanceConfigurationAttributes) BlockDeviceMapping() terra.SetValue[InstanceConfigurationBlockDeviceMappingAttributes]
func (InstanceConfigurationAttributes) Image ¶
func (ic InstanceConfigurationAttributes) Image() terra.StringValue
func (InstanceConfigurationAttributes) InternalRef ¶
func (ic InstanceConfigurationAttributes) InternalRef() (terra.Reference, error)
func (InstanceConfigurationAttributes) InternalTokens ¶
func (ic InstanceConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceConfigurationAttributes) InternalWithRef ¶
func (ic InstanceConfigurationAttributes) InternalWithRef(ref terra.Reference) InstanceConfigurationAttributes
type InstanceConfigurationBlockDeviceMapping ¶
type InstanceConfigurationBlockDeviceMapping 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"` // InstanceConfigurationBlockDeviceMappingEbs: optional Ebs *InstanceConfigurationBlockDeviceMappingEbs `hcl:"ebs,block"` }
type InstanceConfigurationBlockDeviceMappingAttributes ¶
type InstanceConfigurationBlockDeviceMappingAttributes struct {
// contains filtered or unexported fields
}
func (InstanceConfigurationBlockDeviceMappingAttributes) DeviceName ¶
func (bdm InstanceConfigurationBlockDeviceMappingAttributes) DeviceName() terra.StringValue
func (InstanceConfigurationBlockDeviceMappingAttributes) InternalRef ¶
func (bdm InstanceConfigurationBlockDeviceMappingAttributes) InternalRef() (terra.Reference, error)
func (InstanceConfigurationBlockDeviceMappingAttributes) InternalTokens ¶
func (bdm InstanceConfigurationBlockDeviceMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceConfigurationBlockDeviceMappingAttributes) InternalWithRef ¶
func (bdm InstanceConfigurationBlockDeviceMappingAttributes) InternalWithRef(ref terra.Reference) InstanceConfigurationBlockDeviceMappingAttributes
func (InstanceConfigurationBlockDeviceMappingAttributes) NoDevice ¶
func (bdm InstanceConfigurationBlockDeviceMappingAttributes) NoDevice() terra.BoolValue
func (InstanceConfigurationBlockDeviceMappingAttributes) VirtualName ¶
func (bdm InstanceConfigurationBlockDeviceMappingAttributes) VirtualName() terra.StringValue
type InstanceConfigurationBlockDeviceMappingEbs ¶
type InstanceConfigurationBlockDeviceMappingEbs 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 InstanceConfigurationBlockDeviceMappingEbsAttributes ¶
type InstanceConfigurationBlockDeviceMappingEbsAttributes struct {
// contains filtered or unexported fields
}
func (InstanceConfigurationBlockDeviceMappingEbsAttributes) DeleteOnTermination ¶
func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) DeleteOnTermination() terra.StringValue
func (InstanceConfigurationBlockDeviceMappingEbsAttributes) Encrypted ¶
func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) Encrypted() terra.StringValue
func (InstanceConfigurationBlockDeviceMappingEbsAttributes) InternalRef ¶
func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) InternalRef() (terra.Reference, error)
func (InstanceConfigurationBlockDeviceMappingEbsAttributes) InternalTokens ¶
func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceConfigurationBlockDeviceMappingEbsAttributes) InternalWithRef ¶
func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) InternalWithRef(ref terra.Reference) InstanceConfigurationBlockDeviceMappingEbsAttributes
func (InstanceConfigurationBlockDeviceMappingEbsAttributes) Iops ¶
func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) Iops() terra.NumberValue
func (InstanceConfigurationBlockDeviceMappingEbsAttributes) KmsKeyId ¶
func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) KmsKeyId() terra.StringValue
func (InstanceConfigurationBlockDeviceMappingEbsAttributes) SnapshotId ¶
func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) SnapshotId() terra.StringValue
func (InstanceConfigurationBlockDeviceMappingEbsAttributes) Throughput ¶
func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) Throughput() terra.NumberValue
func (InstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeSize ¶
func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeSize() terra.NumberValue
func (InstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeType ¶
func (e InstanceConfigurationBlockDeviceMappingEbsAttributes) VolumeType() terra.StringValue
type InstanceConfigurationBlockDeviceMappingEbsState ¶
type InstanceConfigurationBlockDeviceMappingEbsState 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 InstanceConfigurationBlockDeviceMappingState ¶
type InstanceConfigurationBlockDeviceMappingState struct { DeviceName string `json:"device_name"` NoDevice bool `json:"no_device"` VirtualName string `json:"virtual_name"` Ebs []InstanceConfigurationBlockDeviceMappingEbsState `json:"ebs"` }
type InstanceConfigurationState ¶
type InstanceConfigurationState struct { Image string `json:"image"` BlockDeviceMapping []InstanceConfigurationBlockDeviceMappingState `json:"block_device_mapping"` }
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_imagebuilder_container_recipe.
func (*Resource) Attributes ¶
func (aicr *Resource) Attributes() awsImagebuilderContainerRecipeAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aicr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aicr *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type TargetRepository ¶
type TargetRepository struct { // RepositoryName: string, required RepositoryName terra.StringValue `hcl:"repository_name,attr" validate:"required"` // Service: string, required Service terra.StringValue `hcl:"service,attr" validate:"required"` }
type TargetRepositoryAttributes ¶
type TargetRepositoryAttributes struct {
// contains filtered or unexported fields
}
func (TargetRepositoryAttributes) InternalRef ¶
func (tr TargetRepositoryAttributes) InternalRef() (terra.Reference, error)
func (TargetRepositoryAttributes) InternalTokens ¶
func (tr TargetRepositoryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetRepositoryAttributes) InternalWithRef ¶
func (tr TargetRepositoryAttributes) InternalWithRef(ref terra.Reference) TargetRepositoryAttributes
func (TargetRepositoryAttributes) RepositoryName ¶
func (tr TargetRepositoryAttributes) RepositoryName() terra.StringValue
func (TargetRepositoryAttributes) Service ¶
func (tr TargetRepositoryAttributes) Service() terra.StringValue