AWSCloudFormationtemplateforGluewithmultiplepredicateconditions
创始人
2024-09-24 07:31:09
0

AWS CloudFormation模板可用于在Amazon Glue中创建多谓词条件的Jupyter Notebook。以下是一个示例模板:

Resources:
  Sparkeventsgluecrawler:
    Type: AWS::Glue::Crawler
    Properties:
      Name: "Sparkeventsgluecrawler"
      Role: "arn:aws:iam::123456789012:role/service-role/AWSGlueServiceRoleDefault"
      Targets:
        S3Targets:
          - Path: "s3://my-s3-bucket/myfolder/"
      SchemaChangePolicy:
        UpdateBehavior: UPDATE_IN_DATABASE
        DeleteBehavior: DEPRECATE_IN_DATABASE
      TablePrefix: "glu"
      Classifiers:
        - classifier
  RootS3Location:
    Type: AWS::S3::Bucket
    Properties:
      BucketName: "my-s3-bucket"
  GlueNotebook:
    Type: AWS::Glue::DevEndpoint
    Properties:
      EndpointName: "glue-notebook"
      RoleArn: "aws:iam::123456789012:role/myGlueRole"
      SecurityGroupIds:
        - security-group-id
      SubnetId: subnet-id
      GlueVersion: "1.0"
      NumberOfNodes: 2
      PublicKey: "my-public-key"
      PublicKeys:
        - my-public-key
      ExtraPythonLibsS3Path: "s3://my-s3-bucket/myPythonlibs.zip"
  GlueNotebookInstanceLifecycleConfig:
    Type: "AWS::Glue::NotebookInstanceLifecycleConfig"
    Properties:
      NotebookInstanceLifecycleConfigs:
        - OnCreate:
            - Action:
                - Name: "jupyter-enterprise-gateway-startup"
                  Arguments:
                    - "--GatewayPort=8888"
                    - "--IP=0.0.0.0"
                    - "--NotebookPort=8889"
                    - "--KernelGateway.Enabled=True"
                    - "--KernelGateway.Port=8889"
                    - "--KernelGateway.KernelManagerFactory.kernel_spec_manager_class=jupyter_enterprise_gateway.services.kernelspecs.managers.CachingNB2GatewayKernelSpecManagerClass"
                  Component: "KernelGatewayApp"
  GlueNotebookInstance:
    Type: "AWS::Glue::NotebookInstance"
    Properties:
      InstanceType: "ml.t2.medium"
      RoleArn: "aws:iam::123456789012:role/service-role/AWSGlueServiceNotebookRole"
      LifecycleConfigName: "GlueNotebookInstanceLifecycleConfig"
      DirectInternetAccess: "Disabled"
      SecurityGroupIds:

相关内容

热门资讯

透视总结!红龙poker透视工... 透视总结!红龙poker透视工具,pokernow辅助控制(详细辅助2025新版);红龙poker透...
wepoke辅助有挂!wpk辅... wepoke辅助有挂!wpk辅助器是真的假的(透视)一贯真的是有挂(详细辅助透视教程)1、这是跨平台...
透视能赢!德普之星辅助器app... 透视能赢!德普之星辅助器app,wepoker轻量版有透视吗(详细辅助解密教程)1、下载好德普之星辅...
wepoke确实有挂!wpk怎... wepoke确实有挂!wpk怎么提高胜率(透视)总是有挂(详细辅助解密教程)1)wepoke确实有挂...
透视脚本!aapoker透视脚... 透视脚本!aapoker透视脚本下载,pokerworld软件(详细辅助2025新版)1、下载好aa...
wepoke真的有挂!来玩德州... wepoke真的有挂!来玩德州app有挂吗(透视)素来真的有挂(详细辅助揭秘攻略)1)wepoke真...
透视教学!智星德州有脚本吗,智... 透视教学!智星德州有脚本吗,智星德州插件怎么下载(详细辅助线上教程)一、智星德州有脚本吗AI软件牌型...
微扑克ai辅助!wpk专用辅助... 微扑克ai辅助!wpk专用辅助程序(透视)竟然真的是有挂(详细辅助透明教程)是一款可以让一直输的玩家...
透视数据!德普之星辅助器,we... 透视数据!德普之星辅助器,wepoker辅助是真的假的(详细辅助力荐教程);德普之星辅助器辅助器中分...
wepokeai代打的胜率!w... wepokeai代打的胜率!wpk的发牌有规律吗(透视)其实真的是有挂(详细辅助专业教程)是一款可以...