DBModVirtualSource
Last Modified
Jul 7, 2026
July 7, 2026 at 12:03 AM UTC
Version
v1
Total Versions
1
Created
Jul 6, 2026
Actions
39
Risk
no risk signalRead from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed
IAM Access Analyzer (1)
- Suggestion / REDUNDANT_RESOURCE
The 2 resource ARN(s) are redundant because they reference the same resource. Review the use of wildcards (*), or remove the resource arn:aws:s3:::atx-db-modernization-*/* to remove the redundancy. AWS docs
Policy Document
View on GitHub{
"PolicyVersion": {
"Document": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:DescribeInstances",
"ec2:DescribeSubnets",
"ec2:DescribeVpcs",
"ec2:DescribeSecurityGroups",
"ec2:DescribeAvailabilityZones",
"ec2:DescribeVpcEndpoints",
"ec2:DescribeInternetGateways",
"rds:DescribeDBInstances",
"rds:DescribeDBClusters",
"rds:DescribeDBSubnetGroups",
"secretsmanager:ListSecrets",
"kms:ListAliases",
"kms:DescribeKey"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "rds:ModifyDBSubnetGroup",
"Resource": "arn:aws:rds:*:*:subgrp:*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"rds:EnableHttpEndpoint",
"rds:DisableHttpEndpoint",
"rds-data:ExecuteStatement"
],
"Resource": "arn:aws:rds:*:*:cluster:*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/Project": "atx-db-modernization",
"aws:ResourceTag/Owner": "database-connector",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"iam:GetPolicy",
"iam:GetPolicyVersion"
],
"Resource": "arn:aws:iam::*:policy/*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": "kms:Decrypt",
"Resource": "arn:aws:kms:*:*:key/*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
},
"StringLike": {
"kms:EncryptionContext:SecretArn": "arn:aws:secretsmanager:*:${aws:PrincipalAccount}:secret:*",
"kms:ViaService": "secretsmanager.*.amazonaws.com"
}
}
},
{
"Effect": "Allow",
"Action": "secretsmanager:UpdateSecret",
"Resource": "arn:aws:secretsmanager:*:*:secret:atx-db-modernization-*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/Project": "atx-db-modernization",
"aws:ResourceTag/Owner": "database-connector",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"secretsmanager:CreateSecret",
"secretsmanager:TagResource"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:atx-db-modernization-*",
"Condition": {
"StringEquals": {
"aws:RequestTag/Project": "atx-db-modernization",
"aws:RequestTag/Owner": "database-connector",
"aws:ResourceTag/Project": "atx-db-modernization",
"aws:ResourceTag/Owner": "database-connector",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"s3:CreateBucket",
"s3:PutBucketTagging",
"s3:PutBucketVersioning",
"s3:ListBucket",
"s3:GetObject",
"s3:GetBucketLocation",
"s3:PutObject",
"s3:DeleteObject",
"s3:GetBucketVersioning"
],
"Resource": [
"arn:aws:s3:::atx-db-modernization-*",
"arn:aws:s3:::atx-db-modernization-*/*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"rds:CreateDBSubnetGroup",
"rds:CreateDBCluster",
"rds:CreateDBInstance",
"rds:AddTagsToResource"
],
"Resource": [
"arn:aws:rds:*:*:subgrp:*",
"arn:aws:rds:*:*:cluster:*",
"arn:aws:rds:*:*:db:*"
],
"Condition": {
"StringEquals": {
"aws:RequestTag/Project": "atx-db-modernization",
"aws:RequestTag/Owner": "database-connector",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"secretsmanager:GetSecretValue",
"secretsmanager:DescribeSecret"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:*",
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}",
"aws:ResourceTag/Project": "atx-db-modernization",
"aws:ResourceTag/Owner": "database-connector"
}
}
},
{
"Effect": "Allow",
"Action": "iam:CreateServiceLinkedRole",
"Resource": "arn:aws:iam::*:role/aws-service-role/rds.amazonaws.com/AWSServiceRoleForRDS",
"Condition": {
"StringLike": {
"iam:AWSServiceName": "rds.amazonaws.com"
},
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
}
]
},
"VersionId": "v1",
"IsDefaultVersion": true,
"CreateDate": "2026-07-06T23:12:26+00:00"
}
}Version History (1 recorded)
Raw historyv1new policy
39 actions added
Permissions management: iam:CreateServiceLinkedRole: iam:CreateServiceLinkedRole