File tree 1 file changed +20
-2
lines changed
1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,16 @@ Resources:
48
48
Effect : Allow
49
49
Resource :
50
50
- ' *'
51
+ - Action :
52
+ - ' codebuild:StartBuild'
53
+ - ' codebuild:StopBuild'
54
+ - ' codebuild:RetryBuild'
55
+ - ' codebuild:BatchGetBuilds'
56
+ Effect : Allow
57
+ Resource :
58
+ - ' arn:aws:codebuild:${AWS::Region}:${AWS::AccountId}:project/JavaScriptESDK'
59
+
60
+
51
61
PolicyName : !Sub '${AWS::StackName}CloudWatchLogsPolicy'
52
62
Type : ' AWS::IAM::Role'
53
63
ExampleWaitHandle :
@@ -59,14 +69,22 @@ Resources:
59
69
Type : NO_ARTIFACTS
60
70
Environment :
61
71
ComputeType : BUILD_GENERAL1_SMALL
62
- Image : ' aws/codebuild/standard:2 .0'
72
+ Image : ' aws/codebuild/standard:5 .0'
63
73
Type : LINUX_CONTAINER
64
74
LogsConfig :
65
75
S3Logs :
66
76
Location : !Sub '${LogBucket}/JavaScriptESDK'
67
77
Status : ENABLED
68
78
Name : JavaScriptESDK
69
- ServiceRole : !Ref CodeBuildRole
79
+ BuildBatchConfig :
80
+ ServiceRole : !GetAtt CodeBuildRole.Arn
81
+ Restrictions :
82
+ MaximumBuildsAllowed : 100
83
+ ComputeTypesAllowed :
84
+ - BUILD_GENERAL1_SMALL
85
+ - BUILD_GENERAL1_MEDIUM
86
+ - BUILD_GENERAL1_LARGE
87
+ TimeoutInMins : 480
70
88
Source :
71
89
Location : ' https://github.com/aws/aws-encryption-sdk-javascript'
72
90
ReportBuildStatus : ' true'
You can’t perform that action at this time.
0 commit comments