sdk/python/pulumi_aws/ec2/key_pair.py
def key_name_prefix(self) -> Optional[pulumi.Input[str]]:
        """
        Creates a unique name beginning with the specified prefix. Conflicts with `key_name`.
        """
        return pulumi.get(self, "key_name_prefix")

        Creates a unique name beginning with the specified prefix. Conflicts with `key_name`.
        
Creates a unique name beginning with the specified prefix.
Creates a unique name beginning with the specified prefix .
def key_name_prefix(self) -> Optional[pulumi.Input[str]]:
        return pulumi.get(self, "key_name_prefix")
def key_name_prefix ( self ) -> Optional [ pulumi . Input [ str ] ] : return pulumi . get ( self , "key_name_prefix" )
Creates a unique name beginning with the specified prefix.
Creates a unique name beginning with the specified prefix .
"""
        Creates a unique name beginning with the specified prefix. Conflicts with `key_name`.
        """
self