Documentation
¶
Index ¶
- func GoogleComputeRegionAutoscaler_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func GoogleComputeRegionAutoscaler_IsConstruct(x interface{}) *bool
- func GoogleComputeRegionAutoscaler_IsTerraformElement(x interface{}) *bool
- func GoogleComputeRegionAutoscaler_IsTerraformResource(x interface{}) *bool
- func GoogleComputeRegionAutoscaler_TfResourceType() *string
- func NewGoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference, ...)
- func NewGoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference_Override(...)
- func NewGoogleComputeRegionAutoscalerAutoscalingPolicyMetricList_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyMetricList, ...)
- func NewGoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference, ...)
- func NewGoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference, ...)
- func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference_Override(...)
- func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference_Override(...)
- func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference_Override(...)
- func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference, ...)
- func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList, ...)
- func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference_Override(...)
- func NewGoogleComputeRegionAutoscalerTimeoutsOutputReference_Override(g GoogleComputeRegionAutoscalerTimeoutsOutputReference, ...)
- func NewGoogleComputeRegionAutoscaler_Override(g GoogleComputeRegionAutoscaler, scope constructs.Construct, id *string, ...)
- type GoogleComputeRegionAutoscaler
- type GoogleComputeRegionAutoscalerAutoscalingPolicy
- type GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilization
- type GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference
- type GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilization
- type GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference
- type GoogleComputeRegionAutoscalerAutoscalingPolicyMetric
- type GoogleComputeRegionAutoscalerAutoscalingPolicyMetricList
- type GoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference
- type GoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference
- type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControl
- type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicas
- type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference
- type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference
- type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControl
- type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas
- type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference
- type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference
- type GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedules
- type GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList
- type GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference
- type GoogleComputeRegionAutoscalerConfig
- type GoogleComputeRegionAutoscalerTimeouts
- type GoogleComputeRegionAutoscalerTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleComputeRegionAutoscaler_GenerateConfigForImport ¶
func GoogleComputeRegionAutoscaler_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a GoogleComputeRegionAutoscaler resource upon running "cdktf plan <stack-name>".
func GoogleComputeRegionAutoscaler_IsConstruct ¶
func GoogleComputeRegionAutoscaler_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 GoogleComputeRegionAutoscaler_IsTerraformElement ¶
func GoogleComputeRegionAutoscaler_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleComputeRegionAutoscaler_IsTerraformResource ¶
func GoogleComputeRegionAutoscaler_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleComputeRegionAutoscaler_TfResourceType ¶
func GoogleComputeRegionAutoscaler_TfResourceType() *string
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference_Override ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference_Override ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyMetricList_Override ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyMetricList_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyMetricList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference_Override ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference_Override ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference_Override ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference_Override ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference_Override ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference_Override ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList_Override ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference_Override ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference_Override(g GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeRegionAutoscalerTimeoutsOutputReference_Override ¶
func NewGoogleComputeRegionAutoscalerTimeoutsOutputReference_Override(g GoogleComputeRegionAutoscalerTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeRegionAutoscaler_Override ¶
func NewGoogleComputeRegionAutoscaler_Override(g GoogleComputeRegionAutoscaler, scope constructs.Construct, id *string, config *GoogleComputeRegionAutoscalerConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler google_compute_region_autoscaler} Resource.
Types ¶
type GoogleComputeRegionAutoscaler ¶
type GoogleComputeRegionAutoscaler interface {
cdktf.TerraformResource
AutoscalingPolicy() GoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference
AutoscalingPolicyInput() *GoogleComputeRegionAutoscalerAutoscalingPolicy
// 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{}
Region() *string
SetRegion(val *string)
RegionInput() *string
SelfLink() *string
Target() *string
SetTarget(val *string)
TargetInput() *string
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
Timeouts() GoogleComputeRegionAutoscalerTimeoutsOutputReference
TimeoutsInput() interface{}
// 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 *GoogleComputeRegionAutoscalerAutoscalingPolicy)
PutTimeouts(value *GoogleComputeRegionAutoscalerTimeouts)
ResetDescription()
ResetId()
// Resets a previously passed logical Id to use the auto-generated logical id again.
// Experimental.
ResetOverrideLogicalId()
ResetProject()
ResetRegion()
ResetTimeouts()
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-beta/5.11.0/docs/resources/google_compute_region_autoscaler google_compute_region_autoscaler}.
func NewGoogleComputeRegionAutoscaler ¶
func NewGoogleComputeRegionAutoscaler(scope constructs.Construct, id *string, config *GoogleComputeRegionAutoscalerConfig) GoogleComputeRegionAutoscaler
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler google_compute_region_autoscaler} Resource.
type GoogleComputeRegionAutoscalerAutoscalingPolicy ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicy 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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#max_replicas GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#min_replicas GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#cooldown_period GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#cpu_utilization GoogleComputeRegionAutoscaler#cpu_utilization}
CpuUtilization *GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilization `field:"optional" json:"cpuUtilization" yaml:"cpuUtilization"`
// load_balancing_utilization block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#load_balancing_utilization GoogleComputeRegionAutoscaler#load_balancing_utilization}
LoadBalancingUtilization *GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilization `field:"optional" json:"loadBalancingUtilization" yaml:"loadBalancingUtilization"`
// metric block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#metric GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#mode GoogleComputeRegionAutoscaler#mode}
Mode *string `field:"optional" json:"mode" yaml:"mode"`
// scale_down_control block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#scale_down_control GoogleComputeRegionAutoscaler#scale_down_control}
ScaleDownControl *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControl `field:"optional" json:"scaleDownControl" yaml:"scaleDownControl"`
// scale_in_control block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#scale_in_control GoogleComputeRegionAutoscaler#scale_in_control}
ScaleInControl *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControl `field:"optional" json:"scaleInControl" yaml:"scaleInControl"`
// scaling_schedules block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#scaling_schedules GoogleComputeRegionAutoscaler#scaling_schedules}
ScalingSchedules interface{} `field:"optional" json:"scalingSchedules" yaml:"scalingSchedules"`
}
type GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilization ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilization 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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#target GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#predictive_method GoogleComputeRegionAutoscaler#predictive_method}
PredictiveMethod *string `field:"optional" json:"predictiveMethod" yaml:"predictiveMethod"`
}
type GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference 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() *GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilization
SetInternalValue(val *GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilization)
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 NewGoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference
type GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilization ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilization 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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#target GoogleComputeRegionAutoscaler#target}
Target *float64 `field:"required" json:"target" yaml:"target"`
}
type GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference 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() *GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilization
SetInternalValue(val *GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilization)
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 NewGoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference
type GoogleComputeRegionAutoscalerAutoscalingPolicyMetric ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyMetric 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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#name GoogleComputeRegionAutoscaler#name}
Name *string `field:"required" json:"name" yaml:"name"`
// A filter string to be used as the filter string for a Stackdriver Monitoring TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data.
//
// You can only use the AND operator for joining selectors.
// You can only use direct equality comparison operator (=) without
// any functions for each selector.
// You can specify the metric in both the filter string and in the
// metric field. However, if specified in both places, the metric must
// be identical.
//
// The monitored resource type determines what kind of values are
// expected for the metric. If it is a gce_instance, the autoscaler
// expects the metric to include a separate TimeSeries for each
// instance in a group. In such a case, you cannot filter on resource
// labels.
//
// If the resource type is any other value, the autoscaler expects
// this metric to contain values that apply to the entire autoscaled
// instance group and resource label filtering can be performed to
// point autoscaler at the correct TimeSeries to scale upon.
// This is called a per-group metric for the purpose of autoscaling.
//
// If not specified, the type defaults to gce_instance.
//
// You should provide a filter that is selective enough to pick just
// one TimeSeries for the autoscaled group or for each of the instances
// (if you are using gce_instance resource type). If multiple
// TimeSeries are returned upon the query execution, the autoscaler
// will sum their respective values to obtain its scaling value.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#filter GoogleComputeRegionAutoscaler#filter}
Filter *string `field:"optional" json:"filter" yaml:"filter"`
// If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group.
//
// The autoscaler will keep the number of instances proportional to the
// value of this metric, the metric itself should not change value due
// to group resizing.
//
// For example, a good metric to use with the target is
// 'pubsub.googleapis.com/subscription/num_undelivered_messages'
// or a custom metric exporting the total number of requests coming to
// your instances.
//
// A bad example would be a metric exporting an average or median
// latency, since this value can't include a chunk assignable to a
// single instance, it could be better used with utilization_target
// instead.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#single_instance_assignment GoogleComputeRegionAutoscaler#single_instance_assignment}
SingleInstanceAssignment *float64 `field:"optional" json:"singleInstanceAssignment" yaml:"singleInstanceAssignment"`
// 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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#target GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#type GoogleComputeRegionAutoscaler#type}
Type *string `field:"optional" json:"type" yaml:"type"`
}
type GoogleComputeRegionAutoscalerAutoscalingPolicyMetricList ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyMetricList 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) GoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference
// 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 NewGoogleComputeRegionAutoscalerAutoscalingPolicyMetricList ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyMetricList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeRegionAutoscalerAutoscalingPolicyMetricList
type GoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference 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
Filter() *string
SetFilter(val *string)
FilterInput() *string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
Name() *string
SetName(val *string)
NameInput() *string
SingleInstanceAssignment() *float64
SetSingleInstanceAssignment(val *float64)
SingleInstanceAssignmentInput() *float64
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
ResetFilter()
ResetSingleInstanceAssignment()
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 NewGoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference
type GoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference 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() GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference
CpuUtilizationInput() *GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilization
// 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() *GoogleComputeRegionAutoscalerAutoscalingPolicy
SetInternalValue(val *GoogleComputeRegionAutoscalerAutoscalingPolicy)
LoadBalancingUtilization() GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference
LoadBalancingUtilizationInput() *GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilization
MaxReplicas() *float64
SetMaxReplicas(val *float64)
MaxReplicasInput() *float64
Metric() GoogleComputeRegionAutoscalerAutoscalingPolicyMetricList
MetricInput() interface{}
MinReplicas() *float64
SetMinReplicas(val *float64)
MinReplicasInput() *float64
Mode() *string
SetMode(val *string)
ModeInput() *string
ScaleDownControl() GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference
ScaleDownControlInput() *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControl
ScaleInControl() GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference
ScaleInControlInput() *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControl
ScalingSchedules() GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList
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 *GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilization)
PutLoadBalancingUtilization(value *GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilization)
PutMetric(value interface{})
PutScaleDownControl(value *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControl)
PutScaleInControl(value *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControl)
PutScalingSchedules(value interface{})
ResetCooldownPeriod()
ResetCpuUtilization()
ResetLoadBalancingUtilization()
ResetMetric()
ResetMode()
ResetScaleDownControl()
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 NewGoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControl ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControl struct {
// max_scaled_down_replicas block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#max_scaled_down_replicas GoogleComputeRegionAutoscaler#max_scaled_down_replicas}
MaxScaledDownReplicas *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicas `field:"optional" json:"maxScaledDownReplicas" yaml:"maxScaledDownReplicas"`
// 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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#time_window_sec GoogleComputeRegionAutoscaler#time_window_sec}
TimeWindowSec *float64 `field:"optional" json:"timeWindowSec" yaml:"timeWindowSec"`
}
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicas ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicas 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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#fixed GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#percent GoogleComputeRegionAutoscaler#percent}
Percent *float64 `field:"optional" json:"percent" yaml:"percent"`
}
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference 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() *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicas
SetInternalValue(val *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicas)
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 NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference 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() *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControl
SetInternalValue(val *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControl)
MaxScaledDownReplicas() GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference
MaxScaledDownReplicasInput() *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicas
// 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
PutMaxScaledDownReplicas(value *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicas)
ResetMaxScaledDownReplicas()
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 NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControl ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControl struct {
// max_scaled_in_replicas block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#max_scaled_in_replicas GoogleComputeRegionAutoscaler#max_scaled_in_replicas}
MaxScaledInReplicas *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas `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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#time_window_sec GoogleComputeRegionAutoscaler#time_window_sec}
TimeWindowSec *float64 `field:"optional" json:"timeWindowSec" yaml:"timeWindowSec"`
}
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas 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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#fixed GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#percent GoogleComputeRegionAutoscaler#percent}
Percent *float64 `field:"optional" json:"percent" yaml:"percent"`
}
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference 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() *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas
SetInternalValue(val *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas)
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 NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference 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() *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControl
SetInternalValue(val *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControl)
MaxScaledInReplicas() GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference
MaxScaledInReplicasInput() *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas
// 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 *GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas)
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 NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference
type GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedules ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedules 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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#duration_sec GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#min_required_replicas GoogleComputeRegionAutoscaler#min_required_replicas}
MinRequiredReplicas *float64 `field:"required" json:"minRequiredReplicas" yaml:"minRequiredReplicas"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#name GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#schedule GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#description GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#disabled GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#time_zone GoogleComputeRegionAutoscaler#time_zone}
TimeZone *string `field:"optional" json:"timeZone" yaml:"timeZone"`
}
type GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList 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) GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference
// 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 NewGoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList
type GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference ¶
type GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference 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 NewGoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference ¶
func NewGoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference
type GoogleComputeRegionAutoscalerConfig ¶
type GoogleComputeRegionAutoscalerConfig 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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#autoscaling_policy GoogleComputeRegionAutoscaler#autoscaling_policy}
AutoscalingPolicy *GoogleComputeRegionAutoscalerAutoscalingPolicy `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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#name GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#target GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#description GoogleComputeRegionAutoscaler#description}
Description *string `field:"optional" json:"description" yaml:"description"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#id GoogleComputeRegionAutoscaler#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-beta/5.11.0/docs/resources/google_compute_region_autoscaler#project GoogleComputeRegionAutoscaler#project}.
Project *string `field:"optional" json:"project" yaml:"project"`
// URL of the region where the instance group resides.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#region GoogleComputeRegionAutoscaler#region}
Region *string `field:"optional" json:"region" yaml:"region"`
// timeouts block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#timeouts GoogleComputeRegionAutoscaler#timeouts}
Timeouts *GoogleComputeRegionAutoscalerTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"`
}
type GoogleComputeRegionAutoscalerTimeouts ¶
type GoogleComputeRegionAutoscalerTimeouts struct {
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#create GoogleComputeRegionAutoscaler#create}.
Create *string `field:"optional" json:"create" yaml:"create"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#delete GoogleComputeRegionAutoscaler#delete}.
Delete *string `field:"optional" json:"delete" yaml:"delete"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.11.0/docs/resources/google_compute_region_autoscaler#update GoogleComputeRegionAutoscaler#update}.
Update *string `field:"optional" json:"update" yaml:"update"`
}
type GoogleComputeRegionAutoscalerTimeoutsOutputReference ¶
type GoogleComputeRegionAutoscalerTimeoutsOutputReference 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 NewGoogleComputeRegionAutoscalerTimeoutsOutputReference ¶
func NewGoogleComputeRegionAutoscalerTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeRegionAutoscalerTimeoutsOutputReference
Source Files
¶
- GoogleComputeRegionAutoscaler.go
- GoogleComputeRegionAutoscalerAutoscalingPolicy.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilization.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyCpuUtilizationOutputReference__checks.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilization.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyLoadBalancingUtilizationOutputReference__checks.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyMetric.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyMetricList.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyMetricList__checks.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyMetricOutputReference__checks.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyOutputReference__checks.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControl.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicas.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlMaxScaledDownReplicasOutputReference__checks.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleDownControlOutputReference__checks.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControl.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicasOutputReference__checks.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScaleInControlOutputReference__checks.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedules.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesList__checks.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference.go
- GoogleComputeRegionAutoscalerAutoscalingPolicyScalingSchedulesOutputReference__checks.go
- GoogleComputeRegionAutoscalerConfig.go
- GoogleComputeRegionAutoscalerTimeouts.go
- GoogleComputeRegionAutoscalerTimeoutsOutputReference.go
- GoogleComputeRegionAutoscalerTimeoutsOutputReference__checks.go
- GoogleComputeRegionAutoscaler__checks.go
- main.go