def METHOD_NAME(id: Optional[str] = None,
                    latest_valid_till: Optional[bool] = None,
                    opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCertificateResult:
    """
    Information about an RDS Certificate.
    ## Example Usage
    ```python
    import pulumi
    import pulumi_aws as aws
    example = aws.rds.get_certificate(latest_valid_till=True)
    ```
    :param str id: Certificate identifier. For example, `rds-ca-2019`.
    :param bool latest_valid_till: When enabled, returns the certificate with the latest `ValidTill`.
    """
    __args__ = dict()
    __args__['id'] = id
    __args__['latestValidTill'] = latest_valid_till
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('aws:rds/getCertificate:getCertificate', __args__, opts=opts, typ=GetCertificateResult).value
    return AwaitableGetCertificateResult(
        arn=pulumi.get(__ret__, 'arn'),
        certificate_type=pulumi.get(__ret__, 'certificate_type'),
        customer_override=pulumi.get(__ret__, 'customer_override'),
        customer_override_valid_till=pulumi.get(__ret__, 'customer_override_valid_till'),
        id=pulumi.get(__ret__, 'id'),
        latest_valid_till=pulumi.get(__ret__, 'latest_valid_till'),
        thumbprint=pulumi.get(__ret__, 'thumbprint'),
        valid_from=pulumi.get(__ret__, 'valid_from'),
        valid_till=pulumi.get(__ret__, 'valid_till'))