def METHOD_NAME(
    account_id: str,
    region_name: str,
    properties: dict,
    logical_resource_id: str,
    resource: dict,
    stack_name: str,
) -> dict:
    return {
        "SecretId": properties["SecretId"],
        "ResourcePolicy": json.dumps(properties["ResourcePolicy"]),
        "BlockPublicPolicy": properties.get("BlockPublicPolicy"),
    }