Skip to content

Commit 0fe853d

Browse files
authored
Merge pull request #1809 from udondan/update-aws-managed-policies
2 parents 2eac98e + dd727e3 commit 0fe853d

6 files changed

Lines changed: 47 additions & 1 deletion

File tree

docs/source/_static/managed-policies/AWSCodeBuildAdminAccess.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@
5757
],
5858
"Resource": "arn:aws:ecs:*:*:task/*/*"
5959
},
60+
{
61+
"Sid": "SSMOpenDataChannelAccess",
62+
"Effect": "Allow",
63+
"Action": [
64+
"ssmmessages:OpenDataChannel"
65+
],
66+
"Resource": "arn:aws:ssm:*:*:session/*"
67+
},
6068
{
6169
"Sid": "CodeStarConnectionsReadWriteAccess",
6270
"Effect": "Allow",

docs/source/_static/managed-policies/AWSNetworkFirewallReadOnlyAccess.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,27 @@
88
"network-firewall:ListFirewallPolicies",
99
"network-firewall:ListFirewalls",
1010
"network-firewall:ListFlowOperations",
11+
"network-firewall:ListProxies",
12+
"network-firewall:ListProxyConfigurations",
13+
"network-firewall:ListProxyRuleGroups",
1114
"network-firewall:ListRuleGroups",
1215
"network-firewall:ListTagsForResource",
1316
"network-firewall:ListTLSInspectionConfigurations",
17+
"network-firewall:ListVpcEndpointAssociations",
1418
"network-firewall:DescribeFirewall",
19+
"network-firewall:DescribeFirewallMetadata",
1520
"network-firewall:DescribeFirewallPolicy",
1621
"network-firewall:DescribeFlowOperation",
1722
"network-firewall:DescribeLoggingConfiguration",
23+
"network-firewall:DescribeProxy",
24+
"network-firewall:DescribeProxyConfiguration",
25+
"network-firewall:DescribeProxyRule",
26+
"network-firewall:DescribeProxyRuleGroup",
1827
"network-firewall:DescribeResourcePolicy",
1928
"network-firewall:DescribeRuleGroup",
2029
"network-firewall:DescribeRuleGroupMetadata",
2130
"network-firewall:DescribeTLSInspectionConfiguration",
31+
"network-firewall:DescribeVpcEndpointAssociation",
2232
"network-firewall:GetAnalysisReportResults",
2333
"network-firewall:ListFlowOperationResults"
2434
],
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"Version": "2012-10-17",
3+
"Statement": [
4+
{
5+
"Sid": "CreatePresignedUrlAccess",
6+
"Effect": "Allow",
7+
"Action": [
8+
"sagemaker:CreateHubContentPresignedUrls"
9+
],
10+
"Resource": [
11+
"arn:aws:sagemaker:*:*:hub/SageMakerPublicHub",
12+
"arn:aws:sagemaker:*:*:hub-content/SageMakerPublicHub/*/*"
13+
],
14+
"Condition": {
15+
"StringEquals": {
16+
"aws:ResourceAccount": "${aws:PrincipalAccount}"
17+
}
18+
}
19+
}
20+
]
21+
}

docs/source/_static/managed-policies/index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/generated/aws-managed-policies/cdk-iam-floyd.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2134,6 +2134,11 @@ export class AwsManagedPolicy extends AwsManagedPolicyStatic {
21342134
return aws_iam.ManagedPolicy.fromAwsManagedPolicyName(AwsManagedPolicyStatic.AmazonSageMakerGroundTruthExecution);
21352135
}
21362136

2137+
/** This Amazon Managed Policy provides the necessary permissions for SageMaker HyperPod to access gated models in SageMaker Jumpstart. It allows creating presigned URLs for hub content in the SageMaker Public Hub. */
2138+
public AmazonSageMakerHyperPodGatedModelAccess(): aws_iam.IManagedPolicy {
2139+
return aws_iam.ManagedPolicy.fromAwsManagedPolicyName(AwsManagedPolicyStatic.AmazonSageMakerHyperPodGatedModelAccess);
2140+
}
2141+
21372142
/** This policy provides administrative privileges required for setting up SageMaker HyperPod observability. It enables access to Amazon Managed Prometheus, Amazon Managed Grafana and EKS Addons. The policy also includes broad access to Grafana HTTP APIs through ServiceAccountTokens across all Amazon Managed Grafana workspaces in your account. */
21382143
public AmazonSageMakerHyperPodObservabilityAdminAccess(): aws_iam.IManagedPolicy {
21392144
return aws_iam.ManagedPolicy.fromAwsManagedPolicyName(AwsManagedPolicyStatic.AmazonSageMakerHyperPodObservabilityAdminAccess);

lib/generated/aws-managed-policies/iam-floyd.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,8 @@ export class AwsManagedPolicy {
850850
public static AmazonSageMakerGeospatialFullAccess = 'service-role/AmazonSageMakerGeospatialFullAccess';
851851
/** Provides access to AWS services that are required to run SageMaker GroundTruth Labeling job */
852852
public static AmazonSageMakerGroundTruthExecution = 'AmazonSageMakerGroundTruthExecution';
853+
/** This Amazon Managed Policy provides the necessary permissions for SageMaker HyperPod to access gated models in SageMaker Jumpstart. It allows creating presigned URLs for hub content in the SageMaker Public Hub. */
854+
public static AmazonSageMakerHyperPodGatedModelAccess = 'AmazonSageMakerHyperPodGatedModelAccess';
853855
/** This policy provides administrative privileges required for setting up SageMaker HyperPod observability. It enables access to Amazon Managed Prometheus, Amazon Managed Grafana and EKS Addons. The policy also includes broad access to Grafana HTTP APIs through ServiceAccountTokens across all Amazon Managed Grafana workspaces in your account. */
854856
public static AmazonSageMakerHyperPodObservabilityAdminAccess = 'AmazonSageMakerHyperPodObservabilityAdminAccess';
855857
/** This policy grants permissions to Amazon SageMaker HyperPod to related AWS services such as Amazon EKS, Amazon CloudWatch etc. */

0 commit comments

Comments
 (0)