def METHOD_NAME(id: Optional[pulumi.Input[Optional[str]]] = None,
                            name: Optional[pulumi.Input[Optional[str]]] = None,
                            opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCachePolicyResult]:
    """
    Use this data source to retrieve information about a CloudFront cache policy.
    ## Example Usage
    ### Basic Usage
    ```python
    import pulumi
    import pulumi_aws as aws
    example = aws.cloudfront.get_cache_policy(name="example-policy")
    ```
    ### AWS-Managed Policies
    AWS managed cache policy names are prefixed with `Managed-`:
    ```python
    import pulumi
    import pulumi_aws as aws
    example = aws.cloudfront.get_cache_policy(name="Managed-CachingOptimized")
    ```
    :param str id: Identifier for the cache policy.
    :param str name: Unique name to identify the cache policy.
    """
    ...