Documentation ¶
Index ¶
- func HorizontalPodAutoscalerV2_IsConstruct(x interface{}) *bool
- func HorizontalPodAutoscalerV2_IsTerraformElement(x interface{}) *bool
- func HorizontalPodAutoscalerV2_IsTerraformResource(x interface{}) *bool
- func HorizontalPodAutoscalerV2_TfResourceType() *string
- func NewHorizontalPodAutoscalerV2MetadataOutputReference_Override(h HorizontalPodAutoscalerV2MetadataOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecBehaviorOutputReference_Override(h HorizontalPodAutoscalerV2SpecBehaviorOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownList_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleDownList, ...)
- func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList, ...)
- func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpList_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleUpList, ...)
- func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList, ...)
- func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList_Override(h HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList_Override(...)
- func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference_Override(...)
- func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricExternalOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricExternalOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricList_Override(h HorizontalPodAutoscalerV2SpecMetricList, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList_Override(h HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList_Override(h HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference_Override(...)
- func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricObjectOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricObjectOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList_Override(h HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList_Override(h HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference_Override(...)
- func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricPodsOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricPodsOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricResourceOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricResourceOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecOutputReference_Override(h HorizontalPodAutoscalerV2SpecOutputReference, ...)
- func NewHorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference_Override(h HorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference, ...)
- func NewHorizontalPodAutoscalerV2_Override(h HorizontalPodAutoscalerV2, scope constructs.Construct, id *string, ...)
- type HorizontalPodAutoscalerV2
- type HorizontalPodAutoscalerV2Config
- type HorizontalPodAutoscalerV2Metadata
- type HorizontalPodAutoscalerV2MetadataOutputReference
- type HorizontalPodAutoscalerV2Spec
- type HorizontalPodAutoscalerV2SpecBehavior
- type HorizontalPodAutoscalerV2SpecBehaviorOutputReference
- type HorizontalPodAutoscalerV2SpecBehaviorScaleDown
- type HorizontalPodAutoscalerV2SpecBehaviorScaleDownList
- type HorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference
- type HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicy
- type HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList
- type HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference
- type HorizontalPodAutoscalerV2SpecBehaviorScaleUp
- type HorizontalPodAutoscalerV2SpecBehaviorScaleUpList
- type HorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference
- type HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicy
- type HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList
- type HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference
- type HorizontalPodAutoscalerV2SpecMetric
- type HorizontalPodAutoscalerV2SpecMetricContainerResource
- type HorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference
- type HorizontalPodAutoscalerV2SpecMetricContainerResourceTarget
- type HorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference
- type HorizontalPodAutoscalerV2SpecMetricExternal
- type HorizontalPodAutoscalerV2SpecMetricExternalMetric
- type HorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference
- type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelector
- type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList
- type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressions
- type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList
- type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference
- type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference
- type HorizontalPodAutoscalerV2SpecMetricExternalOutputReference
- type HorizontalPodAutoscalerV2SpecMetricExternalTarget
- type HorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference
- type HorizontalPodAutoscalerV2SpecMetricList
- type HorizontalPodAutoscalerV2SpecMetricObject
- type HorizontalPodAutoscalerV2SpecMetricObjectDescribedObject
- type HorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference
- type HorizontalPodAutoscalerV2SpecMetricObjectMetric
- type HorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference
- type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelector
- type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList
- type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressions
- type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList
- type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference
- type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference
- type HorizontalPodAutoscalerV2SpecMetricObjectOutputReference
- type HorizontalPodAutoscalerV2SpecMetricObjectTarget
- type HorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference
- type HorizontalPodAutoscalerV2SpecMetricOutputReference
- type HorizontalPodAutoscalerV2SpecMetricPods
- type HorizontalPodAutoscalerV2SpecMetricPodsMetric
- type HorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference
- type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelector
- type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList
- type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressions
- type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList
- type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference
- type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference
- type HorizontalPodAutoscalerV2SpecMetricPodsOutputReference
- type HorizontalPodAutoscalerV2SpecMetricPodsTarget
- type HorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference
- type HorizontalPodAutoscalerV2SpecMetricResource
- type HorizontalPodAutoscalerV2SpecMetricResourceOutputReference
- type HorizontalPodAutoscalerV2SpecMetricResourceTarget
- type HorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference
- type HorizontalPodAutoscalerV2SpecOutputReference
- type HorizontalPodAutoscalerV2SpecScaleTargetRef
- type HorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HorizontalPodAutoscalerV2_IsConstruct ¶
func HorizontalPodAutoscalerV2_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 HorizontalPodAutoscalerV2_IsTerraformElement ¶
func HorizontalPodAutoscalerV2_IsTerraformElement(x interface{}) *bool
Experimental.
func HorizontalPodAutoscalerV2_IsTerraformResource ¶
func HorizontalPodAutoscalerV2_IsTerraformResource(x interface{}) *bool
Experimental.
func HorizontalPodAutoscalerV2_TfResourceType ¶
func HorizontalPodAutoscalerV2_TfResourceType() *string
func NewHorizontalPodAutoscalerV2MetadataOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2MetadataOutputReference_Override(h HorizontalPodAutoscalerV2MetadataOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecBehaviorOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorOutputReference_Override(h HorizontalPodAutoscalerV2SpecBehaviorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownList_Override ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownList_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleDownList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList_Override ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpList_Override ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpList_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleUpList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList_Override ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference_Override(h HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList_Override(h HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList_Override(h HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricExternalOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricExternalOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricList_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricList_Override(h HorizontalPodAutoscalerV2SpecMetricList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList_Override(h HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList_Override(h HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricObjectOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricObjectOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList_Override(h HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList_Override(h HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewHorizontalPodAutoscalerV2SpecMetricPodsOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricPodsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricResourceOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricResourceOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricResourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference_Override(h HorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecOutputReference_Override(h HorizontalPodAutoscalerV2SpecOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference_Override ¶
func NewHorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference_Override(h HorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewHorizontalPodAutoscalerV2_Override ¶
func NewHorizontalPodAutoscalerV2_Override(h HorizontalPodAutoscalerV2, scope constructs.Construct, id *string, config *HorizontalPodAutoscalerV2Config)
Create a new {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2 kubernetes_horizontal_pod_autoscaler_v2} Resource.
Types ¶
type HorizontalPodAutoscalerV2 ¶
type HorizontalPodAutoscalerV2 interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*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) Metadata() HorizontalPodAutoscalerV2MetadataOutputReference MetadataInput() *HorizontalPodAutoscalerV2Metadata // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Spec() HorizontalPodAutoscalerV2SpecOutputReference SpecInput() *HorizontalPodAutoscalerV2Spec // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutMetadata(value *HorizontalPodAutoscalerV2Metadata) PutSpec(value *HorizontalPodAutoscalerV2Spec) ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() 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/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2 kubernetes_horizontal_pod_autoscaler_v2}.
func NewHorizontalPodAutoscalerV2 ¶
func NewHorizontalPodAutoscalerV2(scope constructs.Construct, id *string, config *HorizontalPodAutoscalerV2Config) HorizontalPodAutoscalerV2
Create a new {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2 kubernetes_horizontal_pod_autoscaler_v2} Resource.
type HorizontalPodAutoscalerV2Config ¶
type HorizontalPodAutoscalerV2Config 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"` // metadata block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#metadata HorizontalPodAutoscalerV2#metadata} Metadata *HorizontalPodAutoscalerV2Metadata `field:"required" json:"metadata" yaml:"metadata"` // spec block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#spec HorizontalPodAutoscalerV2#spec} Spec *HorizontalPodAutoscalerV2Spec `field:"required" json:"spec" yaml:"spec"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#id HorizontalPodAutoscalerV2#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"` }
type HorizontalPodAutoscalerV2Metadata ¶
type HorizontalPodAutoscalerV2Metadata struct { // An unstructured key value map stored with the horizontal pod autoscaler that may be used to store arbitrary metadata. // // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#annotations HorizontalPodAutoscalerV2#annotations} Annotations *map[string]*string `field:"optional" json:"annotations" yaml:"annotations"` // Prefix, used by the server, to generate a unique name ONLY IF the `name` field has not been provided. // // This value will also be combined with a unique suffix. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#generate_name HorizontalPodAutoscalerV2#generate_name} GenerateName *string `field:"optional" json:"generateName" yaml:"generateName"` // Map of string keys and values that can be used to organize and categorize (scope and select) the horizontal pod autoscaler. // // May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#labels HorizontalPodAutoscalerV2#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Name of the horizontal pod autoscaler, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#name HorizontalPodAutoscalerV2#name} Name *string `field:"optional" json:"name" yaml:"name"` // Namespace defines the space within which name of the horizontal pod autoscaler must be unique. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#namespace HorizontalPodAutoscalerV2#namespace} Namespace *string `field:"optional" json:"namespace" yaml:"namespace"` }
type HorizontalPodAutoscalerV2MetadataOutputReference ¶
type HorizontalPodAutoscalerV2MetadataOutputReference interface { cdktf.ComplexObject Annotations() *map[string]*string SetAnnotations(val *map[string]*string) AnnotationsInput() *map[string]*string // 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 GenerateName() *string SetGenerateName(val *string) GenerateNameInput() *string Generation() *float64 InternalValue() *HorizontalPodAutoscalerV2Metadata SetInternalValue(val *HorizontalPodAutoscalerV2Metadata) Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string Name() *string SetName(val *string) NameInput() *string Namespace() *string SetNamespace(val *string) NamespaceInput() *string ResourceVersion() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Uid() *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 ResetAnnotations() ResetGenerateName() ResetLabels() ResetName() ResetNamespace() // 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 NewHorizontalPodAutoscalerV2MetadataOutputReference ¶
func NewHorizontalPodAutoscalerV2MetadataOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2MetadataOutputReference
type HorizontalPodAutoscalerV2Spec ¶
type HorizontalPodAutoscalerV2Spec struct { // Upper limit for the number of pods that can be set by the autoscaler. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#max_replicas HorizontalPodAutoscalerV2#max_replicas} MaxReplicas *float64 `field:"required" json:"maxReplicas" yaml:"maxReplicas"` // scale_target_ref block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#scale_target_ref HorizontalPodAutoscalerV2#scale_target_ref} ScaleTargetRef *HorizontalPodAutoscalerV2SpecScaleTargetRef `field:"required" json:"scaleTargetRef" yaml:"scaleTargetRef"` // behavior block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#behavior HorizontalPodAutoscalerV2#behavior} Behavior *HorizontalPodAutoscalerV2SpecBehavior `field:"optional" json:"behavior" yaml:"behavior"` // metric block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#metric HorizontalPodAutoscalerV2#metric} Metric interface{} `field:"optional" json:"metric" yaml:"metric"` // Lower limit for the number of pods that can be set by the autoscaler, defaults to `1`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#min_replicas HorizontalPodAutoscalerV2#min_replicas} MinReplicas *float64 `field:"optional" json:"minReplicas" yaml:"minReplicas"` // Target average CPU utilization (represented as a percentage of requested CPU) over all the pods. // // If not specified the default autoscaling policy will be used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#target_cpu_utilization_percentage HorizontalPodAutoscalerV2#target_cpu_utilization_percentage} TargetCpuUtilizationPercentage *float64 `field:"optional" json:"targetCpuUtilizationPercentage" yaml:"targetCpuUtilizationPercentage"` }
type HorizontalPodAutoscalerV2SpecBehavior ¶
type HorizontalPodAutoscalerV2SpecBehavior struct { // scale_down block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#scale_down HorizontalPodAutoscalerV2#scale_down} ScaleDown interface{} `field:"optional" json:"scaleDown" yaml:"scaleDown"` // scale_up block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#scale_up HorizontalPodAutoscalerV2#scale_up} ScaleUp interface{} `field:"optional" json:"scaleUp" yaml:"scaleUp"` }
type HorizontalPodAutoscalerV2SpecBehaviorOutputReference ¶
type HorizontalPodAutoscalerV2SpecBehaviorOutputReference 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() *HorizontalPodAutoscalerV2SpecBehavior SetInternalValue(val *HorizontalPodAutoscalerV2SpecBehavior) ScaleDown() HorizontalPodAutoscalerV2SpecBehaviorScaleDownList ScaleDownInput() interface{} ScaleUp() HorizontalPodAutoscalerV2SpecBehaviorScaleUpList ScaleUpInput() 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 PutScaleDown(value interface{}) PutScaleUp(value interface{}) ResetScaleDown() ResetScaleUp() // 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 NewHorizontalPodAutoscalerV2SpecBehaviorOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecBehaviorOutputReference
type HorizontalPodAutoscalerV2SpecBehaviorScaleDown ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleDown struct { // policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#policy HorizontalPodAutoscalerV2#policy} Policy interface{} `field:"required" json:"policy" yaml:"policy"` // Used to specify which policy should be used. If not set, the default value Max is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#select_policy HorizontalPodAutoscalerV2#select_policy} SelectPolicy *string `field:"optional" json:"selectPolicy" yaml:"selectPolicy"` // Number of seconds for which past recommendations should be considered while scaling up or scaling down. // // This value must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#stabilization_window_seconds HorizontalPodAutoscalerV2#stabilization_window_seconds} StabilizationWindowSeconds *float64 `field:"optional" json:"stabilizationWindowSeconds" yaml:"stabilizationWindowSeconds"` }
type HorizontalPodAutoscalerV2SpecBehaviorScaleDownList ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleDownList 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) HorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference // 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 NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownList ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) HorizontalPodAutoscalerV2SpecBehaviorScaleDownList
type HorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference 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{}) Policy() HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList PolicyInput() interface{} SelectPolicy() *string SetSelectPolicy(val *string) SelectPolicyInput() *string StabilizationWindowSeconds() *float64 SetStabilizationWindowSeconds(val *float64) StabilizationWindowSecondsInput() *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 PutPolicy(value interface{}) ResetSelectPolicy() ResetStabilizationWindowSeconds() // 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 NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) HorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference
type HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicy ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicy struct { // Period specifies the window of time for which the policy should hold true. // // PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#period_seconds HorizontalPodAutoscalerV2#period_seconds} PeriodSeconds *float64 `field:"required" json:"periodSeconds" yaml:"periodSeconds"` // Type is used to specify the scaling policy: Percent or Pods. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#type HorizontalPodAutoscalerV2#type} Type *string `field:"required" json:"type" yaml:"type"` // Value contains the amount of change which is permitted by the policy. It must be greater than zero. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#value HorizontalPodAutoscalerV2#value} Value *float64 `field:"required" json:"value" yaml:"value"` }
type HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList 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) HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference // 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 NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList
type HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference 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{}) PeriodSeconds() *float64 SetPeriodSeconds(val *float64) PeriodSecondsInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Value() *float64 SetValue(val *float64) ValueInput() *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 // 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 NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference
type HorizontalPodAutoscalerV2SpecBehaviorScaleUp ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleUp struct { // policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#policy HorizontalPodAutoscalerV2#policy} Policy interface{} `field:"required" json:"policy" yaml:"policy"` // Used to specify which policy should be used. If not set, the default value Max is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#select_policy HorizontalPodAutoscalerV2#select_policy} SelectPolicy *string `field:"optional" json:"selectPolicy" yaml:"selectPolicy"` // Number of seconds for which past recommendations should be considered while scaling up or scaling down. // // This value must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#stabilization_window_seconds HorizontalPodAutoscalerV2#stabilization_window_seconds} StabilizationWindowSeconds *float64 `field:"optional" json:"stabilizationWindowSeconds" yaml:"stabilizationWindowSeconds"` }
type HorizontalPodAutoscalerV2SpecBehaviorScaleUpList ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleUpList 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) HorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference // 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 NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpList ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) HorizontalPodAutoscalerV2SpecBehaviorScaleUpList
type HorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference 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{}) Policy() HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList PolicyInput() interface{} SelectPolicy() *string SetSelectPolicy(val *string) SelectPolicyInput() *string StabilizationWindowSeconds() *float64 SetStabilizationWindowSeconds(val *float64) StabilizationWindowSecondsInput() *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 PutPolicy(value interface{}) ResetSelectPolicy() ResetStabilizationWindowSeconds() // 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 NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) HorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference
type HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicy ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicy struct { // Period specifies the window of time for which the policy should hold true. // // PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#period_seconds HorizontalPodAutoscalerV2#period_seconds} PeriodSeconds *float64 `field:"required" json:"periodSeconds" yaml:"periodSeconds"` // Type is used to specify the scaling policy: Percent or Pods. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#type HorizontalPodAutoscalerV2#type} Type *string `field:"required" json:"type" yaml:"type"` // Value contains the amount of change which is permitted by the policy. It must be greater than zero. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#value HorizontalPodAutoscalerV2#value} Value *float64 `field:"required" json:"value" yaml:"value"` }
type HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList 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) HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference // 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 NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList
type HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference ¶
type HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference 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{}) PeriodSeconds() *float64 SetPeriodSeconds(val *float64) PeriodSecondsInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Value() *float64 SetValue(val *float64) ValueInput() *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 // 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 NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference
type HorizontalPodAutoscalerV2SpecMetric ¶
type HorizontalPodAutoscalerV2SpecMetric struct { // type is the type of metric source. // // It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#type HorizontalPodAutoscalerV2#type} Type *string `field:"required" json:"type" yaml:"type"` // container_resource block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#container_resource HorizontalPodAutoscalerV2#container_resource} ContainerResource *HorizontalPodAutoscalerV2SpecMetricContainerResource `field:"optional" json:"containerResource" yaml:"containerResource"` // external block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#external HorizontalPodAutoscalerV2#external} External *HorizontalPodAutoscalerV2SpecMetricExternal `field:"optional" json:"external" yaml:"external"` // object block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#object HorizontalPodAutoscalerV2#object} Object *HorizontalPodAutoscalerV2SpecMetricObject `field:"optional" json:"object" yaml:"object"` // pods block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#pods HorizontalPodAutoscalerV2#pods} Pods *HorizontalPodAutoscalerV2SpecMetricPods `field:"optional" json:"pods" yaml:"pods"` // resource block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#resource HorizontalPodAutoscalerV2#resource} Resource *HorizontalPodAutoscalerV2SpecMetricResource `field:"optional" json:"resource" yaml:"resource"` }
type HorizontalPodAutoscalerV2SpecMetricContainerResource ¶
type HorizontalPodAutoscalerV2SpecMetricContainerResource struct { // name of the container in the pods of the scaling target. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#container HorizontalPodAutoscalerV2#container} Container *string `field:"required" json:"container" yaml:"container"` // name of the resource in question. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#name HorizontalPodAutoscalerV2#name} Name *string `field:"required" json:"name" yaml:"name"` // target block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#target HorizontalPodAutoscalerV2#target} Target *HorizontalPodAutoscalerV2SpecMetricContainerResourceTarget `field:"optional" json:"target" yaml:"target"` }
type HorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference 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) Container() *string SetContainer(val *string) ContainerInput() *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 // Experimental. Fqn() *string InternalValue() *HorizontalPodAutoscalerV2SpecMetricContainerResource SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricContainerResource) Name() *string SetName(val *string) NameInput() *string Target() HorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference TargetInput() *HorizontalPodAutoscalerV2SpecMetricContainerResourceTarget // 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 PutTarget(value *HorizontalPodAutoscalerV2SpecMetricContainerResourceTarget) ResetTarget() // 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 NewHorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference
type HorizontalPodAutoscalerV2SpecMetricContainerResourceTarget ¶
type HorizontalPodAutoscalerV2SpecMetricContainerResourceTarget struct { // type represents whether the metric type is Utilization, Value, or AverageValue. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#type HorizontalPodAutoscalerV2#type} Type *string `field:"required" json:"type" yaml:"type"` // averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. // // Currently only valid for Resource metric source type // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#average_utilization HorizontalPodAutoscalerV2#average_utilization} AverageUtilization *float64 `field:"optional" json:"averageUtilization" yaml:"averageUtilization"` // averageValue is the target value of the average of the metric across all relevant pods (as a quantity). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#average_value HorizontalPodAutoscalerV2#average_value} AverageValue *string `field:"optional" json:"averageValue" yaml:"averageValue"` // value is the target value of the metric (as a quantity). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#value HorizontalPodAutoscalerV2#value} Value *string `field:"optional" json:"value" yaml:"value"` }
type HorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference interface { cdktf.ComplexObject AverageUtilization() *float64 SetAverageUtilization(val *float64) AverageUtilizationInput() *float64 AverageValue() *string SetAverageValue(val *string) AverageValueInput() *string // 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() *HorizontalPodAutoscalerV2SpecMetricContainerResourceTarget SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricContainerResourceTarget) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Value() *string SetValue(val *string) ValueInput() *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 ResetAverageUtilization() ResetAverageValue() ResetValue() // 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 NewHorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference
type HorizontalPodAutoscalerV2SpecMetricExternal ¶
type HorizontalPodAutoscalerV2SpecMetricExternal struct { // metric block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#metric HorizontalPodAutoscalerV2#metric} Metric *HorizontalPodAutoscalerV2SpecMetricExternalMetric `field:"required" json:"metric" yaml:"metric"` // target block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#target HorizontalPodAutoscalerV2#target} Target *HorizontalPodAutoscalerV2SpecMetricExternalTarget `field:"optional" json:"target" yaml:"target"` }
type HorizontalPodAutoscalerV2SpecMetricExternalMetric ¶
type HorizontalPodAutoscalerV2SpecMetricExternalMetric struct { // name is the name of the given metric. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#name HorizontalPodAutoscalerV2#name} Name *string `field:"required" json:"name" yaml:"name"` // selector block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#selector HorizontalPodAutoscalerV2#selector} Selector interface{} `field:"optional" json:"selector" yaml:"selector"` }
type HorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference 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() *HorizontalPodAutoscalerV2SpecMetricExternalMetric SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricExternalMetric) Name() *string SetName(val *string) NameInput() *string Selector() HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList SelectorInput() 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 PutSelector(value interface{}) ResetSelector() // 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 NewHorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelector ¶
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelector struct { // match_expressions block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#match_expressions HorizontalPodAutoscalerV2#match_expressions} MatchExpressions interface{} `field:"optional" json:"matchExpressions" yaml:"matchExpressions"` // A map of {key,value} pairs. // // A single {key,value} in the matchLabels map is equivalent to an element of `match_expressions`, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#match_labels HorizontalPodAutoscalerV2#match_labels} MatchLabels *map[string]*string `field:"optional" json:"matchLabels" yaml:"matchLabels"` }
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList ¶
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList 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) HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference // 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 NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressions ¶
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressions struct { // The label key that the selector applies to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#key HorizontalPodAutoscalerV2#key} Key *string `field:"optional" json:"key" yaml:"key"` // A key's relationship to a set of values. Valid operators ard `In`, `NotIn`, `Exists` and `DoesNotExist`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#operator HorizontalPodAutoscalerV2#operator} Operator *string `field:"optional" json:"operator" yaml:"operator"` // An array of string values. // // If the operator is `In` or `NotIn`, the values array must be non-empty. If the operator is `Exists` or `DoesNotExist`, the values array must be empty. This array is replaced during a strategic merge patch. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#values HorizontalPodAutoscalerV2#values} Values *[]*string `field:"optional" json:"values" yaml:"values"` }
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList ¶
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList 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) HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference // 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 NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference 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{}) Key() *string SetKey(val *string) KeyInput() *string Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*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 ResetKey() ResetOperator() ResetValues() // 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 NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference 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{}) MatchExpressions() HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList MatchExpressionsInput() interface{} MatchLabels() *map[string]*string SetMatchLabels(val *map[string]*string) MatchLabelsInput() *map[string]*string // 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 PutMatchExpressions(value interface{}) ResetMatchExpressions() ResetMatchLabels() // 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 NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference
type HorizontalPodAutoscalerV2SpecMetricExternalOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricExternalOutputReference 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() *HorizontalPodAutoscalerV2SpecMetricExternal SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricExternal) Metric() HorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference MetricInput() *HorizontalPodAutoscalerV2SpecMetricExternalMetric Target() HorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference TargetInput() *HorizontalPodAutoscalerV2SpecMetricExternalTarget // 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 PutMetric(value *HorizontalPodAutoscalerV2SpecMetricExternalMetric) PutTarget(value *HorizontalPodAutoscalerV2SpecMetricExternalTarget) ResetTarget() // 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 NewHorizontalPodAutoscalerV2SpecMetricExternalOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricExternalOutputReference
type HorizontalPodAutoscalerV2SpecMetricExternalTarget ¶
type HorizontalPodAutoscalerV2SpecMetricExternalTarget struct { // type represents whether the metric type is Utilization, Value, or AverageValue. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#type HorizontalPodAutoscalerV2#type} Type *string `field:"required" json:"type" yaml:"type"` // averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. // // Currently only valid for Resource metric source type // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#average_utilization HorizontalPodAutoscalerV2#average_utilization} AverageUtilization *float64 `field:"optional" json:"averageUtilization" yaml:"averageUtilization"` // averageValue is the target value of the average of the metric across all relevant pods (as a quantity). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#average_value HorizontalPodAutoscalerV2#average_value} AverageValue *string `field:"optional" json:"averageValue" yaml:"averageValue"` // value is the target value of the metric (as a quantity). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#value HorizontalPodAutoscalerV2#value} Value *string `field:"optional" json:"value" yaml:"value"` }
type HorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference interface { cdktf.ComplexObject AverageUtilization() *float64 SetAverageUtilization(val *float64) AverageUtilizationInput() *float64 AverageValue() *string SetAverageValue(val *string) AverageValueInput() *string // 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() *HorizontalPodAutoscalerV2SpecMetricExternalTarget SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricExternalTarget) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Value() *string SetValue(val *string) ValueInput() *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 ResetAverageUtilization() ResetAverageValue() ResetValue() // 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 NewHorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference
type HorizontalPodAutoscalerV2SpecMetricList ¶
type HorizontalPodAutoscalerV2SpecMetricList 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) HorizontalPodAutoscalerV2SpecMetricOutputReference // 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 NewHorizontalPodAutoscalerV2SpecMetricList ¶
func NewHorizontalPodAutoscalerV2SpecMetricList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) HorizontalPodAutoscalerV2SpecMetricList
type HorizontalPodAutoscalerV2SpecMetricObject ¶
type HorizontalPodAutoscalerV2SpecMetricObject struct { // described_object block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#described_object HorizontalPodAutoscalerV2#described_object} DescribedObject *HorizontalPodAutoscalerV2SpecMetricObjectDescribedObject `field:"required" json:"describedObject" yaml:"describedObject"` // metric block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#metric HorizontalPodAutoscalerV2#metric} Metric *HorizontalPodAutoscalerV2SpecMetricObjectMetric `field:"required" json:"metric" yaml:"metric"` // target block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#target HorizontalPodAutoscalerV2#target} Target *HorizontalPodAutoscalerV2SpecMetricObjectTarget `field:"optional" json:"target" yaml:"target"` }
type HorizontalPodAutoscalerV2SpecMetricObjectDescribedObject ¶
type HorizontalPodAutoscalerV2SpecMetricObjectDescribedObject struct { // API version of the referent. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#api_version HorizontalPodAutoscalerV2#api_version} ApiVersion *string `field:"required" json:"apiVersion" yaml:"apiVersion"` // Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#kind HorizontalPodAutoscalerV2#kind} Kind *string `field:"required" json:"kind" yaml:"kind"` // Name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#name HorizontalPodAutoscalerV2#name} Name *string `field:"required" json:"name" yaml:"name"` }
type HorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference interface { cdktf.ComplexObject ApiVersion() *string SetApiVersion(val *string) ApiVersionInput() *string // 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() *HorizontalPodAutoscalerV2SpecMetricObjectDescribedObject SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricObjectDescribedObject) Kind() *string SetKind(val *string) KindInput() *string Name() *string SetName(val *string) NameInput() *string // 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 NewHorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference
type HorizontalPodAutoscalerV2SpecMetricObjectMetric ¶
type HorizontalPodAutoscalerV2SpecMetricObjectMetric struct { // name is the name of the given metric. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#name HorizontalPodAutoscalerV2#name} Name *string `field:"required" json:"name" yaml:"name"` // selector block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#selector HorizontalPodAutoscalerV2#selector} Selector interface{} `field:"optional" json:"selector" yaml:"selector"` }
type HorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference 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() *HorizontalPodAutoscalerV2SpecMetricObjectMetric SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricObjectMetric) Name() *string SetName(val *string) NameInput() *string Selector() HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList SelectorInput() 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 PutSelector(value interface{}) ResetSelector() // 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 NewHorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelector ¶
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelector struct { // match_expressions block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#match_expressions HorizontalPodAutoscalerV2#match_expressions} MatchExpressions interface{} `field:"optional" json:"matchExpressions" yaml:"matchExpressions"` // A map of {key,value} pairs. // // A single {key,value} in the matchLabels map is equivalent to an element of `match_expressions`, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#match_labels HorizontalPodAutoscalerV2#match_labels} MatchLabels *map[string]*string `field:"optional" json:"matchLabels" yaml:"matchLabels"` }
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList ¶
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList 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) HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference // 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 NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressions ¶
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressions struct { // The label key that the selector applies to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#key HorizontalPodAutoscalerV2#key} Key *string `field:"optional" json:"key" yaml:"key"` // A key's relationship to a set of values. Valid operators ard `In`, `NotIn`, `Exists` and `DoesNotExist`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#operator HorizontalPodAutoscalerV2#operator} Operator *string `field:"optional" json:"operator" yaml:"operator"` // An array of string values. // // If the operator is `In` or `NotIn`, the values array must be non-empty. If the operator is `Exists` or `DoesNotExist`, the values array must be empty. This array is replaced during a strategic merge patch. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#values HorizontalPodAutoscalerV2#values} Values *[]*string `field:"optional" json:"values" yaml:"values"` }
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList ¶
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList 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) HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference // 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 NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference 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{}) Key() *string SetKey(val *string) KeyInput() *string Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*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 ResetKey() ResetOperator() ResetValues() // 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 NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference 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{}) MatchExpressions() HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList MatchExpressionsInput() interface{} MatchLabels() *map[string]*string SetMatchLabels(val *map[string]*string) MatchLabelsInput() *map[string]*string // 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 PutMatchExpressions(value interface{}) ResetMatchExpressions() ResetMatchLabels() // 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 NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference
type HorizontalPodAutoscalerV2SpecMetricObjectOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricObjectOutputReference 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 DescribedObject() HorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference DescribedObjectInput() *HorizontalPodAutoscalerV2SpecMetricObjectDescribedObject // Experimental. Fqn() *string InternalValue() *HorizontalPodAutoscalerV2SpecMetricObject SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricObject) Metric() HorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference MetricInput() *HorizontalPodAutoscalerV2SpecMetricObjectMetric Target() HorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference TargetInput() *HorizontalPodAutoscalerV2SpecMetricObjectTarget // 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 PutDescribedObject(value *HorizontalPodAutoscalerV2SpecMetricObjectDescribedObject) PutMetric(value *HorizontalPodAutoscalerV2SpecMetricObjectMetric) PutTarget(value *HorizontalPodAutoscalerV2SpecMetricObjectTarget) ResetTarget() // 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 NewHorizontalPodAutoscalerV2SpecMetricObjectOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricObjectOutputReference
type HorizontalPodAutoscalerV2SpecMetricObjectTarget ¶
type HorizontalPodAutoscalerV2SpecMetricObjectTarget struct { // type represents whether the metric type is Utilization, Value, or AverageValue. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#type HorizontalPodAutoscalerV2#type} Type *string `field:"required" json:"type" yaml:"type"` // averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. // // Currently only valid for Resource metric source type // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#average_utilization HorizontalPodAutoscalerV2#average_utilization} AverageUtilization *float64 `field:"optional" json:"averageUtilization" yaml:"averageUtilization"` // averageValue is the target value of the average of the metric across all relevant pods (as a quantity). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#average_value HorizontalPodAutoscalerV2#average_value} AverageValue *string `field:"optional" json:"averageValue" yaml:"averageValue"` // value is the target value of the metric (as a quantity). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#value HorizontalPodAutoscalerV2#value} Value *string `field:"optional" json:"value" yaml:"value"` }
type HorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference interface { cdktf.ComplexObject AverageUtilization() *float64 SetAverageUtilization(val *float64) AverageUtilizationInput() *float64 AverageValue() *string SetAverageValue(val *string) AverageValueInput() *string // 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() *HorizontalPodAutoscalerV2SpecMetricObjectTarget SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricObjectTarget) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Value() *string SetValue(val *string) ValueInput() *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 ResetAverageUtilization() ResetAverageValue() ResetValue() // 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 NewHorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference
type HorizontalPodAutoscalerV2SpecMetricOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricOutputReference 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) ContainerResource() HorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference ContainerResourceInput() *HorizontalPodAutoscalerV2SpecMetricContainerResource // 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 External() HorizontalPodAutoscalerV2SpecMetricExternalOutputReference ExternalInput() *HorizontalPodAutoscalerV2SpecMetricExternal // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Object() HorizontalPodAutoscalerV2SpecMetricObjectOutputReference ObjectInput() *HorizontalPodAutoscalerV2SpecMetricObject Pods() HorizontalPodAutoscalerV2SpecMetricPodsOutputReference PodsInput() *HorizontalPodAutoscalerV2SpecMetricPods Resource() HorizontalPodAutoscalerV2SpecMetricResourceOutputReference ResourceInput() *HorizontalPodAutoscalerV2SpecMetricResource // 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 PutContainerResource(value *HorizontalPodAutoscalerV2SpecMetricContainerResource) PutExternal(value *HorizontalPodAutoscalerV2SpecMetricExternal) PutObject(value *HorizontalPodAutoscalerV2SpecMetricObject) PutPods(value *HorizontalPodAutoscalerV2SpecMetricPods) PutResource(value *HorizontalPodAutoscalerV2SpecMetricResource) ResetContainerResource() ResetExternal() ResetObject() ResetPods() ResetResource() // 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 NewHorizontalPodAutoscalerV2SpecMetricOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) HorizontalPodAutoscalerV2SpecMetricOutputReference
type HorizontalPodAutoscalerV2SpecMetricPods ¶
type HorizontalPodAutoscalerV2SpecMetricPods struct { // metric block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#metric HorizontalPodAutoscalerV2#metric} Metric *HorizontalPodAutoscalerV2SpecMetricPodsMetric `field:"required" json:"metric" yaml:"metric"` // target block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#target HorizontalPodAutoscalerV2#target} Target *HorizontalPodAutoscalerV2SpecMetricPodsTarget `field:"optional" json:"target" yaml:"target"` }
type HorizontalPodAutoscalerV2SpecMetricPodsMetric ¶
type HorizontalPodAutoscalerV2SpecMetricPodsMetric struct { // name is the name of the given metric. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#name HorizontalPodAutoscalerV2#name} Name *string `field:"required" json:"name" yaml:"name"` // selector block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#selector HorizontalPodAutoscalerV2#selector} Selector interface{} `field:"optional" json:"selector" yaml:"selector"` }
type HorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference 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() *HorizontalPodAutoscalerV2SpecMetricPodsMetric SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricPodsMetric) Name() *string SetName(val *string) NameInput() *string Selector() HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList SelectorInput() 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 PutSelector(value interface{}) ResetSelector() // 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 NewHorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelector ¶
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelector struct { // match_expressions block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#match_expressions HorizontalPodAutoscalerV2#match_expressions} MatchExpressions interface{} `field:"optional" json:"matchExpressions" yaml:"matchExpressions"` // A map of {key,value} pairs. // // A single {key,value} in the matchLabels map is equivalent to an element of `match_expressions`, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#match_labels HorizontalPodAutoscalerV2#match_labels} MatchLabels *map[string]*string `field:"optional" json:"matchLabels" yaml:"matchLabels"` }
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList ¶
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList 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) HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference // 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 NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressions ¶
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressions struct { // The label key that the selector applies to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#key HorizontalPodAutoscalerV2#key} Key *string `field:"optional" json:"key" yaml:"key"` // A key's relationship to a set of values. Valid operators ard `In`, `NotIn`, `Exists` and `DoesNotExist`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#operator HorizontalPodAutoscalerV2#operator} Operator *string `field:"optional" json:"operator" yaml:"operator"` // An array of string values. // // If the operator is `In` or `NotIn`, the values array must be non-empty. If the operator is `Exists` or `DoesNotExist`, the values array must be empty. This array is replaced during a strategic merge patch. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#values HorizontalPodAutoscalerV2#values} Values *[]*string `field:"optional" json:"values" yaml:"values"` }
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList ¶
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList 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) HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference // 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 NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference 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{}) Key() *string SetKey(val *string) KeyInput() *string Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*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 ResetKey() ResetOperator() ResetValues() // 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 NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference 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{}) MatchExpressions() HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList MatchExpressionsInput() interface{} MatchLabels() *map[string]*string SetMatchLabels(val *map[string]*string) MatchLabelsInput() *map[string]*string // 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 PutMatchExpressions(value interface{}) ResetMatchExpressions() ResetMatchLabels() // 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 NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference
type HorizontalPodAutoscalerV2SpecMetricPodsOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricPodsOutputReference 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() *HorizontalPodAutoscalerV2SpecMetricPods SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricPods) Metric() HorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference MetricInput() *HorizontalPodAutoscalerV2SpecMetricPodsMetric Target() HorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference TargetInput() *HorizontalPodAutoscalerV2SpecMetricPodsTarget // 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 PutMetric(value *HorizontalPodAutoscalerV2SpecMetricPodsMetric) PutTarget(value *HorizontalPodAutoscalerV2SpecMetricPodsTarget) ResetTarget() // 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 NewHorizontalPodAutoscalerV2SpecMetricPodsOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricPodsOutputReference
type HorizontalPodAutoscalerV2SpecMetricPodsTarget ¶
type HorizontalPodAutoscalerV2SpecMetricPodsTarget struct { // type represents whether the metric type is Utilization, Value, or AverageValue. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#type HorizontalPodAutoscalerV2#type} Type *string `field:"required" json:"type" yaml:"type"` // averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. // // Currently only valid for Resource metric source type // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#average_utilization HorizontalPodAutoscalerV2#average_utilization} AverageUtilization *float64 `field:"optional" json:"averageUtilization" yaml:"averageUtilization"` // averageValue is the target value of the average of the metric across all relevant pods (as a quantity). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#average_value HorizontalPodAutoscalerV2#average_value} AverageValue *string `field:"optional" json:"averageValue" yaml:"averageValue"` // value is the target value of the metric (as a quantity). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#value HorizontalPodAutoscalerV2#value} Value *string `field:"optional" json:"value" yaml:"value"` }
type HorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference interface { cdktf.ComplexObject AverageUtilization() *float64 SetAverageUtilization(val *float64) AverageUtilizationInput() *float64 AverageValue() *string SetAverageValue(val *string) AverageValueInput() *string // 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() *HorizontalPodAutoscalerV2SpecMetricPodsTarget SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricPodsTarget) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Value() *string SetValue(val *string) ValueInput() *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 ResetAverageUtilization() ResetAverageValue() ResetValue() // 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 NewHorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference
type HorizontalPodAutoscalerV2SpecMetricResource ¶
type HorizontalPodAutoscalerV2SpecMetricResource struct { // name is the name of the resource in question. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#name HorizontalPodAutoscalerV2#name} Name *string `field:"required" json:"name" yaml:"name"` // target block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#target HorizontalPodAutoscalerV2#target} Target *HorizontalPodAutoscalerV2SpecMetricResourceTarget `field:"optional" json:"target" yaml:"target"` }
type HorizontalPodAutoscalerV2SpecMetricResourceOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricResourceOutputReference 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() *HorizontalPodAutoscalerV2SpecMetricResource SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricResource) Name() *string SetName(val *string) NameInput() *string Target() HorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference TargetInput() *HorizontalPodAutoscalerV2SpecMetricResourceTarget // 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 PutTarget(value *HorizontalPodAutoscalerV2SpecMetricResourceTarget) ResetTarget() // 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 NewHorizontalPodAutoscalerV2SpecMetricResourceOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricResourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricResourceOutputReference
type HorizontalPodAutoscalerV2SpecMetricResourceTarget ¶
type HorizontalPodAutoscalerV2SpecMetricResourceTarget struct { // type represents whether the metric type is Utilization, Value, or AverageValue. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#type HorizontalPodAutoscalerV2#type} Type *string `field:"required" json:"type" yaml:"type"` // averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. // // Currently only valid for Resource metric source type // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#average_utilization HorizontalPodAutoscalerV2#average_utilization} AverageUtilization *float64 `field:"optional" json:"averageUtilization" yaml:"averageUtilization"` // averageValue is the target value of the average of the metric across all relevant pods (as a quantity). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#average_value HorizontalPodAutoscalerV2#average_value} AverageValue *string `field:"optional" json:"averageValue" yaml:"averageValue"` // value is the target value of the metric (as a quantity). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#value HorizontalPodAutoscalerV2#value} Value *string `field:"optional" json:"value" yaml:"value"` }
type HorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference ¶
type HorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference interface { cdktf.ComplexObject AverageUtilization() *float64 SetAverageUtilization(val *float64) AverageUtilizationInput() *float64 AverageValue() *string SetAverageValue(val *string) AverageValueInput() *string // 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() *HorizontalPodAutoscalerV2SpecMetricResourceTarget SetInternalValue(val *HorizontalPodAutoscalerV2SpecMetricResourceTarget) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Value() *string SetValue(val *string) ValueInput() *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 ResetAverageUtilization() ResetAverageValue() ResetValue() // 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 NewHorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference
type HorizontalPodAutoscalerV2SpecOutputReference ¶
type HorizontalPodAutoscalerV2SpecOutputReference interface { cdktf.ComplexObject Behavior() HorizontalPodAutoscalerV2SpecBehaviorOutputReference BehaviorInput() *HorizontalPodAutoscalerV2SpecBehavior // 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() *HorizontalPodAutoscalerV2Spec SetInternalValue(val *HorizontalPodAutoscalerV2Spec) MaxReplicas() *float64 SetMaxReplicas(val *float64) MaxReplicasInput() *float64 Metric() HorizontalPodAutoscalerV2SpecMetricList MetricInput() interface{} MinReplicas() *float64 SetMinReplicas(val *float64) MinReplicasInput() *float64 ScaleTargetRef() HorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference ScaleTargetRefInput() *HorizontalPodAutoscalerV2SpecScaleTargetRef TargetCpuUtilizationPercentage() *float64 SetTargetCpuUtilizationPercentage(val *float64) TargetCpuUtilizationPercentageInput() *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 PutBehavior(value *HorizontalPodAutoscalerV2SpecBehavior) PutMetric(value interface{}) PutScaleTargetRef(value *HorizontalPodAutoscalerV2SpecScaleTargetRef) ResetBehavior() ResetMetric() ResetMinReplicas() ResetTargetCpuUtilizationPercentage() // 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 NewHorizontalPodAutoscalerV2SpecOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecOutputReference
type HorizontalPodAutoscalerV2SpecScaleTargetRef ¶
type HorizontalPodAutoscalerV2SpecScaleTargetRef struct { // Kind of the referent. e.g. `ReplicationController`. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#kind HorizontalPodAutoscalerV2#kind} Kind *string `field:"required" json:"kind" yaml:"kind"` // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#name HorizontalPodAutoscalerV2#name} Name *string `field:"required" json:"name" yaml:"name"` // API version of the referent. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/horizontal_pod_autoscaler_v2#api_version HorizontalPodAutoscalerV2#api_version} ApiVersion *string `field:"optional" json:"apiVersion" yaml:"apiVersion"` }
type HorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference ¶
type HorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference interface { cdktf.ComplexObject ApiVersion() *string SetApiVersion(val *string) ApiVersionInput() *string // 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() *HorizontalPodAutoscalerV2SpecScaleTargetRef SetInternalValue(val *HorizontalPodAutoscalerV2SpecScaleTargetRef) Kind() *string SetKind(val *string) KindInput() *string Name() *string SetName(val *string) NameInput() *string // 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 ResetApiVersion() // 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 NewHorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference ¶
func NewHorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) HorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference
Source Files ¶
- HorizontalPodAutoscalerV2.go
- HorizontalPodAutoscalerV2Config.go
- HorizontalPodAutoscalerV2Metadata.go
- HorizontalPodAutoscalerV2MetadataOutputReference.go
- HorizontalPodAutoscalerV2MetadataOutputReference__checks.go
- HorizontalPodAutoscalerV2Spec.go
- HorizontalPodAutoscalerV2SpecBehavior.go
- HorizontalPodAutoscalerV2SpecBehaviorOutputReference.go
- HorizontalPodAutoscalerV2SpecBehaviorOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleDown.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleDownList.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleDownList__checks.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleDownOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicy.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyList__checks.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleDownPolicyOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleUp.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleUpList.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleUpList__checks.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleUpOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicy.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyList__checks.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference.go
- HorizontalPodAutoscalerV2SpecBehaviorScaleUpPolicyOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetric.go
- HorizontalPodAutoscalerV2SpecMetricContainerResource.go
- HorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricContainerResourceOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricContainerResourceTarget.go
- HorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricContainerResourceTargetOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricExternal.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetric.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricSelector.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorList__checks.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressions.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsList__checks.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorMatchExpressionsOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricExternalMetricSelectorOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricExternalOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricExternalOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricExternalTarget.go
- HorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricExternalTargetOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricList.go
- HorizontalPodAutoscalerV2SpecMetricList__checks.go
- HorizontalPodAutoscalerV2SpecMetricObject.go
- HorizontalPodAutoscalerV2SpecMetricObjectDescribedObject.go
- HorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricObjectDescribedObjectOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetric.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricSelector.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorList__checks.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressions.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsList__checks.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorMatchExpressionsOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricObjectMetricSelectorOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricObjectOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricObjectOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricObjectTarget.go
- HorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricObjectTargetOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricPods.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetric.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricSelector.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorList__checks.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressions.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsList__checks.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorMatchExpressionsOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricPodsMetricSelectorOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricPodsOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricPodsOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricPodsTarget.go
- HorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricPodsTargetOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricResource.go
- HorizontalPodAutoscalerV2SpecMetricResourceOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricResourceOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecMetricResourceTarget.go
- HorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference.go
- HorizontalPodAutoscalerV2SpecMetricResourceTargetOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecOutputReference.go
- HorizontalPodAutoscalerV2SpecOutputReference__checks.go
- HorizontalPodAutoscalerV2SpecScaleTargetRef.go
- HorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference.go
- HorizontalPodAutoscalerV2SpecScaleTargetRefOutputReference__checks.go
- HorizontalPodAutoscalerV2__checks.go
- main.go