Documentation ¶
Index ¶
- func ComputeAutoscaler_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ComputeAutoscaler_IsConstruct(x interface{}) *bool
- func ComputeAutoscaler_IsTerraformElement(x interface{}) *bool
- func ComputeAutoscaler_IsTerraformResource(x interface{}) *bool
- func ComputeAutoscaler_TfResourceType() *string
- func NewComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference, ...)
- func NewComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference, ...)
- func NewComputeAutoscalerAutoscalingPolicyMetricList_Override(c ComputeAutoscalerAutoscalingPolicyMetricList, ...)
- func NewComputeAutoscalerAutoscalingPolicyMetricOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyMetricOutputReference, ...)
- func NewComputeAutoscalerAutoscalingPolicyOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyOutputReference, ...)
- func NewComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference_Override(...)
- func NewComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference, ...)
- func NewComputeAutoscalerAutoscalingPolicyScalingSchedulesList_Override(c ComputeAutoscalerAutoscalingPolicyScalingSchedulesList, ...)
- func NewComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference, ...)
- func NewComputeAutoscalerTimeoutsOutputReference_Override(c ComputeAutoscalerTimeoutsOutputReference, ...)
- func NewComputeAutoscaler_Override(c ComputeAutoscaler, scope constructs.Construct, id *string, ...)
- type ComputeAutoscaler
- type ComputeAutoscalerAutoscalingPolicy
- type ComputeAutoscalerAutoscalingPolicyCpuUtilization
- type ComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference
- type ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilization
- type ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference
- type ComputeAutoscalerAutoscalingPolicyMetric
- type ComputeAutoscalerAutoscalingPolicyMetricList
- type ComputeAutoscalerAutoscalingPolicyMetricOutputReference
- type ComputeAutoscalerAutoscalingPolicyOutputReference
- type ComputeAutoscalerAutoscalingPolicyScaleInControl
- type ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas
- type ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference
- type ComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference
- type ComputeAutoscalerAutoscalingPolicyScalingSchedules
- type ComputeAutoscalerAutoscalingPolicyScalingSchedulesList
- type ComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference
- type ComputeAutoscalerConfig
- type ComputeAutoscalerTimeouts
- type ComputeAutoscalerTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeAutoscaler_GenerateConfigForImport ¶
func ComputeAutoscaler_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ComputeAutoscaler resource upon running "cdktf plan <stack-name>".
func ComputeAutoscaler_IsConstruct ¶
func ComputeAutoscaler_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func ComputeAutoscaler_IsTerraformElement ¶
func ComputeAutoscaler_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeAutoscaler_IsTerraformResource ¶
func ComputeAutoscaler_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeAutoscaler_TfResourceType ¶
func ComputeAutoscaler_TfResourceType() *string
func NewComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference_Override ¶
func NewComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference_Override ¶
func NewComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeAutoscalerAutoscalingPolicyMetricList_Override ¶
func NewComputeAutoscalerAutoscalingPolicyMetricList_Override(c ComputeAutoscalerAutoscalingPolicyMetricList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeAutoscalerAutoscalingPolicyMetricOutputReference_Override ¶
func NewComputeAutoscalerAutoscalingPolicyMetricOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyMetricOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeAutoscalerAutoscalingPolicyOutputReference_Override ¶
func NewComputeAutoscalerAutoscalingPolicyOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference_Override ¶
func NewComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference_Override ¶
func NewComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeAutoscalerAutoscalingPolicyScalingSchedulesList_Override ¶
func NewComputeAutoscalerAutoscalingPolicyScalingSchedulesList_Override(c ComputeAutoscalerAutoscalingPolicyScalingSchedulesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference_Override ¶
func NewComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference_Override(c ComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeAutoscalerTimeoutsOutputReference_Override ¶
func NewComputeAutoscalerTimeoutsOutputReference_Override(c ComputeAutoscalerTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeAutoscaler_Override ¶
func NewComputeAutoscaler_Override(c ComputeAutoscaler, scope constructs.Construct, id *string, config *ComputeAutoscalerConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler google_compute_autoscaler} Resource.
Types ¶
type ComputeAutoscaler ¶
type ComputeAutoscaler interface { cdktf.TerraformResource AutoscalingPolicy() ComputeAutoscalerAutoscalingPolicyOutputReference AutoscalingPolicyInput() *ComputeAutoscalerAutoscalingPolicy // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreationTimestamp() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} SelfLink() *string Target() *string SetTarget(val *string) TargetInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeAutoscalerTimeoutsOutputReference TimeoutsInput() interface{} Zone() *string SetZone(val *string) ZoneInput() *string // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutAutoscalingPolicy(value *ComputeAutoscalerAutoscalingPolicy) PutTimeouts(value *ComputeAutoscalerTimeouts) ResetDescription() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetTimeouts() ResetZone() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler google_compute_autoscaler}.
func NewComputeAutoscaler ¶
func NewComputeAutoscaler(scope constructs.Construct, id *string, config *ComputeAutoscalerConfig) ComputeAutoscaler
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler google_compute_autoscaler} Resource.
type ComputeAutoscalerAutoscalingPolicy ¶
type ComputeAutoscalerAutoscalingPolicy struct { // The maximum number of instances that the autoscaler can scale up to. // // This is required when creating or updating an autoscaler. The // maximum number of replicas should not be lower than minimal number // of replicas. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#max_replicas ComputeAutoscaler#max_replicas} MaxReplicas *float64 `field:"required" json:"maxReplicas" yaml:"maxReplicas"` // The minimum number of replicas that the autoscaler can scale down to. // // This cannot be less than 0. If not provided, autoscaler will // choose a default value depending on maximum number of instances // allowed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#min_replicas ComputeAutoscaler#min_replicas} MinReplicas *float64 `field:"required" json:"minReplicas" yaml:"minReplicas"` // The number of seconds that the autoscaler should wait before it starts collecting information from a new instance. // // This prevents // the autoscaler from collecting information when the instance is // initializing, during which the collected usage would not be // reliable. The default time autoscaler waits is 60 seconds. // // Virtual machine initialization times might vary because of // numerous factors. We recommend that you test how long an // instance may take to initialize. To do this, create an instance // and time the startup process. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#cooldown_period ComputeAutoscaler#cooldown_period} CooldownPeriod *float64 `field:"optional" json:"cooldownPeriod" yaml:"cooldownPeriod"` // cpu_utilization block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#cpu_utilization ComputeAutoscaler#cpu_utilization} CpuUtilization *ComputeAutoscalerAutoscalingPolicyCpuUtilization `field:"optional" json:"cpuUtilization" yaml:"cpuUtilization"` // load_balancing_utilization block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#load_balancing_utilization ComputeAutoscaler#load_balancing_utilization} LoadBalancingUtilization *ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilization `field:"optional" json:"loadBalancingUtilization" yaml:"loadBalancingUtilization"` // metric block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#metric ComputeAutoscaler#metric} Metric interface{} `field:"optional" json:"metric" yaml:"metric"` // Defines operating mode for this policy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#mode ComputeAutoscaler#mode} Mode *string `field:"optional" json:"mode" yaml:"mode"` // scale_in_control block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#scale_in_control ComputeAutoscaler#scale_in_control} ScaleInControl *ComputeAutoscalerAutoscalingPolicyScaleInControl `field:"optional" json:"scaleInControl" yaml:"scaleInControl"` // scaling_schedules block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#scaling_schedules ComputeAutoscaler#scaling_schedules} ScalingSchedules interface{} `field:"optional" json:"scalingSchedules" yaml:"scalingSchedules"` }
type ComputeAutoscalerAutoscalingPolicyCpuUtilization ¶
type ComputeAutoscalerAutoscalingPolicyCpuUtilization struct { // The target CPU utilization that the autoscaler should maintain. // // Must be a float value in the range (0, 1]. If not specified, the // default is 0.6. // // If the CPU level is below the target utilization, the autoscaler // scales down the number of instances until it reaches the minimum // number of instances you specified or until the average CPU of // your instances reaches the target utilization. // // If the average CPU is above the target utilization, the autoscaler // scales up until it reaches the maximum number of instances you // specified or until the average utilization reaches the target // utilization. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#target ComputeAutoscaler#target} Target *float64 `field:"required" json:"target" yaml:"target"` // Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are:. // // - NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. // // - OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#predictive_method ComputeAutoscaler#predictive_method} PredictiveMethod *string `field:"optional" json:"predictiveMethod" yaml:"predictiveMethod"` }
type ComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference ¶
type ComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeAutoscalerAutoscalingPolicyCpuUtilization SetInternalValue(val *ComputeAutoscalerAutoscalingPolicyCpuUtilization) PredictiveMethod() *string SetPredictiveMethod(val *string) PredictiveMethodInput() *string Target() *float64 SetTarget(val *float64) TargetInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetPredictiveMethod() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference ¶
func NewComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference
type ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilization ¶
type ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilization struct { // Fraction of backend capacity utilization (set in HTTP(s) load balancing configuration) that autoscaler should maintain. // // Must // be a positive float value. If not defined, the default is 0.8. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#target ComputeAutoscaler#target} Target *float64 `field:"required" json:"target" yaml:"target"` }
type ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference ¶
type ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilization SetInternalValue(val *ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilization) Target() *float64 SetTarget(val *float64) TargetInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference ¶
func NewComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference
type ComputeAutoscalerAutoscalingPolicyMetric ¶
type ComputeAutoscalerAutoscalingPolicyMetric struct { // The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. // // The metric must have a value type of INT64 or DOUBLE. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#name ComputeAutoscaler#name} Name *string `field:"required" json:"name" yaml:"name"` // The target value of the metric that autoscaler should maintain. // // This must be a positive value. A utilization // metric scales number of virtual machines handling requests // to increase or decrease proportionally to the metric. // // For example, a good metric to use as a utilizationTarget is // www.googleapis.com/compute/instance/network/received_bytes_count. // The autoscaler will work to keep this value constant for each // of the instances. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#target ComputeAutoscaler#target} Target *float64 `field:"optional" json:"target" yaml:"target"` // Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Possible values: ["GAUGE", "DELTA_PER_SECOND", "DELTA_PER_MINUTE"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#type ComputeAutoscaler#type} Type *string `field:"optional" json:"type" yaml:"type"` }
type ComputeAutoscalerAutoscalingPolicyMetricList ¶
type ComputeAutoscalerAutoscalingPolicyMetricList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ComputeAutoscalerAutoscalingPolicyMetricOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeAutoscalerAutoscalingPolicyMetricList ¶
func NewComputeAutoscalerAutoscalingPolicyMetricList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeAutoscalerAutoscalingPolicyMetricList
type ComputeAutoscalerAutoscalingPolicyMetricOutputReference ¶
type ComputeAutoscalerAutoscalingPolicyMetricOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Target() *float64 SetTarget(val *float64) TargetInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetTarget() ResetType() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeAutoscalerAutoscalingPolicyMetricOutputReference ¶
func NewComputeAutoscalerAutoscalingPolicyMetricOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeAutoscalerAutoscalingPolicyMetricOutputReference
type ComputeAutoscalerAutoscalingPolicyOutputReference ¶
type ComputeAutoscalerAutoscalingPolicyOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) CooldownPeriod() *float64 SetCooldownPeriod(val *float64) CooldownPeriodInput() *float64 CpuUtilization() ComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference CpuUtilizationInput() *ComputeAutoscalerAutoscalingPolicyCpuUtilization // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeAutoscalerAutoscalingPolicy SetInternalValue(val *ComputeAutoscalerAutoscalingPolicy) LoadBalancingUtilization() ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference LoadBalancingUtilizationInput() *ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilization MaxReplicas() *float64 SetMaxReplicas(val *float64) MaxReplicasInput() *float64 Metric() ComputeAutoscalerAutoscalingPolicyMetricList MetricInput() interface{} MinReplicas() *float64 SetMinReplicas(val *float64) MinReplicasInput() *float64 Mode() *string SetMode(val *string) ModeInput() *string ScaleInControl() ComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference ScaleInControlInput() *ComputeAutoscalerAutoscalingPolicyScaleInControl ScalingSchedules() ComputeAutoscalerAutoscalingPolicyScalingSchedulesList ScalingSchedulesInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutCpuUtilization(value *ComputeAutoscalerAutoscalingPolicyCpuUtilization) PutLoadBalancingUtilization(value *ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilization) PutMetric(value interface{}) PutScaleInControl(value *ComputeAutoscalerAutoscalingPolicyScaleInControl) PutScalingSchedules(value interface{}) ResetCooldownPeriod() ResetCpuUtilization() ResetLoadBalancingUtilization() ResetMetric() ResetMode() ResetScaleInControl() ResetScalingSchedules() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeAutoscalerAutoscalingPolicyOutputReference ¶
func NewComputeAutoscalerAutoscalingPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeAutoscalerAutoscalingPolicyOutputReference
type ComputeAutoscalerAutoscalingPolicyScaleInControl ¶
type ComputeAutoscalerAutoscalingPolicyScaleInControl struct { // max_scaled_in_replicas block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#max_scaled_in_replicas ComputeAutoscaler#max_scaled_in_replicas} MaxScaledInReplicas *ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas `field:"optional" json:"maxScaledInReplicas" yaml:"maxScaledInReplicas"` // How long back autoscaling should look when computing recommendations to include directives regarding slower scale down, as described above. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#time_window_sec ComputeAutoscaler#time_window_sec} TimeWindowSec *float64 `field:"optional" json:"timeWindowSec" yaml:"timeWindowSec"` }
type ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas ¶
type ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas struct { // Specifies a fixed number of VM instances. This must be a positive integer. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#fixed ComputeAutoscaler#fixed} Fixed *float64 `field:"optional" json:"fixed" yaml:"fixed"` // Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#percent ComputeAutoscaler#percent} Percent *float64 `field:"optional" json:"percent" yaml:"percent"` }
type ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference ¶
type ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Fixed() *float64 SetFixed(val *float64) FixedInput() *float64 // Experimental. Fqn() *string InternalValue() *ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas SetInternalValue(val *ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas) Percent() *float64 SetPercent(val *float64) PercentInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetFixed() ResetPercent() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference ¶
func NewComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference
type ComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference ¶
type ComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeAutoscalerAutoscalingPolicyScaleInControl SetInternalValue(val *ComputeAutoscalerAutoscalingPolicyScaleInControl) MaxScaledInReplicas() ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference MaxScaledInReplicasInput() *ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TimeWindowSec() *float64 SetTimeWindowSec(val *float64) TimeWindowSecInput() *float64 // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutMaxScaledInReplicas(value *ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas) ResetMaxScaledInReplicas() ResetTimeWindowSec() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference ¶
func NewComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference
type ComputeAutoscalerAutoscalingPolicyScalingSchedules ¶
type ComputeAutoscalerAutoscalingPolicyScalingSchedules struct { // The duration of time intervals (in seconds) for which this scaling schedule will be running. // // The minimum allowed value is 300. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#duration_sec ComputeAutoscaler#duration_sec} DurationSec *float64 `field:"required" json:"durationSec" yaml:"durationSec"` // Minimum number of VM instances that autoscaler will recommend in time intervals starting according to schedule. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#min_required_replicas ComputeAutoscaler#min_required_replicas} MinRequiredReplicas *float64 `field:"required" json:"minRequiredReplicas" yaml:"minRequiredReplicas"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#name ComputeAutoscaler#name}. Name *string `field:"required" json:"name" yaml:"name"` // The start timestamps of time intervals when this scaling schedule should provide a scaling signal. // // This field uses the extended cron format (with an optional year field). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#schedule ComputeAutoscaler#schedule} Schedule *string `field:"required" json:"schedule" yaml:"schedule"` // A description of a scaling schedule. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#description ComputeAutoscaler#description} Description *string `field:"optional" json:"description" yaml:"description"` // A boolean value that specifies if a scaling schedule can influence autoscaler recommendations. // // If set to true, then a scaling schedule has no effect. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#disabled ComputeAutoscaler#disabled} Disabled interface{} `field:"optional" json:"disabled" yaml:"disabled"` // The time zone to be used when interpreting the schedule. // // The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#time_zone ComputeAutoscaler#time_zone} TimeZone *string `field:"optional" json:"timeZone" yaml:"timeZone"` }
type ComputeAutoscalerAutoscalingPolicyScalingSchedulesList ¶
type ComputeAutoscalerAutoscalingPolicyScalingSchedulesList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeAutoscalerAutoscalingPolicyScalingSchedulesList ¶
func NewComputeAutoscalerAutoscalingPolicyScalingSchedulesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeAutoscalerAutoscalingPolicyScalingSchedulesList
type ComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference ¶
type ComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Description() *string SetDescription(val *string) DescriptionInput() *string Disabled() interface{} SetDisabled(val interface{}) DisabledInput() interface{} DurationSec() *float64 SetDurationSec(val *float64) DurationSecInput() *float64 // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) MinRequiredReplicas() *float64 SetMinRequiredReplicas(val *float64) MinRequiredReplicasInput() *float64 Name() *string SetName(val *string) NameInput() *string Schedule() *string SetSchedule(val *string) ScheduleInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TimeZone() *string SetTimeZone(val *string) TimeZoneInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDescription() ResetDisabled() ResetTimeZone() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference ¶
func NewComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference
type ComputeAutoscalerConfig ¶
type ComputeAutoscalerConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // autoscaling_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#autoscaling_policy ComputeAutoscaler#autoscaling_policy} AutoscalingPolicy *ComputeAutoscalerAutoscalingPolicy `field:"required" json:"autoscalingPolicy" yaml:"autoscalingPolicy"` // Name of the resource. // // The name must be 1-63 characters long and match // the regular expression '[a-z]([-a-z0-9]*[a-z0-9])?' which means the // first character must be a lowercase letter, and all following // characters must be a dash, lowercase letter, or digit, except the last // character, which cannot be a dash. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#name ComputeAutoscaler#name} Name *string `field:"required" json:"name" yaml:"name"` // URL of the managed instance group that this autoscaler will scale. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#target ComputeAutoscaler#target} Target *string `field:"required" json:"target" yaml:"target"` // An optional description of this resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#description ComputeAutoscaler#description} Description *string `field:"optional" json:"description" yaml:"description"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#id ComputeAutoscaler#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#project ComputeAutoscaler#project}. Project *string `field:"optional" json:"project" yaml:"project"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#timeouts ComputeAutoscaler#timeouts} Timeouts *ComputeAutoscalerTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // URL of the zone where the instance group resides. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#zone ComputeAutoscaler#zone} Zone *string `field:"optional" json:"zone" yaml:"zone"` }
type ComputeAutoscalerTimeouts ¶
type ComputeAutoscalerTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#create ComputeAutoscaler#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#delete ComputeAutoscaler#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.8.0/docs/resources/compute_autoscaler#update ComputeAutoscaler#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeAutoscalerTimeoutsOutputReference ¶
type ComputeAutoscalerTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeAutoscalerTimeoutsOutputReference ¶
func NewComputeAutoscalerTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeAutoscalerTimeoutsOutputReference
Source Files ¶
- ComputeAutoscaler.go
- ComputeAutoscalerAutoscalingPolicy.go
- ComputeAutoscalerAutoscalingPolicyCpuUtilization.go
- ComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference.go
- ComputeAutoscalerAutoscalingPolicyCpuUtilizationOutputReference__checks.go
- ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilization.go
- ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference.go
- ComputeAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference__checks.go
- ComputeAutoscalerAutoscalingPolicyMetric.go
- ComputeAutoscalerAutoscalingPolicyMetricList.go
- ComputeAutoscalerAutoscalingPolicyMetricList__checks.go
- ComputeAutoscalerAutoscalingPolicyMetricOutputReference.go
- ComputeAutoscalerAutoscalingPolicyMetricOutputReference__checks.go
- ComputeAutoscalerAutoscalingPolicyOutputReference.go
- ComputeAutoscalerAutoscalingPolicyOutputReference__checks.go
- ComputeAutoscalerAutoscalingPolicyScaleInControl.go
- ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas.go
- ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference.go
- ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference__checks.go
- ComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference.go
- ComputeAutoscalerAutoscalingPolicyScaleInControlOutputReference__checks.go
- ComputeAutoscalerAutoscalingPolicyScalingSchedules.go
- ComputeAutoscalerAutoscalingPolicyScalingSchedulesList.go
- ComputeAutoscalerAutoscalingPolicyScalingSchedulesList__checks.go
- ComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference.go
- ComputeAutoscalerAutoscalingPolicyScalingSchedulesOutputReference__checks.go
- ComputeAutoscalerConfig.go
- ComputeAutoscalerTimeouts.go
- ComputeAutoscalerTimeoutsOutputReference.go
- ComputeAutoscalerTimeoutsOutputReference__checks.go
- ComputeAutoscaler__checks.go
- main.go