com.pulumi.awsnative.applicationautoscaling.kotlin.outputs.ScalingPolicyTargetTrackingMetricDimension.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.applicationautoscaling.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* ``TargetTrackingMetricDimension`` specifies a name/value pair that is part of the identity of a CloudWatch metric for the ``Dimensions`` property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html) property type. Duplicate dimensions are not allowed.
* @property name The name of the dimension.
* @property value The value of the dimension.
*/
public data class ScalingPolicyTargetTrackingMetricDimension(
public val name: String? = null,
public val `value`: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.applicationautoscaling.outputs.ScalingPolicyTargetTrackingMetricDimension): ScalingPolicyTargetTrackingMetricDimension = ScalingPolicyTargetTrackingMetricDimension(
name = javaType.name().map({ args0 -> args0 }).orElse(null),
`value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
)
}
}