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:

相关内容

热门资讯

第六分钟开挂!新九哥破解版,蜀... 第六分钟开挂!新九哥破解版,蜀山四川智能辅助插件下载,总结教程-2026最新版本1、蜀山四川智能辅助...
相较于以往!川娱竞技血战辅助器... 相较于以往!川娱竞技血战辅助器(辅助挂)一贯确实有挂(有挂妙招)-哔哩哔哩川娱竞技血战辅助器ai黑科...
第五分钟开挂!巴郎新疆开挂,随... 第五分钟开挂!巴郎新疆开挂,随意玩免费辅助器,解密教程-2026最新版本1、完成随意玩免费辅助器透视...
今年以来!新上游辅助器(辅助挂... 今年以来!新上游辅助器(辅助挂)一贯是有挂(有挂阶段)-哔哩哔哩您好:新上游辅助器这款游戏可以开挂,...
有了最新消息!互游辅助518(... 有了最新消息!互游辅助518(辅助挂)果然是有挂的(有挂积累)-哔哩哔哩1、下载安装好互游辅助518...
2分钟开挂!蜜瓜大厅辅助免费下... 2分钟开挂!蜜瓜大厅辅助免费下载,丰县14张脚本,介绍教程-2026最新版本1、玩家可以在蜜瓜大厅辅...
透视脚本!WePOKer辅助软... 透视脚本!WePOKer辅助软件挂,wepoker可以透视吗,(终于清楚外挂辅助插件)是一款可以让一...
脚本辅助!wepoker的10... 脚本辅助!wepoker的10个必赢技巧,wepoker有挂吗透视软件,(关于外挂辅助下载)是一款可...
开挂透视!wepoker辅助插... 无需打开直接搜索;操作使用教程:开挂透视!wepoker辅助插件怎么用,wepoker发牌规律总结,...
辅助工具!wepoker透视辅... 您好:wepoker透视辅助器最新版本更新内容这款游戏可以开挂的,确实是有挂的,很多玩家在这款游戏中...