Viewing blueprints in Amazon Glue - Amazon Glue
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Viewing blueprints in Amazon Glue

View a blueprint to review the blueprint description, status, and parameter specifications, and to download the blueprint ZIP archive.

You can view a blueprint by using the Amazon Glue console, Amazon Glue API, or Amazon Command Line Interface (Amazon CLI).

To view a blueprint (console)
  1. Open the Amazon Glue console at https://console.amazonaws.cn/glue/.

  2. In the navigation pane, choose blueprints.

  3. On the blueprints page, select a blueprint. Then on the Actions menu, choose View.

To view a blueprint (Amazon CLI)
  • Enter the following command to view just the blueprint name, description, and status. Replace <blueprint-name> with the name of the blueprint to view.

    aws glue get-blueprint --name <blueprint-name>

    The command output looks something like the following.

    {
        "Blueprint": {
            "Name": "myDemoBP",
            "CreatedOn": 1587414516.92,
            "LastModifiedOn": 1587428838.671,
            "BlueprintLocation": "s3://awsexamplebucket1/demo/DemoBlueprintProject.zip",
            "Status": "ACTIVE"
        }
    }
    

    Enter the following command to also view the parameter specifications.

    aws glue get-blueprint --name <blueprint-name> --include-parameter-spec

    The command output looks something like the following.

    {
        "Blueprint": {
            "Name": "myDemoBP",
            "CreatedOn": 1587414516.92,
            "LastModifiedOn": 1587428838.671,
            "ParameterSpec": "{\"WorkflowName\":{\"type\":\"String\",\"collection\":false,\"description\":null,\"defaultValue\":null,\"allowedValues\":null},\"PassRole\":{\"type\":\"String\",\"collection\":false,\"description\":null,\"defaultValue\":null,\"allowedValues\":null},\"DynamoDBTableName\":{\"type\":\"String\",\"collection\":false,\"description\":null,\"defaultValue\":null,\"allowedValues\":null},\"ScriptLocation\":{\"type\":\"String\",\"collection\":false,\"description\":null,\"defaultValue\":null,\"allowedValues\":null}}",
            "BlueprintLocation": "s3://awsexamplebucket1/demo/DemoBlueprintProject.zip",
            "Status": "ACTIVE"
        }
    }
    

    Add the --include-blueprint argument to include a URL in the output that you can paste into your browser to download the blueprint ZIP archive that Amazon Glue stored.