gpt4 book ai didi

aws-cloudformation - CloudFormation可以通过模板创建PipeLine手动审批操作吗?

转载 作者:行者123 更新时间:2023-12-05 08:40:01 38 4
gpt4 key购买 nike

通读本文https://docs.aws.amazon.com/codepipeline/latest/userguide/approvals-action-add.html

听起来您只能通过 UI 控制台或 CLI 创建手动审批步骤,而不能通过 CloudFormation 模板?

埃德加

最佳答案

实际上,CloudFormation 确实支持这一点。

您只需为资源ActionTypeId设置Provider即可(管道 -> 阶段 -> 操作 -> ActionTypeId)为 手动 就是这样。有关提供商类型的更多信息 - here .

示例:

DeliveryPipeline:
Properties:
...
Stages:
...
- Actions:
- ActionTypeId:
Category: Approval
Owner: AWS
Provider: Manual
Version: '1'
Configuration:
NotificationArn: <<arn>>
InputArtifacts: []
Name: TestApproval
RunOrder: 1
Name: Development_Approval
...
Type: AWS::CodePipeline::Pipeline

关于aws-cloudformation - CloudFormation可以通过模板创建PipeLine手动审批操作吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57384484/

38 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com