Skip to content

Commit d010840

Browse files
author
Bob Strahan
committed
cfn_nag metadata
1 parent c488df8 commit d010840

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

template.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3549,6 +3549,11 @@ Resources:
35493549
A2IHumanTaskUILambdaRole:
35503550
Type: AWS::IAM::Role
35513551
Condition: IsPattern1HITLEnabled
3552+
Metadata:
3553+
cfn_nag:
3554+
rules_to_suppress:
3555+
- id: W11
3556+
reason: "Role requires * resource access for SageMaker A2I operations as resource name is not available"
35523557
Properties:
35533558
AssumeRolePolicyDocument:
35543559
Version: '2012-10-17'
@@ -3671,6 +3676,16 @@ Resources:
36713676
GetWorkforceURLFunction:
36723677
Type: AWS::Serverless::Function
36733678
Condition: IsPattern1HITLEnabled
3679+
Metadata:
3680+
cfn_nag:
3681+
rules_to_suppress:
3682+
- id: W89
3683+
reason: "Function does not require VPC access as it only interacts with AWS services via APIs"
3684+
- id: W92
3685+
reason: "Function does not require reserved concurrency as it scales based on demand"
3686+
# checkov:skip=CKV_AWS_116: "DLQ not required for Cfn Custom Resource function"
3687+
# checkov:skip=CKV_AWS_117: "Function does not require VPC access as it only interacts with AWS services via APIs"
3688+
# checkov:skip=CKV_AWS_115: "Function does not require reserved concurrency as it scales based on demand"
36743689
Properties:
36753690
Handler: index.handler
36763691
Runtime: python3.12

0 commit comments

Comments
 (0)