sdk/python/pulumi_aws/cloudfront/distribution.py
def retain_on_delete(self) -> Optional[pulumi.Input[bool]]:
        """
        Disables the distribution instead of
        deleting it when destroying the resource. If this is set,
        the distribution needs to be deleted manually afterwards. Default: `false`.
        """
        return pulumi.get(self, "retain_on_delete")

        Disables the distribution instead of
        deleting it when destroying the resource. If this is set,
        the distribution needs to be deleted manually afterwards. Default: `false`.
        
Disables the distribution instead of
deleting it when destroying the resource. If this is set,
the distribution needs to be deleted manually afterwards. Default: `false`.
Disables the distribution instead of deleting it when destroying the resource . If this is set the distribution needs to be deleted manually afterwards . Default : ` false ` .
def retain_on_delete(self) -> Optional[pulumi.Input[bool]]:
        return pulumi.get(self, "retain_on_delete")
def retain_on_delete ( self ) -> Optional [ pulumi . Input [ bool ] ] : return pulumi . get ( self , "retain_on_delete" )
Disables the distribution instead of
deleting it when destroying the resource.
Disables the distribution instead of deleting it when destroying the resource .
"""
        Disables the distribution instead of
        deleting it when destroying the resource. If this is set,
        the distribution needs to be deleted manually afterwards. Default: `false`.
        """
self