def METHOD_NAME(custom_key_store_id: Optional[str] = None,
                         custom_key_store_name: Optional[str] = None,
                         opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCustomKeyStoreResult:
    """
    Use this data source to get the metadata KMS custom key store.
    By using this data source, you can reference KMS custom key store
    without having to hard code the ID as input.
    ## Example Usage
    ```python
    import pulumi
    import pulumi_aws as aws
    keystore = aws.kms.get_custom_key_store(custom_key_store_name="my_cloudhsm")
    ```
    :param str custom_key_store_id: The ID for the custom key store.
    :param str custom_key_store_name: The user-specified friendly name for the custom key store.
    """
    __args__ = dict()
    __args__['customKeyStoreId'] = custom_key_store_id
    __args__['customKeyStoreName'] = custom_key_store_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('aws:kms/getCustomKeyStore:getCustomKeyStore', __args__, opts=opts, typ=GetCustomKeyStoreResult).value
    return AwaitableGetCustomKeyStoreResult(
        cloud_hsm_cluster_id=pulumi.get(__ret__, 'cloud_hsm_cluster_id'),
        connection_state=pulumi.get(__ret__, 'connection_state'),
        creation_date=pulumi.get(__ret__, 'creation_date'),
        custom_key_store_id=pulumi.get(__ret__, 'custom_key_store_id'),
        custom_key_store_name=pulumi.get(__ret__, 'custom_key_store_name'),
        id=pulumi.get(__ret__, 'id'),
        trust_anchor_certificate=pulumi.get(__ret__, 'trust_anchor_certificate'))