Documentation ¶
Index ¶
- type Args
- type CloudwatchConfiguration
- type CloudwatchConfigurationAttributes
- func (cc CloudwatchConfigurationAttributes) Enabled() terra.BoolValue
- func (cc CloudwatchConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (cc CloudwatchConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CloudwatchConfigurationAttributes) InternalWithRef(ref terra.Reference) CloudwatchConfigurationAttributes
- func (cc CloudwatchConfigurationAttributes) LogStreams() terra.ListValue[CloudwatchConfigurationLogStreamsAttributes]
- type CloudwatchConfigurationLogStreams
- type CloudwatchConfigurationLogStreamsAttributes
- func (ls CloudwatchConfigurationLogStreamsAttributes) BatchCount() terra.NumberValue
- func (ls CloudwatchConfigurationLogStreamsAttributes) BatchSize() terra.NumberValue
- func (ls CloudwatchConfigurationLogStreamsAttributes) BufferDuration() terra.NumberValue
- func (ls CloudwatchConfigurationLogStreamsAttributes) DatetimeFormat() terra.StringValue
- func (ls CloudwatchConfigurationLogStreamsAttributes) Encoding() terra.StringValue
- func (ls CloudwatchConfigurationLogStreamsAttributes) File() terra.StringValue
- func (ls CloudwatchConfigurationLogStreamsAttributes) FileFingerprintLines() terra.StringValue
- func (ls CloudwatchConfigurationLogStreamsAttributes) InitialPosition() terra.StringValue
- func (ls CloudwatchConfigurationLogStreamsAttributes) InternalRef() (terra.Reference, error)
- func (ls CloudwatchConfigurationLogStreamsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ls CloudwatchConfigurationLogStreamsAttributes) InternalWithRef(ref terra.Reference) CloudwatchConfigurationLogStreamsAttributes
- func (ls CloudwatchConfigurationLogStreamsAttributes) LogGroupName() terra.StringValue
- func (ls CloudwatchConfigurationLogStreamsAttributes) MultilineStartPattern() terra.StringValue
- func (ls CloudwatchConfigurationLogStreamsAttributes) TimeZone() terra.StringValue
- type CloudwatchConfigurationLogStreamsState
- type CloudwatchConfigurationState
- type EbsVolume
- type EbsVolumeAttributes
- func (ev EbsVolumeAttributes) Encrypted() terra.BoolValue
- func (ev EbsVolumeAttributes) InternalRef() (terra.Reference, error)
- func (ev EbsVolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ev EbsVolumeAttributes) InternalWithRef(ref terra.Reference) EbsVolumeAttributes
- func (ev EbsVolumeAttributes) Iops() terra.NumberValue
- func (ev EbsVolumeAttributes) MountPoint() terra.StringValue
- func (ev EbsVolumeAttributes) NumberOfDisks() terra.NumberValue
- func (ev EbsVolumeAttributes) RaidLevel() terra.StringValue
- func (ev EbsVolumeAttributes) Size() terra.NumberValue
- func (ev EbsVolumeAttributes) Type() terra.StringValue
- type EbsVolumeState
- type LoadBasedAutoScaling
- type LoadBasedAutoScalingAttributes
- func (lbas LoadBasedAutoScalingAttributes) Downscaling() terra.ListValue[LoadBasedAutoScalingDownscalingAttributes]
- func (lbas LoadBasedAutoScalingAttributes) Enable() terra.BoolValue
- func (lbas LoadBasedAutoScalingAttributes) InternalRef() (terra.Reference, error)
- func (lbas LoadBasedAutoScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lbas LoadBasedAutoScalingAttributes) InternalWithRef(ref terra.Reference) LoadBasedAutoScalingAttributes
- func (lbas LoadBasedAutoScalingAttributes) Upscaling() terra.ListValue[LoadBasedAutoScalingUpscalingAttributes]
- type LoadBasedAutoScalingDownscaling
- type LoadBasedAutoScalingDownscalingAttributes
- func (d LoadBasedAutoScalingDownscalingAttributes) Alarms() terra.ListValue[terra.StringValue]
- func (d LoadBasedAutoScalingDownscalingAttributes) CpuThreshold() terra.NumberValue
- func (d LoadBasedAutoScalingDownscalingAttributes) IgnoreMetricsTime() terra.NumberValue
- func (d LoadBasedAutoScalingDownscalingAttributes) InstanceCount() terra.NumberValue
- func (d LoadBasedAutoScalingDownscalingAttributes) InternalRef() (terra.Reference, error)
- func (d LoadBasedAutoScalingDownscalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d LoadBasedAutoScalingDownscalingAttributes) InternalWithRef(ref terra.Reference) LoadBasedAutoScalingDownscalingAttributes
- func (d LoadBasedAutoScalingDownscalingAttributes) LoadThreshold() terra.NumberValue
- func (d LoadBasedAutoScalingDownscalingAttributes) MemoryThreshold() terra.NumberValue
- func (d LoadBasedAutoScalingDownscalingAttributes) ThresholdsWaitTime() terra.NumberValue
- type LoadBasedAutoScalingDownscalingState
- type LoadBasedAutoScalingState
- type LoadBasedAutoScalingUpscaling
- type LoadBasedAutoScalingUpscalingAttributes
- func (u LoadBasedAutoScalingUpscalingAttributes) Alarms() terra.ListValue[terra.StringValue]
- func (u LoadBasedAutoScalingUpscalingAttributes) CpuThreshold() terra.NumberValue
- func (u LoadBasedAutoScalingUpscalingAttributes) IgnoreMetricsTime() terra.NumberValue
- func (u LoadBasedAutoScalingUpscalingAttributes) InstanceCount() terra.NumberValue
- func (u LoadBasedAutoScalingUpscalingAttributes) InternalRef() (terra.Reference, error)
- func (u LoadBasedAutoScalingUpscalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (u LoadBasedAutoScalingUpscalingAttributes) InternalWithRef(ref terra.Reference) LoadBasedAutoScalingUpscalingAttributes
- func (u LoadBasedAutoScalingUpscalingAttributes) LoadThreshold() terra.NumberValue
- func (u LoadBasedAutoScalingUpscalingAttributes) MemoryThreshold() terra.NumberValue
- func (u LoadBasedAutoScalingUpscalingAttributes) ThresholdsWaitTime() terra.NumberValue
- type LoadBasedAutoScalingUpscalingState
- type Resource
- func (aocl *Resource) Attributes() awsOpsworksCustomLayerAttributes
- func (aocl *Resource) Configuration() interface{}
- func (aocl *Resource) DependOn() terra.Reference
- func (aocl *Resource) Dependencies() terra.Dependencies
- func (aocl *Resource) ImportState(state io.Reader) error
- func (aocl *Resource) LifecycleManagement() *terra.Lifecycle
- func (aocl *Resource) LocalName() string
- func (aocl *Resource) State() (*awsOpsworksCustomLayerState, bool)
- func (aocl *Resource) StateMust() *awsOpsworksCustomLayerState
- func (aocl *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AutoAssignElasticIps: bool, optional AutoAssignElasticIps terra.BoolValue `hcl:"auto_assign_elastic_ips,attr"` // AutoAssignPublicIps: bool, optional AutoAssignPublicIps terra.BoolValue `hcl:"auto_assign_public_ips,attr"` // AutoHealing: bool, optional AutoHealing terra.BoolValue `hcl:"auto_healing,attr"` // CustomConfigureRecipes: list of string, optional CustomConfigureRecipes terra.ListValue[terra.StringValue] `hcl:"custom_configure_recipes,attr"` // CustomDeployRecipes: list of string, optional CustomDeployRecipes terra.ListValue[terra.StringValue] `hcl:"custom_deploy_recipes,attr"` // CustomInstanceProfileArn: string, optional CustomInstanceProfileArn terra.StringValue `hcl:"custom_instance_profile_arn,attr"` // CustomJson: string, optional CustomJson terra.StringValue `hcl:"custom_json,attr"` // CustomSecurityGroupIds: set of string, optional CustomSecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"custom_security_group_ids,attr"` // CustomSetupRecipes: list of string, optional CustomSetupRecipes terra.ListValue[terra.StringValue] `hcl:"custom_setup_recipes,attr"` // CustomShutdownRecipes: list of string, optional CustomShutdownRecipes terra.ListValue[terra.StringValue] `hcl:"custom_shutdown_recipes,attr"` // CustomUndeployRecipes: list of string, optional CustomUndeployRecipes terra.ListValue[terra.StringValue] `hcl:"custom_undeploy_recipes,attr"` // DrainElbOnShutdown: bool, optional DrainElbOnShutdown terra.BoolValue `hcl:"drain_elb_on_shutdown,attr"` // ElasticLoadBalancer: string, optional ElasticLoadBalancer terra.StringValue `hcl:"elastic_load_balancer,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstallUpdatesOnBoot: bool, optional InstallUpdatesOnBoot terra.BoolValue `hcl:"install_updates_on_boot,attr"` // InstanceShutdownTimeout: number, optional InstanceShutdownTimeout terra.NumberValue `hcl:"instance_shutdown_timeout,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ShortName: string, required ShortName terra.StringValue `hcl:"short_name,attr" validate:"required"` // StackId: string, required StackId terra.StringValue `hcl:"stack_id,attr" validate:"required"` // SystemPackages: set of string, optional SystemPackages terra.SetValue[terra.StringValue] `hcl:"system_packages,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"` // UseEbsOptimizedInstances: bool, optional UseEbsOptimizedInstances terra.BoolValue `hcl:"use_ebs_optimized_instances,attr"` // CloudwatchConfiguration: optional CloudwatchConfiguration *CloudwatchConfiguration `hcl:"cloudwatch_configuration,block"` // EbsVolume: min=0 EbsVolume []EbsVolume `hcl:"ebs_volume,block" validate:"min=0"` // LoadBasedAutoScaling: optional LoadBasedAutoScaling *LoadBasedAutoScaling `hcl:"load_based_auto_scaling,block"` }
Args contains the configurations for aws_opsworks_custom_layer.
type CloudwatchConfiguration ¶
type CloudwatchConfiguration struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // CloudwatchConfigurationLogStreams: min=0 LogStreams []CloudwatchConfigurationLogStreams `hcl:"log_streams,block" validate:"min=0"` }
type CloudwatchConfigurationAttributes ¶
type CloudwatchConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (CloudwatchConfigurationAttributes) Enabled ¶
func (cc CloudwatchConfigurationAttributes) Enabled() terra.BoolValue
func (CloudwatchConfigurationAttributes) InternalRef ¶
func (cc CloudwatchConfigurationAttributes) InternalRef() (terra.Reference, error)
func (CloudwatchConfigurationAttributes) InternalTokens ¶
func (cc CloudwatchConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CloudwatchConfigurationAttributes) InternalWithRef ¶
func (cc CloudwatchConfigurationAttributes) InternalWithRef(ref terra.Reference) CloudwatchConfigurationAttributes
func (CloudwatchConfigurationAttributes) LogStreams ¶
func (cc CloudwatchConfigurationAttributes) LogStreams() terra.ListValue[CloudwatchConfigurationLogStreamsAttributes]
type CloudwatchConfigurationLogStreams ¶
type CloudwatchConfigurationLogStreams struct { // BatchCount: number, optional BatchCount terra.NumberValue `hcl:"batch_count,attr"` // BatchSize: number, optional BatchSize terra.NumberValue `hcl:"batch_size,attr"` // BufferDuration: number, optional BufferDuration terra.NumberValue `hcl:"buffer_duration,attr"` // DatetimeFormat: string, optional DatetimeFormat terra.StringValue `hcl:"datetime_format,attr"` // Encoding: string, optional Encoding terra.StringValue `hcl:"encoding,attr"` // File: string, required File terra.StringValue `hcl:"file,attr" validate:"required"` // FileFingerprintLines: string, optional FileFingerprintLines terra.StringValue `hcl:"file_fingerprint_lines,attr"` // InitialPosition: string, optional InitialPosition terra.StringValue `hcl:"initial_position,attr"` // LogGroupName: string, required LogGroupName terra.StringValue `hcl:"log_group_name,attr" validate:"required"` // MultilineStartPattern: string, optional MultilineStartPattern terra.StringValue `hcl:"multiline_start_pattern,attr"` // TimeZone: string, optional TimeZone terra.StringValue `hcl:"time_zone,attr"` }
type CloudwatchConfigurationLogStreamsAttributes ¶
type CloudwatchConfigurationLogStreamsAttributes struct {
// contains filtered or unexported fields
}
func (CloudwatchConfigurationLogStreamsAttributes) BatchCount ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) BatchCount() terra.NumberValue
func (CloudwatchConfigurationLogStreamsAttributes) BatchSize ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) BatchSize() terra.NumberValue
func (CloudwatchConfigurationLogStreamsAttributes) BufferDuration ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) BufferDuration() terra.NumberValue
func (CloudwatchConfigurationLogStreamsAttributes) DatetimeFormat ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) DatetimeFormat() terra.StringValue
func (CloudwatchConfigurationLogStreamsAttributes) Encoding ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) Encoding() terra.StringValue
func (CloudwatchConfigurationLogStreamsAttributes) File ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) File() terra.StringValue
func (CloudwatchConfigurationLogStreamsAttributes) FileFingerprintLines ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) FileFingerprintLines() terra.StringValue
func (CloudwatchConfigurationLogStreamsAttributes) InitialPosition ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) InitialPosition() terra.StringValue
func (CloudwatchConfigurationLogStreamsAttributes) InternalRef ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) InternalRef() (terra.Reference, error)
func (CloudwatchConfigurationLogStreamsAttributes) InternalTokens ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CloudwatchConfigurationLogStreamsAttributes) InternalWithRef ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) InternalWithRef(ref terra.Reference) CloudwatchConfigurationLogStreamsAttributes
func (CloudwatchConfigurationLogStreamsAttributes) LogGroupName ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) LogGroupName() terra.StringValue
func (CloudwatchConfigurationLogStreamsAttributes) MultilineStartPattern ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) MultilineStartPattern() terra.StringValue
func (CloudwatchConfigurationLogStreamsAttributes) TimeZone ¶
func (ls CloudwatchConfigurationLogStreamsAttributes) TimeZone() terra.StringValue
type CloudwatchConfigurationLogStreamsState ¶
type CloudwatchConfigurationLogStreamsState struct { BatchCount float64 `json:"batch_count"` BatchSize float64 `json:"batch_size"` BufferDuration float64 `json:"buffer_duration"` DatetimeFormat string `json:"datetime_format"` Encoding string `json:"encoding"` File string `json:"file"` FileFingerprintLines string `json:"file_fingerprint_lines"` InitialPosition string `json:"initial_position"` LogGroupName string `json:"log_group_name"` MultilineStartPattern string `json:"multiline_start_pattern"` TimeZone string `json:"time_zone"` }
type CloudwatchConfigurationState ¶
type CloudwatchConfigurationState struct { Enabled bool `json:"enabled"` LogStreams []CloudwatchConfigurationLogStreamsState `json:"log_streams"` }
type EbsVolume ¶
type EbsVolume struct { // Encrypted: bool, optional Encrypted terra.BoolValue `hcl:"encrypted,attr"` // Iops: number, optional Iops terra.NumberValue `hcl:"iops,attr"` // MountPoint: string, required MountPoint terra.StringValue `hcl:"mount_point,attr" validate:"required"` // NumberOfDisks: number, required NumberOfDisks terra.NumberValue `hcl:"number_of_disks,attr" validate:"required"` // RaidLevel: string, optional RaidLevel terra.StringValue `hcl:"raid_level,attr"` // Size: number, required Size terra.NumberValue `hcl:"size,attr" validate:"required"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` }
type EbsVolumeAttributes ¶
type EbsVolumeAttributes struct {
// contains filtered or unexported fields
}
func (EbsVolumeAttributes) Encrypted ¶
func (ev EbsVolumeAttributes) Encrypted() terra.BoolValue
func (EbsVolumeAttributes) InternalRef ¶
func (ev EbsVolumeAttributes) InternalRef() (terra.Reference, error)
func (EbsVolumeAttributes) InternalTokens ¶
func (ev EbsVolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EbsVolumeAttributes) InternalWithRef ¶
func (ev EbsVolumeAttributes) InternalWithRef(ref terra.Reference) EbsVolumeAttributes
func (EbsVolumeAttributes) Iops ¶
func (ev EbsVolumeAttributes) Iops() terra.NumberValue
func (EbsVolumeAttributes) MountPoint ¶
func (ev EbsVolumeAttributes) MountPoint() terra.StringValue
func (EbsVolumeAttributes) NumberOfDisks ¶
func (ev EbsVolumeAttributes) NumberOfDisks() terra.NumberValue
func (EbsVolumeAttributes) RaidLevel ¶
func (ev EbsVolumeAttributes) RaidLevel() terra.StringValue
func (EbsVolumeAttributes) Size ¶
func (ev EbsVolumeAttributes) Size() terra.NumberValue
func (EbsVolumeAttributes) Type ¶
func (ev EbsVolumeAttributes) Type() terra.StringValue
type EbsVolumeState ¶
type LoadBasedAutoScaling ¶
type LoadBasedAutoScaling struct { // Enable: bool, optional Enable terra.BoolValue `hcl:"enable,attr"` // LoadBasedAutoScalingDownscaling: optional Downscaling *LoadBasedAutoScalingDownscaling `hcl:"downscaling,block"` // LoadBasedAutoScalingUpscaling: optional Upscaling *LoadBasedAutoScalingUpscaling `hcl:"upscaling,block"` }
type LoadBasedAutoScalingAttributes ¶
type LoadBasedAutoScalingAttributes struct {
// contains filtered or unexported fields
}
func (LoadBasedAutoScalingAttributes) Downscaling ¶
func (lbas LoadBasedAutoScalingAttributes) Downscaling() terra.ListValue[LoadBasedAutoScalingDownscalingAttributes]
func (LoadBasedAutoScalingAttributes) Enable ¶
func (lbas LoadBasedAutoScalingAttributes) Enable() terra.BoolValue
func (LoadBasedAutoScalingAttributes) InternalRef ¶
func (lbas LoadBasedAutoScalingAttributes) InternalRef() (terra.Reference, error)
func (LoadBasedAutoScalingAttributes) InternalTokens ¶
func (lbas LoadBasedAutoScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadBasedAutoScalingAttributes) InternalWithRef ¶
func (lbas LoadBasedAutoScalingAttributes) InternalWithRef(ref terra.Reference) LoadBasedAutoScalingAttributes
func (LoadBasedAutoScalingAttributes) Upscaling ¶
func (lbas LoadBasedAutoScalingAttributes) Upscaling() terra.ListValue[LoadBasedAutoScalingUpscalingAttributes]
type LoadBasedAutoScalingDownscaling ¶
type LoadBasedAutoScalingDownscaling struct { // Alarms: list of string, optional Alarms terra.ListValue[terra.StringValue] `hcl:"alarms,attr"` // CpuThreshold: number, optional CpuThreshold terra.NumberValue `hcl:"cpu_threshold,attr"` // IgnoreMetricsTime: number, optional IgnoreMetricsTime terra.NumberValue `hcl:"ignore_metrics_time,attr"` // InstanceCount: number, optional InstanceCount terra.NumberValue `hcl:"instance_count,attr"` // LoadThreshold: number, optional LoadThreshold terra.NumberValue `hcl:"load_threshold,attr"` // MemoryThreshold: number, optional MemoryThreshold terra.NumberValue `hcl:"memory_threshold,attr"` // ThresholdsWaitTime: number, optional ThresholdsWaitTime terra.NumberValue `hcl:"thresholds_wait_time,attr"` }
type LoadBasedAutoScalingDownscalingAttributes ¶
type LoadBasedAutoScalingDownscalingAttributes struct {
// contains filtered or unexported fields
}
func (LoadBasedAutoScalingDownscalingAttributes) Alarms ¶
func (d LoadBasedAutoScalingDownscalingAttributes) Alarms() terra.ListValue[terra.StringValue]
func (LoadBasedAutoScalingDownscalingAttributes) CpuThreshold ¶
func (d LoadBasedAutoScalingDownscalingAttributes) CpuThreshold() terra.NumberValue
func (LoadBasedAutoScalingDownscalingAttributes) IgnoreMetricsTime ¶
func (d LoadBasedAutoScalingDownscalingAttributes) IgnoreMetricsTime() terra.NumberValue
func (LoadBasedAutoScalingDownscalingAttributes) InstanceCount ¶
func (d LoadBasedAutoScalingDownscalingAttributes) InstanceCount() terra.NumberValue
func (LoadBasedAutoScalingDownscalingAttributes) InternalRef ¶
func (d LoadBasedAutoScalingDownscalingAttributes) InternalRef() (terra.Reference, error)
func (LoadBasedAutoScalingDownscalingAttributes) InternalTokens ¶
func (d LoadBasedAutoScalingDownscalingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadBasedAutoScalingDownscalingAttributes) InternalWithRef ¶
func (d LoadBasedAutoScalingDownscalingAttributes) InternalWithRef(ref terra.Reference) LoadBasedAutoScalingDownscalingAttributes
func (LoadBasedAutoScalingDownscalingAttributes) LoadThreshold ¶
func (d LoadBasedAutoScalingDownscalingAttributes) LoadThreshold() terra.NumberValue
func (LoadBasedAutoScalingDownscalingAttributes) MemoryThreshold ¶
func (d LoadBasedAutoScalingDownscalingAttributes) MemoryThreshold() terra.NumberValue
func (LoadBasedAutoScalingDownscalingAttributes) ThresholdsWaitTime ¶
func (d LoadBasedAutoScalingDownscalingAttributes) ThresholdsWaitTime() terra.NumberValue
type LoadBasedAutoScalingDownscalingState ¶
type LoadBasedAutoScalingDownscalingState struct { Alarms []string `json:"alarms"` CpuThreshold float64 `json:"cpu_threshold"` IgnoreMetricsTime float64 `json:"ignore_metrics_time"` InstanceCount float64 `json:"instance_count"` LoadThreshold float64 `json:"load_threshold"` MemoryThreshold float64 `json:"memory_threshold"` ThresholdsWaitTime float64 `json:"thresholds_wait_time"` }
type LoadBasedAutoScalingState ¶
type LoadBasedAutoScalingState struct { Enable bool `json:"enable"` Downscaling []LoadBasedAutoScalingDownscalingState `json:"downscaling"` Upscaling []LoadBasedAutoScalingUpscalingState `json:"upscaling"` }
type LoadBasedAutoScalingUpscaling ¶
type LoadBasedAutoScalingUpscaling struct { // Alarms: list of string, optional Alarms terra.ListValue[terra.StringValue] `hcl:"alarms,attr"` // CpuThreshold: number, optional CpuThreshold terra.NumberValue `hcl:"cpu_threshold,attr"` // IgnoreMetricsTime: number, optional IgnoreMetricsTime terra.NumberValue `hcl:"ignore_metrics_time,attr"` // InstanceCount: number, optional InstanceCount terra.NumberValue `hcl:"instance_count,attr"` // LoadThreshold: number, optional LoadThreshold terra.NumberValue `hcl:"load_threshold,attr"` // MemoryThreshold: number, optional MemoryThreshold terra.NumberValue `hcl:"memory_threshold,attr"` // ThresholdsWaitTime: number, optional ThresholdsWaitTime terra.NumberValue `hcl:"thresholds_wait_time,attr"` }
type LoadBasedAutoScalingUpscalingAttributes ¶
type LoadBasedAutoScalingUpscalingAttributes struct {
// contains filtered or unexported fields
}
func (LoadBasedAutoScalingUpscalingAttributes) Alarms ¶
func (u LoadBasedAutoScalingUpscalingAttributes) Alarms() terra.ListValue[terra.StringValue]
func (LoadBasedAutoScalingUpscalingAttributes) CpuThreshold ¶
func (u LoadBasedAutoScalingUpscalingAttributes) CpuThreshold() terra.NumberValue
func (LoadBasedAutoScalingUpscalingAttributes) IgnoreMetricsTime ¶
func (u LoadBasedAutoScalingUpscalingAttributes) IgnoreMetricsTime() terra.NumberValue
func (LoadBasedAutoScalingUpscalingAttributes) InstanceCount ¶
func (u LoadBasedAutoScalingUpscalingAttributes) InstanceCount() terra.NumberValue
func (LoadBasedAutoScalingUpscalingAttributes) InternalRef ¶
func (u LoadBasedAutoScalingUpscalingAttributes) InternalRef() (terra.Reference, error)
func (LoadBasedAutoScalingUpscalingAttributes) InternalTokens ¶
func (u LoadBasedAutoScalingUpscalingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadBasedAutoScalingUpscalingAttributes) InternalWithRef ¶
func (u LoadBasedAutoScalingUpscalingAttributes) InternalWithRef(ref terra.Reference) LoadBasedAutoScalingUpscalingAttributes
func (LoadBasedAutoScalingUpscalingAttributes) LoadThreshold ¶
func (u LoadBasedAutoScalingUpscalingAttributes) LoadThreshold() terra.NumberValue
func (LoadBasedAutoScalingUpscalingAttributes) MemoryThreshold ¶
func (u LoadBasedAutoScalingUpscalingAttributes) MemoryThreshold() terra.NumberValue
func (LoadBasedAutoScalingUpscalingAttributes) ThresholdsWaitTime ¶
func (u LoadBasedAutoScalingUpscalingAttributes) ThresholdsWaitTime() terra.NumberValue
type LoadBasedAutoScalingUpscalingState ¶
type LoadBasedAutoScalingUpscalingState struct { Alarms []string `json:"alarms"` CpuThreshold float64 `json:"cpu_threshold"` IgnoreMetricsTime float64 `json:"ignore_metrics_time"` InstanceCount float64 `json:"instance_count"` LoadThreshold float64 `json:"load_threshold"` MemoryThreshold float64 `json:"memory_threshold"` ThresholdsWaitTime float64 `json:"thresholds_wait_time"` }
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_opsworks_custom_layer.
func (*Resource) Attributes ¶
func (aocl *Resource) Attributes() awsOpsworksCustomLayerAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aocl *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aocl *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.
Click to show internal directories.
Click to hide internal directories.