AWS Glue でブループリントを表示する - AWS Glue

AWS Glue でブループリントを表示する

設計図を表示して、その説明とステータスおよびパラメータ仕様を確認し、設計図の ZIP アーカイブをダウンロードします。

ブループリントを表示するには、AWS Glue コンソール、AWS Glue API、または AWS Command Line Interface (AWS CLI) を使用します。

設計図を表示するには (コンソール)
  1. https://console.aws.amazon.com/glue/ で AWS Glue コンソール を開きます。

  2. ナビゲーションペインで [Blueprints] (ブループリント) を選択します。

  3. [Blueprints] (設計図) ページで、設計図を選択します。次に、[Actions] (アクション) メニューで [View] (表示) をクリックします。

設計図を表示するには (AWS CLI)
  • 設計図の名前、説明、ステータスのみを表示するには、次のコマンドを入力します。<blueprint-name>は、表示する設計図の名前に置き換えます。

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

    次のような出力が表示されます。

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

    以下のコマンドを入力することで、パラメータの仕様も表示できます。

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

    次のような出力が表示されます。

    {
        "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"
        }
    }
    

    引数 --include-blueprint を使用して、出力に URL を含めることもできます。この URL をブラウザに貼り付けて、AWS Glue に保存されているブループリントの zip アーカイブをダウンロードできます。

以下も参照してください。