sdk/python/pulumi_aws/cloudwatch/_inputs.py
def unit(self) -> Optional[pulumi.Input[str]]:
        """
        The unit to assign to the metric. If you omit this, the unit is set as `None`.
        """
        return pulumi.get(self, "unit")

        The unit to assign to the metric. If you omit this, the unit is set as `None`.
        
The unit to assign to the metric. If you omit this, the unit is set as `None`.
The unit to assign to the metric . If you omit this the unit is set as ` None ` .
def unit(self) -> Optional[pulumi.Input[str]]:
        return pulumi.get(self, "unit")
def unit ( self ) -> Optional [ pulumi . Input [ str ] ] : return pulumi . get ( self , "unit" )
The unit to assign to the metric.
The unit to assign to the metric .
"""
        The unit to assign to the metric. If you omit this, the unit is set as `None`.
        """
self