Skip to content

Commit

Permalink
Merge pull request #1085 from udondan/update-aws-managed-policies
Browse files Browse the repository at this point in the history
  • Loading branch information
udondan authored Jan 18, 2025
2 parents 3ba4ca4 + 4dc5094 commit 96d251b
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"Action": [
"dms:StartReplicationTask",
"dms:StopReplicationTask",
"dms:ModifyReplicationTask",
"dms:DeleteReplicationTask",
"dms:ModifyReplicationInstance",
"dms:DeleteReplicationInstance"
],
"Resource": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AmazonSageMakerPartnerListAppsPermission",
"Effect": "Allow",
"Action": "sagemaker:ListPartnerApps",
"Resource": "*"
},
{
"Sid": "AmazonSageMakerPartnerAppsPermission",
"Effect": "Allow",
"Action": [
"sagemaker:CreatePartnerAppPresignedUrl",
"sagemaker:DescribePartnerApp",
"sagemaker:CallPartnerAppApi"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
},
"Resource": "arn:aws:sagemaker:*:*:partner-app/*"
}
]
}
9 changes: 9 additions & 0 deletions docs/source/_static/managed-policies/Billing.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,27 @@
"aws-portal:*Billing",
"aws-portal:*PaymentMethods",
"aws-portal:*Usage",
"billing:CreateBillingView",
"billing:DeleteBillingView",
"billing:GetBillingData",
"billing:GetBillingDetails",
"billing:GetBillingNotifications",
"billing:GetBillingPreferences",
"billing:GetBillingView",
"billing:GetContractInformation",
"billing:GetCredits",
"billing:GetIAMAccessPreference",
"billing:GetSellerOfRecord",
"billing:ListBillingViews",
"billing:PutContractInformation",
"billing:RedeemCredits",
"billing:GetResourcePolicy",
"billing:ListSourceViewsForBillingView",
"billing:ListTagsForResource",
"billing:TagResource",
"billing:UntagResource",
"billing:UpdateBillingPreferences",
"billing:UpdateBillingView",
"billing:UpdateIAMAccessPreference",
"budgets:CreateBudgetAction",
"budgets:DeleteBudgetAction",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_static/managed-policies/index.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions lib/generated/aws-managed-policies/cdk-iam-floyd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2029,6 +2029,11 @@ export class AwsManagedPolicy extends AwsManagedPolicyStatic {
return aws_iam.ManagedPolicy.fromAwsManagedPolicyName(AwsManagedPolicyStatic.AmazonSageMakerNotebooksServiceRolePolicy);
}

/** Enables Amazon SageMaker partner app users to access applications, list available applications, launch application web UIs, and connect via the application SDK. */
public AmazonSageMakerPartnerAppsFullAccess(): aws_iam.IManagedPolicy {
return aws_iam.ManagedPolicy.fromAwsManagedPolicyName(AwsManagedPolicyStatic.AmazonSageMakerPartnerAppsFullAccess);
}

/** Service role policy used by the AWS APIGateway within the AWS ServiceCatalog provisioned products from Amazon SageMaker portfolio of products. Grants permissions to a set of related services including Lambda and others. */
public AmazonSageMakerPartnerServiceCatalogProductsApiGatewayServiceRolePolicy(): aws_iam.IManagedPolicy {
return aws_iam.ManagedPolicy.fromAwsManagedPolicyName(AwsManagedPolicyStatic.AmazonSageMakerPartnerServiceCatalogProductsApiGatewayServiceRolePolicy);
Expand Down
2 changes: 2 additions & 0 deletions lib/generated/aws-managed-policies/iam-floyd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,8 @@ export class AwsManagedPolicy {
public static AmazonSageMakerModelRegistryFullAccess = 'AmazonSageMakerModelRegistryFullAccess';
/** Managed policy for Service Linked Role for Amazon SageMaker Notebooks */
public static AmazonSageMakerNotebooksServiceRolePolicy = 'aws-service-role/AmazonSageMakerNotebooksServiceRolePolicy';
/** Enables Amazon SageMaker partner app users to access applications, list available applications, launch application web UIs, and connect via the application SDK. */
public static AmazonSageMakerPartnerAppsFullAccess = 'AmazonSageMakerPartnerAppsFullAccess';
/** Service role policy used by the AWS APIGateway within the AWS ServiceCatalog provisioned products from Amazon SageMaker portfolio of products. Grants permissions to a set of related services including Lambda and others. */
public static AmazonSageMakerPartnerServiceCatalogProductsApiGatewayServiceRolePolicy = 'service-role/AmazonSageMakerPartnerServiceCatalogProductsApiGatewayServiceRolePolicy';
/** Service role policy used by the AWS CloudFormation within the AWS ServiceCatalog provisioned products from Amazon SageMaker portfolio of products. Grants permissions to a subset of related services including Lambda, APIGateway and others. */
Expand Down

0 comments on commit 96d251b

Please sign in to comment.