File tree Expand file tree Collapse file tree 6 files changed +65
-2
lines changed
docs/source/_static/managed-policies
lib/generated/aws-managed-policies Expand file tree Collapse file tree 6 files changed +65
-2
lines changed Original file line number Diff line number Diff line change 66 "Action" : [
77 " account:GetAccountInformation" ,
88 " account:GetAlternateContact" ,
9- " account:GetChallengeQuestions" ,
109 " account:GetContactInformation" ,
1110 " account:GetRegionOptStatus" ,
1211 " account:ListRegions" ,
Original file line number Diff line number Diff line change 5454 "aws:ResourceTag/eks:eks-cluster-name" : " ${aws:PrincipalTag/eks:eks-cluster-name}"
5555 }
5656 }
57+ },
58+ {
59+ "Effect" : " Allow" ,
60+ "Action" : " ec2:ModifyNetworkInterfaceAttribute" ,
61+ "Resource" : [
62+ " arn:aws:ec2:*:*:network-interface/*" ,
63+ " arn:aws:ec2:*:*:instance/*"
64+ ],
65+ "Condition" : {
66+ "StringEquals" : {
67+ "aws:ResourceTag/eks:eks-cluster-name" : " ${aws:PrincipalTag/eks:eks-cluster-name}"
68+ }
69+ }
5770 }
5871 ]
5972}
Original file line number Diff line number Diff line change 1+ {
2+ "Version" : " 2012-10-17" ,
3+ "Statement" : [
4+ {
5+ "Sid" : " LogsAPIs" ,
6+ "Effect" : " Allow" ,
7+ "Action" : [
8+ " logs:CallWithBearerToken" ,
9+ " logs:PutLogEvents"
10+ ],
11+ "Resource" : " *"
12+ },
13+ {
14+ "Sid" : " KMSAPIs" ,
15+ "Effect" : " Allow" ,
16+ "Action" : [
17+ " kms:GenerateDataKey" ,
18+ " kms:Decrypt"
19+ ],
20+ "Condition" : {
21+ "StringLike" : {
22+ "kms:ViaService" : " logs.*.amazonaws.com"
23+ },
24+ "ArnLike" : {
25+ "kms:EncryptionContext:aws:logs:arn" : " arn:aws:logs:*:*:log-group:*"
26+ }
27+ },
28+ "Resource" : " arn:aws:kms:*:*:key/*"
29+ },
30+ {
31+ "Sid" : " KMSDescribeAPIs" ,
32+ "Effect" : " Allow" ,
33+ "Action" : [
34+ " kms:DescribeKey"
35+ ],
36+ "Condition" : {
37+ "StringLike" : {
38+ "kms:ViaService" : " logs.*.amazonaws.com"
39+ }
40+ },
41+ "Resource" : " arn:aws:kms:*:*:key/*"
42+ }
43+ ]
44+ }
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -6259,6 +6259,11 @@ export class AwsManagedPolicy extends AwsManagedPolicyStatic {
62596259 return aws_iam . ManagedPolicy . fromAwsManagedPolicyName ( AwsManagedPolicyStatic . CloudWatchLambdaInsightsExecutionRolePolicy ) ;
62606260 }
62616261
6262+ /** Grants permissions to call CloudWatch Logs using API key authentication. */
6263+ public CloudWatchLogsAPIKeyAccess ( ) : aws_iam . IManagedPolicy {
6264+ return aws_iam . ManagedPolicy . fromAwsManagedPolicyName ( AwsManagedPolicyStatic . CloudWatchLogsAPIKeyAccess ) ;
6265+ }
6266+
62626267 /** Provides capabilities to manage Observability Access Manager links and establish sharing of CloudWatch Logs resources */
62636268 public CloudWatchLogsCrossAccountSharingConfiguration ( ) : aws_iam . IManagedPolicy {
62646269 return aws_iam . ManagedPolicy . fromAwsManagedPolicyName ( AwsManagedPolicyStatic . CloudWatchLogsCrossAccountSharingConfiguration ) ;
Original file line number Diff line number Diff line change @@ -2500,6 +2500,8 @@ export class AwsManagedPolicy {
25002500 public static CloudWatchLambdaApplicationSignalsExecutionRolePolicy = 'CloudWatchLambdaApplicationSignalsExecutionRolePolicy' ;
25012501 /** Policy required for the Lambda Insights Extension */
25022502 public static CloudWatchLambdaInsightsExecutionRolePolicy = 'CloudWatchLambdaInsightsExecutionRolePolicy' ;
2503+ /** Grants permissions to call CloudWatch Logs using API key authentication. */
2504+ public static CloudWatchLogsAPIKeyAccess = 'CloudWatchLogsAPIKeyAccess' ;
25032505 /** Provides capabilities to manage Observability Access Manager links and establish sharing of CloudWatch Logs resources */
25042506 public static CloudWatchLogsCrossAccountSharingConfiguration = 'CloudWatchLogsCrossAccountSharingConfiguration' ;
25052507 /** Provides full access to CloudWatch Logs */
You can’t perform that action at this time.
0 commit comments