feat(iam): read Route 53 Resolver from the generated tables (#9368)

Move `route53resolver` from NOT_COVERED to NAMESPACES in
regen_iam_request_resources.py, so Route 53 Resolver requests are checked on
the resources they name instead of `*`: a resolver rule, an endpoint or a
firewall domain list by its id, as <type>/<id>, the ARN the service mints,
and a tag call on its ResourceArn. The reference's DNSSEC configuration
format takes a ResourceId, which the request gives as the VPC's id, so the
DNSSEC calls are checked under the VPC's id.

A member whose botocore pattern is another service's ARN now holds nothing
of the namespace, read where every rule first reads the request's members:
CreateOutpostResolver's OutpostArn, an outposts ARN whose name begins the
outpost resolver's, had taken the place of the resolver it makes, which is
now checked as outpost-resolver/*. Over the whole table that rule changes
this one operation. No other namespace's rows change.

A managed firewall domain list, which AWS owns, was checked under the
caller's account, though the service gives it an ARN of its own, so a grant
on the ARN ListFirewallDomainLists returns was refused. Route 53 Resolver's
request-resource lookup now answers a managed list's ARN for its id, which
the reader already asks a service for for a resource filled from one
member; a custom list stays in the caller's account.
This commit is contained in:
Priamo Germosen authored and GitHub committed 2026-11-24 12:36:27 -04:00
1 parent e15b64d07b
commit 464aaaf734
8 files changed
+251 -11

No files matched your search

+1 -1
View File
@@ -2580,7 +2580,7 @@ AWS Data Exports, AWS Pricing Calculator, Cost Explorer, CloudTrail, Global Acce
Timestream for InfluxDB, Amazon Redshift, the Amazon Redshift Data API, AWS Payment Cryptography, AWS DataSync, Amazon EMR,
Amazon Rekognition, IAM Identity Center, Amazon Inspector, Amazon Macie, AWS Fault Injection Service, AWS Resource
Access Manager, CloudWatch Observability Access Manager, AWS Resource Explorer, AWS Account Management, AWS Control
Catalog, Amazon OpenSearch Service, IAM Access Analyzer, AWS Security Hub, Amazon GuardDuty, Lambda, AWS Glue, Amazon SQS, Amazon SNS, Amazon Kinesis Data Streams, Amazon EventBridge Pipes, Aurora DSQL, STS, Amazon EKS, AWS Resource Groups, Amazon CloudWatch Logs, Amazon CloudWatch, Amazon Comprehend, AWS Config, AWS DMS, Amazon ElastiCache, AWS Identity Store and Amazon MemoryDB they come from a table generated from AWS's Service Reference and botocore, `src/main/resources/aws/iam-request-resources.json`, which gives each
Catalog, Amazon OpenSearch Service, IAM Access Analyzer, AWS Security Hub, Amazon GuardDuty, Lambda, AWS Glue, Amazon SQS, Amazon SNS, Amazon Kinesis Data Streams, Amazon EventBridge Pipes, Aurora DSQL, STS, Amazon EKS, AWS Resource Groups, Amazon CloudWatch Logs, Amazon CloudWatch, Amazon Comprehend, AWS Config, AWS DMS, Amazon ElastiCache, AWS Identity Store, Amazon MemoryDB and Amazon Route 53 Resolver they come from a table generated from AWS's Service Reference and botocore, `src/main/resources/aws/iam-request-resources.json`, which gives each
operation's action, the resource types that action acts on with their ARN formats, and the request
members that name them: a member holding a resource's ARN, which counts when it matches the format
of a type the action acts on, or members filling the variables of a type's format. Nothing in it is
+13
View File
@@ -134,6 +134,19 @@ to the upstream resolvers, which would answer with the wrong address for a name
elsewhere. Every other name resolves as usual. This needs no switch of its own: it applies wherever
cluster DNS does, governed by `floci.services.eks.embedded-dns`.
## IAM enforcement
With IAM enforcement on, each action is checked on the resources the AWS Service Authorization
Reference lists for it, read from the request: a resolver rule by its `ResolverRuleId`, an endpoint
by its `ResolverEndpointId` and a firewall domain list by its `FirewallDomainListId`, each as
`arn:aws:route53resolver:<region>:<account>:<type>/<id>`, the ARN this service mints, and a tag call
on its `ResourceArn`. The reference's DNSSEC configuration format takes a `ResourceId`, which the
request gives as the VPC's id, so `GetResolverDnssecConfig` and `UpdateResolverDnssecConfig` are
checked on `resolver-dnssec-config/<vpc-id>`. A managed domain list, which AWS owns, is checked on
the ARN this service gives it, the one `ListFirewallDomainLists` returns, not under the caller's
account. `CreateOutpostResolver` is checked on `outpost-resolver/*`. The list actions name no
resource and are checked on `*`.
## Limitations
- **All create/update operations complete synchronously.** Real AWS transitions a
@@ -0,0 +1,46 @@
package io.floci.aws.services.route53resolver;
import io.floci.aws.core.common.AwsException;
import io.floci.aws.core.common.StoredResourceArns;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
import java.util.List;
import java.util.Optional;
/**
* What IAM asks Route 53 Resolver of the resources a request names: the ARN of the managed firewall domain list an id
* names, which AWS owns rather than the caller, so a request naming one is checked on the ARN the service gives it.
*/
@ApplicationScoped
public class Route53ResolverStoredResourceArns implements StoredResourceArns {
private final Route53ResolverService resolver;
@Inject
public Route53ResolverStoredResourceArns(Route53ResolverService resolver) {
this.resolver = resolver;
}
@Override
public String namespace() {
return "route53resolver";
}
/**
* The ARN of the managed firewall domain list the id names; none for any other id, a custom list's among them,
* which is the caller's own.
*/
@Override
public Optional<String> find(String type, List<String> names, String region) {
if (!"firewall-domain-list".equals(type) || names.size() != 1 || names.getFirst() == null) {
return Optional.empty();
}
try {
return Optional.of(resolver.getFirewallDomainList(region, names.getFirst()).arn());
} catch (AwsException expected) {
// Not a managed list: a custom one, or none, which the rendered ARN in the caller's account names.
return Optional.empty();
}
}
}
@@ -1,11 +1,11 @@
{
"_source": {"generator": "tools/aws/regen_iam_request_resources.py", "reference": "https://servicereference.us-east-1.amazonaws.com/", "botocore": "botocore 1.44.9 (local/aws/botocore)", "retrieved": "2026-11-24", "note": "make iam-request-resources-check re-derives every operation's resources from botocore; make iam-request-resources-verify checks every action, type and format against AWS."},
"namespaces": {"access-analyzer": ["accessanalyzer"], "account": ["account"], "acm": ["acm"], "apigateway": ["apigateway", "apigatewayv2"], "application-autoscaling": ["application-autoscaling"], "aps": ["amp"], "athena": ["athena"], "bcm-data-exports": ["bcm-data-exports"], "bcm-pricing-calculator": ["bcm-pricing-calculator"], "bedrock": ["bedrock", "bedrock-agent", "bedrock-agent-runtime", "bedrock-data-automation", "bedrock-data-automation-runtime", "bedrock-runtime"], "budgets": ["budgets"], "ce": ["ce"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudfront": ["cloudfront"], "cloudfront-keyvaluestore": ["cloudfront-keyvaluestore"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codebuild": ["codebuild"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "config": ["config"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "dynamodb": ["dynamodb", "dynamodbstreams"], "ec2": ["ec2"], "ec2-instance-connect": ["ec2-instance-connect"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticache": ["elasticache"], "elasticloadbalancing": ["elb", "elbv2"], "elasticmapreduce": ["emr"], "emr-containers": ["emr-containers"], "emr-serverless": ["emr-serverless"], "es": ["es", "opensearch"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "fis": ["fis"], "globalaccelerator": ["globalaccelerator"], "glue": ["glue"], "guardduty": ["guardduty"], "iam": ["iam", "iam-toolbox"], "identitystore": ["identitystore"], "inspector2": ["inspector2"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "macie2": ["macie2"], "memorydb": ["memorydb"], "oam": ["oam"], "payment-cryptography": ["payment-cryptography", "payment-cryptography-data"], "pipes": ["pipes"], "quicksight": ["quicksight"], "ram": ["ram"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-data": ["redshift-data"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "resource-groups": ["resource-groups"], "route53": ["route53"], "s3": ["s3", "s3control"], "s3tables": ["s3tables"], "s3vectors": ["s3vectors"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "servicequotas": ["service-quotas"], "signer": ["signer", "signer-data"], "sns": ["sns"], "sqs": ["sqs"], "ssm": ["ssm"], "sso": ["sso", "sso-admin"], "states": ["stepfunctions"], "sts": ["sts"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "translate": ["translate"], "xray": ["xray"]},
"notCovered": {"airflow": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "app-integrations": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appconfig": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appsync": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "autoscaling": "not read yet: AWS's group and launch configuration ARNs carry an id the service mints, `autoScalingGroup:<id>:autoScalingGroupName/<name>`, while Floci mints `autoScalingGroup:<name>`, which other services (ECS capacity providers) read back; the mint is fixed first", "aws-marketplace": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "backup": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "batch": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "bedrock-agentcore": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "cloudhsm": "not read yet: its ARN formats end in ${CloudHsmClusterInstanceName} and ${CloudHsmBackupInstanceName}, names, while its requests give ClusterId and BackupId, ids, which the rules do not fill a name from, so nearly every operation's resource would be left open", "codeartifact": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "codedeploy": "not read yet: the Service Reference gives an on-premises instance's ARN as `instance:${InstanceName}`, while the CodeDeploy permissions reference gives arn:aws:codedeploy:region:account-id:instance/instance-ID and AWS's GetOnPremisesInstance example answers instance/<name>_<id>, an id the service mints after the name; reading it needs that format corrected", "codeguru-reviewer": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "connect": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "detective": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "dlm": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "elasticbeanstalk": "not read yet: an environment's ARN carries its application's name, `environment/<application>/<name>`, while most of its requests name it by EnvironmentName or EnvironmentId alone, so reading it needs the stored environment those find", "elasticfilesystem": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "execute-api": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "iot": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "kafka": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "lightsail": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "mq": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_restLine truncated
"namespaces": {"access-analyzer": ["accessanalyzer"], "account": ["account"], "acm": ["acm"], "apigateway": ["apigateway", "apigatewayv2"], "application-autoscaling": ["application-autoscaling"], "aps": ["amp"], "athena": ["athena"], "bcm-data-exports": ["bcm-data-exports"], "bcm-pricing-calculator": ["bcm-pricing-calculator"], "bedrock": ["bedrock", "bedrock-agent", "bedrock-agent-runtime", "bedrock-data-automation", "bedrock-data-automation-runtime", "bedrock-runtime"], "budgets": ["budgets"], "ce": ["ce"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudfront": ["cloudfront"], "cloudfront-keyvaluestore": ["cloudfront-keyvaluestore"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codebuild": ["codebuild"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "config": ["config"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "dynamodb": ["dynamodb", "dynamodbstreams"], "ec2": ["ec2"], "ec2-instance-connect": ["ec2-instance-connect"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticache": ["elasticache"], "elasticloadbalancing": ["elb", "elbv2"], "elasticmapreduce": ["emr"], "emr-containers": ["emr-containers"], "emr-serverless": ["emr-serverless"], "es": ["es", "opensearch"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "fis": ["fis"], "globalaccelerator": ["globalaccelerator"], "glue": ["glue"], "guardduty": ["guardduty"], "iam": ["iam", "iam-toolbox"], "identitystore": ["identitystore"], "inspector2": ["inspector2"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "macie2": ["macie2"], "memorydb": ["memorydb"], "oam": ["oam"], "payment-cryptography": ["payment-cryptography", "payment-cryptography-data"], "pipes": ["pipes"], "quicksight": ["quicksight"], "ram": ["ram"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-data": ["redshift-data"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "resource-groups": ["resource-groups"], "route53": ["route53"], "route53resolver": ["route53resolver"], "s3": ["s3", "s3control"], "s3tables": ["s3tables"], "s3vectors": ["s3vectors"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "servicequotas": ["service-quotas"], "signer": ["signer", "signer-data"], "sns": ["sns"], "sqs": ["sqs"], "ssm": ["ssm"], "sso": ["sso", "sso-admin"], "states": ["stepfunctions"], "sts": ["sts"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "translate": ["translate"], "xray": ["xray"]},
"notCovered": {"airflow": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "app-integrations": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appconfig": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appsync": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "autoscaling": "not read yet: AWS's group and launch configuration ARNs carry an id the service mints, `autoScalingGroup:<id>:autoScalingGroupName/<name>`, while Floci mints `autoScalingGroup:<name>`, which other services (ECS capacity providers) read back; the mint is fixed first", "aws-marketplace": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "backup": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "batch": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "bedrock-agentcore": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "cloudhsm": "not read yet: its ARN formats end in ${CloudHsmClusterInstanceName} and ${CloudHsmBackupInstanceName}, names, while its requests give ClusterId and BackupId, ids, which the rules do not fill a name from, so nearly every operation's resource would be left open", "codeartifact": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "codedeploy": "not read yet: the Service Reference gives an on-premises instance's ARN as `instance:${InstanceName}`, while the CodeDeploy permissions reference gives arn:aws:codedeploy:region:account-id:instance/instance-ID and AWS's GetOnPremisesInstance example answers instance/<name>_<id>, an id the service mints after the name; reading it needs that format corrected", "codeguru-reviewer": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "connect": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "detective": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "dlm": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "elasticbeanstalk": "not read yet: an environment's ARN carries its application's name, `environment/<application>/<name>`, while most of its requests name it by EnvironmentName or EnvironmentId alone, so reading it needs the stored environment those find", "elasticfilesystem": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "execute-api": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "iot": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "kafka": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "lightsail": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "mq": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_restLine truncated
"otherNamespaces": ["a4b", "account-access", "acm-pca", "aco-automation", "agent-registry", "aidevops", "aiops", "airflow-serverless", "amplify", "amplifybackend", "amplifyuibuilder", "aoss", "apiportal", "appfabric", "appflow", "application-signals", "application-signals-mcp", "appmesh", "appmesh-preview", "apprunner", "appstream", "apptest", "arc-region-switch", "arc-zonal-shift", "artifact", "assurance", "auditmanager", "aws-external-anthropic", "b2bi", "backup-gateway", "backup-search", "bcm-data-hub", "bedrock-mantle", "bedrock-websearch", "billing", "billingconductor", "braket", "bugbust", "cases", "cassandra", "chatbot", "chime", "cleanrooms", "cleanrooms-ml", "cloud9", "clouddirectory", "cloudsearch", "cloudshell", "cloudtrail-data", "codecatalyst", "codecommit", "codeconnections", "codeguru-profiler", "codeguru-security", "codestar-connections", "codestar-notifications", "codewhisperer", "cognito-sync", "connect-campaigns", "consoleapp", "continuum", "databrew", "dataexchange", "datapipeline", "datazone", "dax", "deadline", "devicefarm", "devops-guru", "directconnect", "docdb-elastic", "drs", "ds", "ds-data", "ebs", "ecr-public", "eks-auth", "elastictranscoder", "elemental-appliances-software", "elemental-inference", "elemental-support-cases", "end-user-messaging", "entityresolution", "evs", "finops-agent", "finspace", "finspace-api", "fms", "forecast", "frauddetector", "freertos", "fsx", "gamelift", "gameliftstreams", "geo", "geo-maps", "geo-places", "geo-routes", "glacier", "grafana", "greengrass", "groundstation", "health", "health-agent", "healthlake", "honeycode", "identity-sync", "imagebuilder", "interconnect", "internetmonitor", "invoicing", "iotanalytics", "iotdeviceadvisor", "iotfleethub", "iotfleetwise", "iotjobsdata", "iotmanagedintegrations", "iotsitewise", "iottwinmaker", "iotwireless", "iq", "iq-permission", "ivs", "ivschat", "kafka-cluster", "kafkaconnect", "kendra", "kendra-ranking", "kinesisvideo", "launchwizard", "lex", "license-manager", "license-manager-linux-subscriptions", "license-manager-user-subscriptions", "lookoutequipment", "lookoutmetrics", "lookoutvision", "m2", "machinelearning", "managedblockchain", "mapcredits", "mediaconnect", "mediaconvert", "medialive", "mediapackage", "mediapackage-vod", "mediapackagev2", "mediastore", "mediatailor", "medical-imaging", "mgh", "mgn", "migrationhub-orchestrator", "mobiletargeting", "monitron", "mpa", "neptune-db", "neptune-graph", "network-security-manager", "networkflowmonitor", "networkmanager", "networkmonitor", "nimble", "notifications", "notifications-contacts", "nova-act", "observabilityadmin", "odb", "omics", "one", "opensearch", "opsworks", "osis", "osm", "outposts", "panorama", "partnercentral", "payments", "pca-connector-ad", "pca-connector-scep", "pcs", "personalize", "pi", "polly", "private-networks", "profile", "proton", "purchase-orders", "q", "qapps", "qbusiness", "qdeveloper", "qldb", "rbin", "rds-db", "refactor-spaces", "repostspace", "resiliencehub", "robomaker", "rolesanywhere", "route53-recovery-cluster", "route53-recovery-control-config", "route53-recovery-readiness", "route53globalresolver", "route53profiles", "rtbfabric", "s3-object-lambda", "s3-outposts", "s3express", "s3files", "sagemaker-geospatial", "sagemaker-mlflow", "savingsplans", "schemas", "scn", "sdb", "security-ir", "securityagent", "securitylake", "serverlessrepo", "shield", "simspaceweaver", "sms-voice", "snow-device-management", "social-messaging", "sqlworkbench", "ssm-contacts", "ssm-incidents", "ssm-quicksetup", "ssm-sap", "ssmmessages", "storagegateway", "supportauthz", "synthetics", "thinclient", "timestream", "tnb", "transform", "transform-custom", "trustedadvisor", "ts", "vendor-insights", "voiceid", "vpc-lattice", "vpc-lattice-svcs", "vpce", "waf", "waf-regional", "wellarchitected", "wickr", "wisdom", "workdocs", "worklink", "workmail", "workmailmessageflow", "workspaces", "workspaces-instances", "workspaces-web"],
"arnFormats": {"access-analyzer": {"Analyzer": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}", "ArchiveRule": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}/archive-rule/${RuleName}"}, "account": {"account": "arn:${Partition}:account::${Account}:account", "accountInOrganization": "arn:${Partition}:account::${ManagementAccountId}:account/o-${OrganizationId}/${MemberAccountId}"}, "acm": {"acme-domain-validation": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-domain-validation/${AcmeDomainValidationId}", "acme-endpoint": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}", "acme-external-account-binding": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-external-account-binding/${ExternalAccountBindingId}", "certificate": "arn:${Partition}:acm:${Region}:${Account}:certificate/${CertificateId}"}, "apigateway": {"AccessLogSettings": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/accesslogsettings", "Account": "arn:${Partition}:apigateway:${Region}::/account", "Api": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}", "ApiKey": "arn:${Partition}:apigateway:${Region}::/apikeys/${ApiKeyId}", "ApiKeys": "arn:${Partition}:apigateway:${Region}::/apikeys", "ApiMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings/${ApiMappingId}", "ApiMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings", "Apis": "arn:${Partition}:apigateway:${Region}::/apis", "Authorizer": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers/${AuthorizerId}", "Authorizers": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers", "AuthorizersCache": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/cache/authorizers", "BasePathMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings/${BasePath}", "BasePathMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings", "ClientCertificate": "arn:${Partition}:apigateway:${Region}::/clientcertificates/${ClientCertificateId}", "ClientCertificates": "arn:${Partition}:apigateway:${Region}::/clientcertificates", "Cors": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/cors", "Deployment": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments/${DeploymentId}", "Deployments": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments", "DocumentationPart": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts/${DocumentationPartId}", "DocumentationParts": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts", "DocumentationVersion": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions/${DocumentationVersionId}", "DocumentationVersions": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions", "DomainName": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}", "DomainNameAccessAssociation": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations/domainname/${DomainName}/${SourceType}/${SourceId}", "DomainNameAccessAssociations": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations", "DomainNames": "arn:${Partition}:apigateway:${Region}::/domainnames", "ExportedAPI": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/exports/${Specification}", "GatewayResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses/${ResponseType}", "GatewayResponses": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses", "Integration": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}", "IntegrationResponse": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses/${IntegrationResponseId}", "IntegrationResponses": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses", "Integrations": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations", "Method": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}", "MethodResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}/responses/${StatusCode}", "Model": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}", "ModelTemplate": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}/template", "Models": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models", "Portal": "arn:${Partition}:apigateway:${Region}:${Account}:/portals/${PortalId}", "PortalProduct": "arn:${Partition}:apigateway:${Region}:${Account}:/portalproducts/$Line truncated
"arnFormats": {"access-analyzer": {"Analyzer": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}", "ArchiveRule": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}/archive-rule/${RuleName}"}, "account": {"account": "arn:${Partition}:account::${Account}:account", "accountInOrganization": "arn:${Partition}:account::${ManagementAccountId}:account/o-${OrganizationId}/${MemberAccountId}"}, "acm": {"acme-domain-validation": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-domain-validation/${AcmeDomainValidationId}", "acme-endpoint": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}", "acme-external-account-binding": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-external-account-binding/${ExternalAccountBindingId}", "certificate": "arn:${Partition}:acm:${Region}:${Account}:certificate/${CertificateId}"}, "apigateway": {"AccessLogSettings": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/accesslogsettings", "Account": "arn:${Partition}:apigateway:${Region}::/account", "Api": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}", "ApiKey": "arn:${Partition}:apigateway:${Region}::/apikeys/${ApiKeyId}", "ApiKeys": "arn:${Partition}:apigateway:${Region}::/apikeys", "ApiMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings/${ApiMappingId}", "ApiMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings", "Apis": "arn:${Partition}:apigateway:${Region}::/apis", "Authorizer": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers/${AuthorizerId}", "Authorizers": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers", "AuthorizersCache": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/cache/authorizers", "BasePathMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings/${BasePath}", "BasePathMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings", "ClientCertificate": "arn:${Partition}:apigateway:${Region}::/clientcertificates/${ClientCertificateId}", "ClientCertificates": "arn:${Partition}:apigateway:${Region}::/clientcertificates", "Cors": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/cors", "Deployment": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments/${DeploymentId}", "Deployments": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments", "DocumentationPart": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts/${DocumentationPartId}", "DocumentationParts": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts", "DocumentationVersion": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions/${DocumentationVersionId}", "DocumentationVersions": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions", "DomainName": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}", "DomainNameAccessAssociation": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations/domainname/${DomainName}/${SourceType}/${SourceId}", "DomainNameAccessAssociations": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations", "DomainNames": "arn:${Partition}:apigateway:${Region}::/domainnames", "ExportedAPI": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/exports/${Specification}", "GatewayResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses/${ResponseType}", "GatewayResponses": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses", "Integration": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}", "IntegrationResponse": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses/${IntegrationResponseId}", "IntegrationResponses": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses", "Integrations": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations", "Method": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}", "MethodResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}/responses/${StatusCode}", "Model": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}", "ModelTemplate": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}/template", "Models": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models", "Portal": "arn:${Partition}:apigateway:${Region}:${Account}:/portals/${PortalId}", "PortalProduct": "arn:${Partition}:apigateway:${Region}:${Account}:/portalproducts/$Line truncated
"pathFormats": {"apigateway": {"/restapis/{restapi_id}/models/{model_name}/default_template (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/models/${ModelName}/default_template", "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/stages/${StageName}/cache/authorizers", "/restapis/{restapi_id}/stages/{stage_name}/cache/data (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/stages/${StageName}/cache/data", "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type} (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/stages/${StageName}/exports/${ExportType}", "/sdktypes (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/sdktypes", "/sdktypes/{sdktype_id} (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/sdktypes/${SdktypeId}", "/usageplans/{usageplanId}/keys/{keyId}/usage (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/usageplans/${UsageplanId}/keys/${KeyId}/usage", "/usageplans/{usageplanId}/usage (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/usageplans/${UsageplanId}/usage", "Authorizer (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/authorizers/${Id}", "Authorizers (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/authorizers", "Deployment (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/deployments/${Id}", "Deployments (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/deployments", "Integration (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/resources/${ResourceId}/methods/${HttpMethod}/integration", "IntegrationResponse (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/resources/${ResourceId}/methods/${HttpMethod}/integration/responses/${StatusCode}", "Model (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/models/${ModelName}", "Models (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/models", "Stage (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/stages/${StageName}", "Stages (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/stages"}},
"resourceTagKeys": {"access-analyzer": {"Analyzer": ["aws:ResourceTag/"]}, "acm": {"acme-domain-validation": ["aws:ResourceTag/"], "acme-endpoint": ["aws:ResourceTag/"], "acme-external-account-binding": ["aws:ResourceTag/"], "certificate": ["aws:ResourceTag/"]}, "apigateway": {"AccessLogSettings": ["aws:ResourceTag/"], "Api": ["aws:ResourceTag/"], "ApiKey": ["aws:ResourceTag/"], "ApiKeys": ["aws:ResourceTag/"], "ApiMapping": ["aws:ResourceTag/"], "ApiMappings": ["aws:ResourceTag/"], "Apis": ["aws:ResourceTag/"], "Authorizer": ["aws:ResourceTag/"], "Authorizers": ["aws:ResourceTag/"], "AuthorizersCache": ["aws:ResourceTag/"], "BasePathMapping": ["aws:ResourceTag/"], "BasePathMappings": ["aws:ResourceTag/"], "ClientCertificate": ["aws:ResourceTag/"], "ClientCertificates": ["aws:ResourceTag/"], "Cors": ["aws:ResourceTag/"], "Deployment": ["aws:ResourceTag/"], "Deployments": ["aws:ResourceTag/"], "DocumentationPart": ["aws:ResourceTag/"], "DocumentationParts": ["aws:ResourceTag/"], "DocumentationVersion": ["aws:ResourceTag/"], "DocumentationVersions": ["aws:ResourceTag/"], "DomainName": ["aws:ResourceTag/"], "DomainNameAccessAssociations": ["aws:ResourceTag/"], "DomainNames": ["aws:ResourceTag/"], "ExportedAPI": ["aws:ResourceTag/"], "GatewayResponse": ["aws:ResourceTag/"], "GatewayResponses": ["aws:ResourceTag/"], "Integration": ["aws:ResourceTag/"], "IntegrationResponse": ["aws:ResourceTag/"], "IntegrationResponses": ["aws:ResourceTag/"], "Integrations": ["aws:ResourceTag/"], "Method": ["aws:ResourceTag/"], "MethodResponse": ["aws:ResourceTag/"], "Model": ["aws:ResourceTag/"], "ModelTemplate": ["aws:ResourceTag/"], "Models": ["aws:ResourceTag/"], "Portal": ["aws:ResourceTag/"], "PortalProduct": ["aws:ResourceTag/"], "PrivateBasePathMapping": ["aws:ResourceTag/"], "PrivateBasePathMappings": ["aws:ResourceTag/"], "PrivateDomainName": ["aws:ResourceTag/"], "ProductPage": ["aws:ResourceTag/"], "ProductRestEndpointPage": ["aws:ResourceTag/"], "RequestValidator": ["aws:ResourceTag/"], "RequestValidators": ["aws:ResourceTag/"], "Resource": ["aws:ResourceTag/"], "Resources": ["aws:ResourceTag/"], "RestApi": ["aws:ResourceTag/"], "RestApis": ["aws:ResourceTag/"], "Route": ["aws:ResourceTag/"], "RouteRequestParameter": ["aws:ResourceTag/"], "RouteResponse": ["aws:ResourceTag/"], "RouteResponses": ["aws:ResourceTag/"], "RouteSettings": ["aws:ResourceTag/"], "Routes": ["aws:ResourceTag/"], "RoutingRule": ["aws:ResourceTag/"], "Sdk": ["aws:ResourceTag/"], "Stage": ["aws:ResourceTag/"], "Stages": ["aws:ResourceTag/"], "Template": ["aws:ResourceTag/"], "UsagePlan": ["aws:ResourceTag/"], "UsagePlanKey": ["aws:ResourceTag/"], "UsagePlanKeys": ["aws:ResourceTag/"], "UsagePlans": ["aws:ResourceTag/"], "VpcLink": ["aws:ResourceTag/"], "VpcLinks": ["aws:ResourceTag/"]}, "application-autoscaling": {"ScalableTarget": ["aws:ResourceTag/"]}, "aps": {"anomalydetector": ["aws:ResourceTag/"], "cluster": ["aws:ResourceTag/"], "rulegroupsnamespace": ["aws:ResourceTag/"], "scraper": ["aws:ResourceTag/"], "workspace": ["aws:ResourceTag/"]}, "athena": {"capacity-reservation": ["aws:ResourceTag/"], "datacatalog": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"], "system-table": ["aws:ResourceTag/"], "workgroup": ["aws:ResourceTag/"]}, "bcm-data-exports": {"billingview": ["aws:ResourceTag/"], "export": ["aws:ResourceTag/"]}, "bcm-pricing-calculator": {"bill-estimate": ["aws:ResourceTag/"], "bill-scenario": ["aws:ResourceTag/"], "workload-estimate": ["aws:ResourceTag/"]}, "bedrock": {"advanced-prompt-optimization-job": ["aws:ResourceTag/"], "agent": ["aws:ResourceTag/"], "agent-alias": ["aws:ResourceTag/"], "application-inference-profile": ["aws:ResourceTag/"], "async-invoke": ["aws:ResourceTag/"], "automated-reasoning-policy": ["aws:ResourceTag/"], "automated-reasoning-policy-version": ["aws:ResourceTag/"], "blueprint": ["aws:ResourceTag/"], "blueprint-optimization-invocation": ["aws:ResourceTag/"], "custom-model": ["aws:ResourceTag/"], "custom-model-deployment": ["aws:ResourceTag/"], "data-automation-invocation-job": ["aws:ResourceTag/"], "data-automation-library": ["aws:ResourceTag/"], "data-automation-library-ingestion-job": ["aws:ResourceTag/"], "data-automation-project": ["aws:ResourceTag/"], "evaluation-job": ["aws:ResourceTag/"], "flow": ["aws:ResourceTag/"], "flow-alias": ["aws:ResourceTag/"], "guardrail": ["aws:ResourceTag/"], "imported-model": ["aws:ResourceTag/"], "knowledge-base": ["aws:ResourceTag/"], "model-copy-job": ["aws:ResourceTag/"], "model-customization-job": ["aws:ResourceTag/"], "model-evaluation-job": ["aws:ResourceTag/"], "model-import-job": ["aws:ResourceTag/"], "model-invocation-job": ["aws:ResourceTag/"], "project": ["aws:ResourceTag/"], "prompt": ["aws:ResourceTag/"], "prompt-router": ["aws:ResourceTag/"], "prompt-version": ["aws:ResourceTag/"], "provisioned-model": ["aws:ResourceTag/"], "retrieval-instruction": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"]}, "budgets": {"budget": ["aws:ResourceTag/Line truncated
"resourceTagKeys": {"access-analyzer": {"Analyzer": ["aws:ResourceTag/"]}, "acm": {"acme-domain-validation": ["aws:ResourceTag/"], "acme-endpoint": ["aws:ResourceTag/"], "acme-external-account-binding": ["aws:ResourceTag/"], "certificate": ["aws:ResourceTag/"]}, "apigateway": {"AccessLogSettings": ["aws:ResourceTag/"], "Api": ["aws:ResourceTag/"], "ApiKey": ["aws:ResourceTag/"], "ApiKeys": ["aws:ResourceTag/"], "ApiMapping": ["aws:ResourceTag/"], "ApiMappings": ["aws:ResourceTag/"], "Apis": ["aws:ResourceTag/"], "Authorizer": ["aws:ResourceTag/"], "Authorizers": ["aws:ResourceTag/"], "AuthorizersCache": ["aws:ResourceTag/"], "BasePathMapping": ["aws:ResourceTag/"], "BasePathMappings": ["aws:ResourceTag/"], "ClientCertificate": ["aws:ResourceTag/"], "ClientCertificates": ["aws:ResourceTag/"], "Cors": ["aws:ResourceTag/"], "Deployment": ["aws:ResourceTag/"], "Deployments": ["aws:ResourceTag/"], "DocumentationPart": ["aws:ResourceTag/"], "DocumentationParts": ["aws:ResourceTag/"], "DocumentationVersion": ["aws:ResourceTag/"], "DocumentationVersions": ["aws:ResourceTag/"], "DomainName": ["aws:ResourceTag/"], "DomainNameAccessAssociations": ["aws:ResourceTag/"], "DomainNames": ["aws:ResourceTag/"], "ExportedAPI": ["aws:ResourceTag/"], "GatewayResponse": ["aws:ResourceTag/"], "GatewayResponses": ["aws:ResourceTag/"], "Integration": ["aws:ResourceTag/"], "IntegrationResponse": ["aws:ResourceTag/"], "IntegrationResponses": ["aws:ResourceTag/"], "Integrations": ["aws:ResourceTag/"], "Method": ["aws:ResourceTag/"], "MethodResponse": ["aws:ResourceTag/"], "Model": ["aws:ResourceTag/"], "ModelTemplate": ["aws:ResourceTag/"], "Models": ["aws:ResourceTag/"], "Portal": ["aws:ResourceTag/"], "PortalProduct": ["aws:ResourceTag/"], "PrivateBasePathMapping": ["aws:ResourceTag/"], "PrivateBasePathMappings": ["aws:ResourceTag/"], "PrivateDomainName": ["aws:ResourceTag/"], "ProductPage": ["aws:ResourceTag/"], "ProductRestEndpointPage": ["aws:ResourceTag/"], "RequestValidator": ["aws:ResourceTag/"], "RequestValidators": ["aws:ResourceTag/"], "Resource": ["aws:ResourceTag/"], "Resources": ["aws:ResourceTag/"], "RestApi": ["aws:ResourceTag/"], "RestApis": ["aws:ResourceTag/"], "Route": ["aws:ResourceTag/"], "RouteRequestParameter": ["aws:ResourceTag/"], "RouteResponse": ["aws:ResourceTag/"], "RouteResponses": ["aws:ResourceTag/"], "RouteSettings": ["aws:ResourceTag/"], "Routes": ["aws:ResourceTag/"], "RoutingRule": ["aws:ResourceTag/"], "Sdk": ["aws:ResourceTag/"], "Stage": ["aws:ResourceTag/"], "Stages": ["aws:ResourceTag/"], "Template": ["aws:ResourceTag/"], "UsagePlan": ["aws:ResourceTag/"], "UsagePlanKey": ["aws:ResourceTag/"], "UsagePlanKeys": ["aws:ResourceTag/"], "UsagePlans": ["aws:ResourceTag/"], "VpcLink": ["aws:ResourceTag/"], "VpcLinks": ["aws:ResourceTag/"]}, "application-autoscaling": {"ScalableTarget": ["aws:ResourceTag/"]}, "aps": {"anomalydetector": ["aws:ResourceTag/"], "cluster": ["aws:ResourceTag/"], "rulegroupsnamespace": ["aws:ResourceTag/"], "scraper": ["aws:ResourceTag/"], "workspace": ["aws:ResourceTag/"]}, "athena": {"capacity-reservation": ["aws:ResourceTag/"], "datacatalog": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"], "system-table": ["aws:ResourceTag/"], "workgroup": ["aws:ResourceTag/"]}, "bcm-data-exports": {"billingview": ["aws:ResourceTag/"], "export": ["aws:ResourceTag/"]}, "bcm-pricing-calculator": {"bill-estimate": ["aws:ResourceTag/"], "bill-scenario": ["aws:ResourceTag/"], "workload-estimate": ["aws:ResourceTag/"]}, "bedrock": {"advanced-prompt-optimization-job": ["aws:ResourceTag/"], "agent": ["aws:ResourceTag/"], "agent-alias": ["aws:ResourceTag/"], "application-inference-profile": ["aws:ResourceTag/"], "async-invoke": ["aws:ResourceTag/"], "automated-reasoning-policy": ["aws:ResourceTag/"], "automated-reasoning-policy-version": ["aws:ResourceTag/"], "blueprint": ["aws:ResourceTag/"], "blueprint-optimization-invocation": ["aws:ResourceTag/"], "custom-model": ["aws:ResourceTag/"], "custom-model-deployment": ["aws:ResourceTag/"], "data-automation-invocation-job": ["aws:ResourceTag/"], "data-automation-library": ["aws:ResourceTag/"], "data-automation-library-ingestion-job": ["aws:ResourceTag/"], "data-automation-project": ["aws:ResourceTag/"], "evaluation-job": ["aws:ResourceTag/"], "flow": ["aws:ResourceTag/"], "flow-alias": ["aws:ResourceTag/"], "guardrail": ["aws:ResourceTag/"], "imported-model": ["aws:ResourceTag/"], "knowledge-base": ["aws:ResourceTag/"], "model-copy-job": ["aws:ResourceTag/"], "model-customization-job": ["aws:ResourceTag/"], "model-evaluation-job": ["aws:ResourceTag/"], "model-import-job": ["aws:ResourceTag/"], "model-invocation-job": ["aws:ResourceTag/"], "project": ["aws:ResourceTag/"], "prompt": ["aws:ResourceTag/"], "prompt-router": ["aws:ResourceTag/"], "prompt-version": ["aws:ResourceTag/"], "provisioned-model": ["aws:ResourceTag/"], "retrieval-instruction": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"]}, "budgets": {"budget": ["aws:ResourceTag/Line truncated
"resourceKeys": {"ec2": {"capacity-reservation": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}, "ec2:CapacityReservationFleet": {"member": "CapacityReservationFleetId", "arn": "capacity-reservation-fleet"}, "ec2:EbsOptimized": {"member": "EbsOptimized"}, "ec2:EndDateType": {"member": "EndDateType"}, "ec2:EphemeralStorage": {"member": "EphemeralStorage"}, "ec2:InstanceMatchCriteria": {"member": "InstanceMatchCriteria"}, "ec2:InstanceType": {"member": "InstanceType"}, "ec2:Tenancy": {"member": "Tenancy"}}, "carrier-gateway": {"ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "dhcp-options": {"ec2:DhcpOptionsID": {"member": "DhcpOptionsId"}}, "fpga-image": {"ec2:Owner": {"member": "OwnerId"}, "ec2:Public": {"member": "Public"}}, "image": {"ec2:ImageID": {"member": "ImageId"}, "ec2:ImageType": {"member": "ImageType"}, "ec2:Owner": {"member": "OwnerId"}, "ec2:Public": {"member": "Public"}, "ec2:RootDeviceType": {"member": "RootDeviceType"}}, "instance": {"ec2:EbsOptimized": {"member": "EbsOptimized"}, "ec2:InstanceID": {"member": "InstanceId"}, "ec2:InstanceType": {"member": "InstanceType"}, "ec2:RootDeviceType": {"member": "RootDeviceType"}}, "internet-gateway": {"ec2:InternetGatewayID": {"member": "InternetGatewayId"}}, "launch-template": {"ec2:LaunchTemplate": {"member": "LaunchTemplateId", "arn": "launch-template"}}, "network-acl": {"ec2:NetworkAclID": {"member": "NetworkAclId"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "network-interface": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:NetworkInterfaceID": {"member": "NetworkInterfaceId"}, "ec2:Subnet": {"member": "SubnetId", "arn": "subnet"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "reserved-instances": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:InstanceType": {"member": "InstanceType"}}, "route-table": {"ec2:RouteTableID": {"member": "RouteTableId"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "secondary-interface": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}}, "security-group": {"ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "snapshot": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:Encrypted": {"member": "Encrypted"}, "ec2:Owner": {"member": "OwnerId"}, "ec2:SnapshotID": {"member": "SnapshotId"}, "ec2:VolumeSize": {"member": "VolumeSize"}}, "subnet": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}, "ec2:SubnetID": {"member": "SubnetId"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "transit-gateway": {"ec2:transitGatewayId": {"member": "TransitGatewayId"}}, "transit-gateway-attachment": {"ec2:transitGatewayAttachmentId": {"member": "TransitGatewayAttachmentId"}}, "transit-gateway-connect-peer": {"ec2:transitGatewayConnectPeerId": {"member": "TransitGatewayConnectPeerId"}}, "transit-gateway-metering-policy": {"ec2:transitGatewayMeteringPolicyId": {"member": "TransitGatewayMeteringPolicyId"}}, "transit-gateway-multicast-domain": {"ec2:transitGatewayMulticastDomainId": {"member": "TransitGatewayMulticastDomainId"}}, "transit-gateway-policy-table": {"ec2:transitGatewayPolicyTableId": {"member": "TransitGatewayPolicyTableId"}}, "transit-gateway-route-table": {"ec2:transitGatewayRouteTableId": {"member": "TransitGatewayRouteTableId"}}, "transit-gateway-route-table-announcement": {"ec2:transitGatewayRouteTableAnnouncementId": {"member": "TransitGatewayRouteTableAnnouncementId"}}, "volume": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}, "ec2:Encrypted": {"member": "Encrypted"}, "ec2:KmsKeyId": {"member": "KmsKeyId"}, "ec2:VolumeID": {"member": "VolumeId"}, "ec2:VolumeInitializationRate": {"member": "VolumeInitializationRate"}, "ec2:VolumeType": {"member": "VolumeType"}}, "vpc": {"ec2:VpcID": {"member": "VpcId"}}, "vpc-peering-connection": {"ec2:VpcPeeringConnectionID": {"member": "VpcPeeringConnectionId"}}}},
"unqualified": {"ssm": ["parameter"], "states": ["statemachine"]},
"mintedIds": {"events": ["api-destination", "connection"]},
@@ -5951,6 +5951,79 @@
"route53:UpdateHostedZoneTier": {"action": "route53:UpdateHostedZoneTier", "types": ["hostedzone"], "resources": [{"type": "hostedzone", "fill": {"Id": "HostedZoneId"}}], "located": {"HostedZoneId": "{Id}"}},
"route53:UpdateTrafficPolicyComment": {"action": "route53:UpdateTrafficPolicyComment", "types": ["trafficpolicy"], "resources": [{"type": "trafficpolicy", "fill": {"Id": "Id"}}], "located": {"Id": "{Id}"}},
"route53:UpdateTrafficPolicyInstance": {"action": "route53:UpdateTrafficPolicyInstance", "types": ["trafficpolicyinstance"], "resources": [{"type": "trafficpolicyinstance", "fill": {"Id": "Id"}}], "located": {"Id": "{Id}"}},
"route53resolver:AssociateFirewallRuleGroup": {"action": "route53resolver:AssociateFirewallRuleGroup", "types": ["firewall-rule-group-association"], "resources": [{"types": ["firewall-rule-group-association"], "through": "Name"}]},
"route53resolver:AssociateResolverEndpointIpAddress": {"action": "route53resolver:AssociateResolverEndpointIpAddress", "types": ["resolver-endpoint"], "resources": [{"type": "resolver-endpoint", "fill": {"ResourceId": "ResolverEndpointId"}}]},
"route53resolver:AssociateResolverQueryLogConfig": {"action": "route53resolver:AssociateResolverQueryLogConfig", "types": ["resolver-query-log-config"], "resources": [{"type": "resolver-query-log-config", "fill": {"ResourceId": "ResourceId"}}]},
"route53resolver:AssociateResolverRule": {"action": "route53resolver:AssociateResolverRule", "types": ["resolver-rule"], "resources": [{"type": "resolver-rule", "fill": {"ResourceId": "ResolverRuleId"}}]},
"route53resolver:BatchCreateFirewallRule": {"action": "route53resolver:CreateFirewallRule", "types": ["firewall-domain-list", "firewall-rule-group"], "resources": [{"type": "firewall-domain-list", "fill": {"ResourceId": "CreateFirewallRuleEntries[].FirewallDomainListId"}}, {"type": "firewall-rule-group", "fill": {"ResourceId": "CreateFirewallRuleEntries[].FirewallRuleGroupId"}}]},
"route53resolver:BatchDeleteFirewallRule": {"action": "route53resolver:DeleteFirewallRule", "types": ["firewall-domain-list", "firewall-rule-group"], "resources": [{"type": "firewall-domain-list", "fill": {"ResourceId": "DeleteFirewallRuleEntries[].FirewallDomainListId"}}, {"type": "firewall-rule-group", "fill": {"ResourceId": "DeleteFirewallRuleEntries[].FirewallRuleGroupId"}}]},
"route53resolver:BatchUpdateFirewallRule": {"action": "route53resolver:UpdateFirewallRule", "types": ["firewall-domain-list", "firewall-rule-group"], "resources": [{"type": "firewall-domain-list", "fill": {"ResourceId": "UpdateFirewallRuleEntries[].FirewallDomainListId"}}, {"type": "firewall-rule-group", "fill": {"ResourceId": "UpdateFirewallRuleEntries[].FirewallRuleGroupId"}}]},
"route53resolver:CreateFirewallDomainList": {"action": "route53resolver:CreateFirewallDomainList", "types": ["firewall-domain-list"], "resources": [{"type": "firewall-domain-list", "fill": {}}]},
"route53resolver:CreateFirewallRule": {"action": "route53resolver:CreateFirewallRule", "types": ["firewall-domain-list", "firewall-rule-group"], "resources": [{"type": "firewall-domain-list", "fill": {"ResourceId": "FirewallDomainListId"}}, {"type": "firewall-rule-group", "fill": {"ResourceId": "FirewallRuleGroupId"}}]},
"route53resolver:CreateFirewallRuleGroup": {"action": "route53resolver:CreateFirewallRuleGroup", "types": ["firewall-rule-group"], "resources": [{"type": "firewall-rule-group", "fill": {}}]},
"route53resolver:CreateOutpostResolver": {"action": "route53resolver:CreateOutpostResolver", "types": ["outpost-resolver"], "resources": [{"type": "outpost-resolver", "fill": {}}]},
"route53resolver:CreateResolverEndpoint": {"action": "route53resolver:CreateResolverEndpoint", "types": ["resolver-endpoint"], "resources": [{"type": "resolver-endpoint", "fill": {}}]},
"route53resolver:CreateResolverQueryLogConfig": {"action": "route53resolver:CreateResolverQueryLogConfig", "types": ["resolver-query-log-config"], "resources": [{"types": ["resolver-query-log-config"], "arn": "DestinationArn"}, {"type": "resolver-query-log-config", "fill": {}}]},
"route53resolver:CreateResolverRule": {"action": "route53resolver:CreateResolverRule", "types": ["resolver-rule"], "resources": [{"type": "resolver-rule", "fill": {}}]},
"route53resolver:DeleteFirewallDomainList": {"action": "route53resolver:DeleteFirewallDomainList", "types": ["firewall-domain-list"], "resources": [{"type": "firewall-domain-list", "fill": {"ResourceId": "FirewallDomainListId"}}]},
"route53resolver:DeleteFirewallRule": {"action": "route53resolver:DeleteFirewallRule", "types": ["firewall-domain-list", "firewall-rule-group"], "resources": [{"type": "firewall-domain-list", "fill": {"ResourceId": "FirewallDomainListId"}}, {"type": "firewall-rule-group", "fill": {"ResourceId": "FirewallRuleGroupId"}}]},
"route53resolver:DeleteFirewallRuleGroup": {"action": "route53resolver:DeleteFirewallRuleGroup", "types": ["firewall-rule-group"], "resources": [{"type": "firewall-rule-group", "fill": {"ResourceId": "FirewallRuleGroupId"}}]},
"route53resolver:DeleteOutpostResolver": {"action": "route53resolver:DeleteOutpostResolver", "types": ["outpost-resolver"], "resources": [{"type": "outpost-resolver", "fill": {"ResourceId": "Id"}}]},
"route53resolver:DeleteResolverEndpoint": {"action": "route53resolver:DeleteResolverEndpoint", "types": ["resolver-endpoint"], "resources": [{"type": "resolver-endpoint", "fill": {"ResourceId": "ResolverEndpointId"}}]},
"route53resolver:DeleteResolverQueryLogConfig": {"action": "route53resolver:DeleteResolverQueryLogConfig", "types": ["resolver-query-log-config"], "resources": [{"type": "resolver-query-log-config", "fill": {"ResourceId": "ResolverQueryLogConfigId"}}]},
"route53resolver:DeleteResolverRule": {"action": "route53resolver:DeleteResolverRule", "types": ["resolver-rule"], "resources": [{"type": "resolver-rule", "fill": {"ResourceId": "ResolverRuleId"}}]},
"route53resolver:DisassociateFirewallRuleGroup": {"action": "route53resolver:DisassociateFirewallRuleGroup", "types": ["firewall-rule-group-association"], "resources": [{"type": "firewall-rule-group-association", "fill": {"ResourceId": "FirewallRuleGroupAssociationId"}}]},
"route53resolver:DisassociateResolverEndpointIpAddress": {"action": "route53resolver:DisassociateResolverEndpointIpAddress", "types": ["resolver-endpoint"], "resources": [{"type": "resolver-endpoint", "fill": {"ResourceId": "ResolverEndpointId"}}]},
"route53resolver:DisassociateResolverQueryLogConfig": {"action": "route53resolver:DisassociateResolverQueryLogConfig", "types": ["resolver-query-log-config"], "resources": [{"type": "resolver-query-log-config", "fill": {"ResourceId": "ResourceId"}}]},
"route53resolver:DisassociateResolverRule": {"action": "route53resolver:DisassociateResolverRule", "types": ["resolver-rule"], "resources": [{"type": "resolver-rule", "fill": {"ResourceId": "ResolverRuleId"}}]},
"route53resolver:GetFirewallConfig": {"action": "route53resolver:GetFirewallConfig", "types": ["firewall-config"], "resources": [{"type": "firewall-config", "fill": {"ResourceId": "ResourceId"}}]},
"route53resolver:GetFirewallDomainList": {"action": "route53resolver:GetFirewallDomainList", "types": ["firewall-domain-list"], "resources": [{"type": "firewall-domain-list", "fill": {"ResourceId": "FirewallDomainListId"}}]},
"route53resolver:GetFirewallRuleGroup": {"action": "route53resolver:GetFirewallRuleGroup", "types": ["firewall-rule-group"], "resources": [{"type": "firewall-rule-group", "fill": {"ResourceId": "FirewallRuleGroupId"}}]},
"route53resolver:GetFirewallRuleGroupAssociation": {"action": "route53resolver:GetFirewallRuleGroupAssociation", "types": ["firewall-rule-group-association"], "resources": [{"type": "firewall-rule-group-association", "fill": {"ResourceId": "FirewallRuleGroupAssociationId"}}]},
"route53resolver:GetFirewallRuleGroupPolicy": {"action": "route53resolver:GetFirewallRuleGroupPolicy", "types": ["firewall-rule-group"], "resources": [{"types": ["firewall-rule-group"], "arn": "Arn"}]},
"route53resolver:GetOutpostResolver": {"action": "route53resolver:GetOutpostResolver", "types": ["outpost-resolver"], "resources": [{"type": "outpost-resolver", "fill": {"ResourceId": "Id"}}]},
"route53resolver:GetResolverConfig": {"action": "route53resolver:GetResolverConfig", "types": ["resolver-config"], "resources": [{"type": "resolver-config", "fill": {"ResourceId": "ResourceId"}}]},
"route53resolver:GetResolverDnssecConfig": {"action": "route53resolver:GetResolverDnssecConfig", "types": ["resolver-dnssec-config"], "resources": [{"type": "resolver-dnssec-config", "fill": {"ResourceId": "ResourceId"}}]},
"route53resolver:GetResolverEndpoint": {"action": "route53resolver:GetResolverEndpoint", "types": ["resolver-endpoint"], "resources": [{"type": "resolver-endpoint", "fill": {"ResourceId": "ResolverEndpointId"}}]},
"route53resolver:GetResolverQueryLogConfig": {"action": "route53resolver:GetResolverQueryLogConfig", "types": ["resolver-query-log-config"], "resources": [{"type": "resolver-query-log-config", "fill": {"ResourceId": "ResolverQueryLogConfigId"}}]},
"route53resolver:GetResolverQueryLogConfigAssociation": {"action": "route53resolver:GetResolverQueryLogConfigAssociation", "types": [], "resources": []},
"route53resolver:GetResolverQueryLogConfigPolicy": {"action": "route53resolver:GetResolverQueryLogConfigPolicy", "types": ["resolver-query-log-config"], "resources": [{"types": ["resolver-query-log-config"], "arn": "Arn"}]},
"route53resolver:GetResolverRule": {"action": "route53resolver:GetResolverRule", "types": ["autodefined-rule", "resolver-rule"], "resources": [{"type": "resolver-rule", "fill": {"ResourceId": "ResolverRuleId"}}]},
"route53resolver:GetResolverRuleAssociation": {"action": "route53resolver:GetResolverRuleAssociation", "types": ["autodefined-rule", "resolver-rule"], "resources": []},
"route53resolver:GetResolverRulePolicy": {"action": "route53resolver:GetResolverRulePolicy", "types": ["resolver-rule"], "resources": [{"types": ["resolver-rule"], "arn": "Arn"}]},
"route53resolver:ImportFirewallDomains": {"action": "route53resolver:ImportFirewallDomains", "types": ["firewall-domain-list"], "resources": [{"type": "firewall-domain-list", "fill": {"ResourceId": "FirewallDomainListId"}}]},
"route53resolver:ListFirewallConfigs": {"action": "route53resolver:ListFirewallConfigs", "types": [], "resources": []},
"route53resolver:ListFirewallDomainLists": {"action": "route53resolver:ListFirewallDomainLists", "types": [], "resources": []},
"route53resolver:ListFirewallDomains": {"action": "route53resolver:ListFirewallDomains", "types": ["firewall-domain-list"], "resources": [{"type": "firewall-domain-list", "fill": {"ResourceId": "FirewallDomainListId"}}]},
"route53resolver:ListFirewallRuleDomains": {"action": "route53resolver:ListFirewallRuleDomains", "types": ["firewall-rule-group"], "resources": [{"type": "firewall-rule-group", "fill": {"ResourceId": "FirewallRuleGroupId"}}]},
"route53resolver:ListFirewallRuleGroupAssociations": {"action": "route53resolver:ListFirewallRuleGroupAssociations", "types": [], "resources": []},
"route53resolver:ListFirewallRuleGroups": {"action": "route53resolver:ListFirewallRuleGroups", "types": [], "resources": []},
"route53resolver:ListFirewallRuleTypes": {"action": "route53resolver:ListFirewallRuleTypes", "types": [], "resources": []},
"route53resolver:ListFirewallRules": {"action": "route53resolver:ListFirewallRules", "types": ["firewall-rule-group"], "resources": [{"type": "firewall-rule-group", "fill": {"ResourceId": "FirewallRuleGroupId"}}]},
"route53resolver:ListOutpostResolvers": {"action": "route53resolver:ListOutpostResolvers", "types": [], "resources": []},
"route53resolver:ListResolverConfigs": {"action": "route53resolver:ListResolverConfigs", "types": ["resolver-config"], "resources": []},
"route53resolver:ListResolverDnssecConfigs": {"action": "route53resolver:ListResolverDnssecConfigs", "types": ["resolver-dnssec-config"], "resources": []},
"route53resolver:ListResolverEndpointIpAddresses": {"action": "route53resolver:ListResolverEndpointIpAddresses", "types": ["resolver-endpoint"], "resources": [{"type": "resolver-endpoint", "fill": {"ResourceId": "ResolverEndpointId"}}]},
"route53resolver:ListResolverEndpoints": {"action": "route53resolver:ListResolverEndpoints", "types": [], "resources": []},
"route53resolver:ListResolverQueryLogConfigAssociations": {"action": "route53resolver:ListResolverQueryLogConfigAssociations", "types": [], "resources": []},
"route53resolver:ListResolverQueryLogConfigs": {"action": "route53resolver:ListResolverQueryLogConfigs", "types": [], "resources": []},
"route53resolver:ListResolverRuleAssociations": {"action": "route53resolver:ListResolverRuleAssociations", "types": [], "resources": []},
"route53resolver:ListResolverRules": {"action": "route53resolver:ListResolverRules", "types": [], "resources": []},
"route53resolver:ListTagsForResource": {"action": "route53resolver:ListTagsForResource", "types": ["firewall-domain-list", "firewall-rule-group", "firewall-rule-group-association", "outpost-resolver", "resolver-endpoint", "resolver-query-log-config", "resolver-rule"], "resources": [{"types": ["firewall-domain-list", "firewall-rule-group", "firewall-rule-group-association", "outpost-resolver", "resolver-endpoint", "resolver-query-log-config", "resolver-rule"], "arn": "ResourceArn"}]},
"route53resolver:PutFirewallRuleGroupPolicy": {"action": "route53resolver:PutFirewallRuleGroupPolicy", "types": ["firewall-rule-group"], "resources": [{"types": ["firewall-rule-group"], "arn": "Arn"}]},
"route53resolver:PutResolverQueryLogConfigPolicy": {"action": "route53resolver:PutResolverQueryLogConfigPolicy", "types": ["resolver-query-log-config"], "resources": [{"types": ["resolver-query-log-config"], "arn": "Arn"}]},
"route53resolver:PutResolverRulePolicy": {"action": "route53resolver:PutResolverRulePolicy", "types": ["resolver-rule"], "resources": [{"types": ["resolver-rule"], "arn": "Arn"}]},
"route53resolver:TagResource": {"action": "route53resolver:TagResource", "types": ["firewall-config", "firewall-domain-list", "firewall-rule-group", "firewall-rule-group-association", "outpost-resolver", "resolver-dnssec-config", "resolver-endpoint", "resolver-query-log-config", "resolver-rule"], "resources": [{"types": ["firewall-config", "firewall-domain-list", "firewall-rule-group", "firewall-rule-group-association", "outpost-resolver", "resolver-dnssec-config", "resolver-endpoint", "resolver-query-log-config", "resolver-rule"], "arn": "ResourceArn"}]},
"route53resolver:UntagResource": {"action": "route53resolver:UntagResource", "types": ["firewall-config", "firewall-domain-list", "firewall-rule-group", "firewall-rule-group-association", "outpost-resolver", "resolver-dnssec-config", "resolver-endpoint", "resolver-query-log-config", "resolver-rule"], "resources": [{"types": ["firewall-config", "firewall-domain-list", "firewall-rule-group", "firewall-rule-group-association", "outpost-resolver", "resolver-dnssec-config", "resolver-endpoint", "resolver-query-log-config", "resolver-rule"], "arn": "ResourceArn"}]},
"route53resolver:UpdateFirewallConfig": {"action": "route53resolver:UpdateFirewallConfig", "types": ["firewall-config"], "resources": [{"type": "firewall-config", "fill": {"ResourceId": "ResourceId"}}]},
"route53resolver:UpdateFirewallDomains": {"action": "route53resolver:UpdateFirewallDomains", "types": ["firewall-domain-list"], "resources": [{"type": "firewall-domain-list", "fill": {"ResourceId": "FirewallDomainListId"}}]},
"route53resolver:UpdateFirewallRule": {"action": "route53resolver:UpdateFirewallRule", "types": ["firewall-domain-list", "firewall-rule-group"], "resources": [{"type": "firewall-domain-list", "fill": {"ResourceId": "FirewallDomainListId"}}, {"type": "firewall-rule-group", "fill": {"ResourceId": "FirewallRuleGroupId"}}]},
"route53resolver:UpdateFirewallRuleGroupAssociation": {"action": "route53resolver:UpdateFirewallRuleGroupAssociation", "types": ["firewall-rule-group-association"], "resources": [{"type": "firewall-rule-group-association", "fill": {"ResourceId": "FirewallRuleGroupAssociationId"}}]},
"route53resolver:UpdateOutpostResolver": {"action": "route53resolver:UpdateOutpostResolver", "types": ["outpost-resolver"], "resources": [{"type": "outpost-resolver", "fill": {"ResourceId": "Id"}}]},
"route53resolver:UpdateResolverConfig": {"action": "route53resolver:UpdateResolverConfig", "types": ["resolver-config"], "resources": [{"type": "resolver-config", "fill": {"ResourceId": "ResourceId"}}]},
"route53resolver:UpdateResolverDnssecConfig": {"action": "route53resolver:UpdateResolverDnssecConfig", "types": ["resolver-dnssec-config"], "resources": [{"type": "resolver-dnssec-config", "fill": {"ResourceId": "ResourceId"}}]},
"route53resolver:UpdateResolverEndpoint": {"action": "route53resolver:UpdateResolverEndpoint", "types": ["resolver-endpoint"], "resources": [{"type": "resolver-endpoint", "fill": {"ResourceId": "ResolverEndpointId"}}]},
"route53resolver:UpdateResolverRule": {"action": "route53resolver:UpdateResolverRule", "types": ["resolver-rule"], "resources": [{"type": "resolver-rule", "fill": {"ResourceId": "ResolverRuleId"}}]},
"s3:AbortMultipartUpload": {"action": "s3:AbortMultipartUpload", "types": ["accesspointobject", "object"], "resources": [{"type": "object", "fill": {"BucketName": "Bucket", "ObjectName": "Key"}}], "located": {"Bucket": "{Bucket}", "Key": "{Key}"}},
"s3:AssociateAccessGrantsIdentityCenter": {"action": "s3:AssociateAccessGrantsIdentityCenter", "types": ["accessgrantsinstance"], "resources": [{"type": "accessgrantsinstance", "fill": {}}]},
"s3:CompleteMultipartUpload": {"action": "s3:PutObject", "types": ["accesspointobject", "object"], "resources": [{"type": "object", "fill": {"BucketName": "Bucket", "ObjectName": "Key"}}], "located": {"Bucket": "{Bucket}", "Key": "{Key}"}},
@@ -3626,6 +3626,50 @@ class IamRequestResourceEnforcementIntegrationTest {
"{\"ACLName\":\"" + acl + "-other\"}"), "memorydb:DescribeAcls");
}
/**
* A Route 53 Resolver firewall domain list is checked on the ARN its id gives, {@code firewall-domain-list/<id>},
* the one Route 53 Resolver mints, so a grant on one lets the caller read it and not another.
*/
@Test
void aRoute53ResolverDomainListIsCheckedOnTheArnItsIdGives() {
String allowed = domainList("res-fdl-" + suffix());
String other = domainList("res-fdl-other-" + suffix());
User user = user("res-resolver");
user.policy(allowOn("route53resolver:GetFirewallDomainList",
"arn:aws:route53resolver:" + REGION + ":" + ACCOUNT + ":firewall-domain-list/" + allowed));
send(user, "route53resolver", "Route53Resolver.GetFirewallDomainList", "1.1",
"{\"FirewallDomainListId\":\"" + allowed + "\"}").statusCode(200);
refusedJson(send(user, "route53resolver", "Route53Resolver.GetFirewallDomainList", "1.1",
"{\"FirewallDomainListId\":\"" + other + "\"}"), "route53resolver:GetFirewallDomainList");
}
/**
* A managed firewall domain list, which AWS owns, is checked on the ARN Route 53 Resolver gives it, so a grant on
* the ARN ListFirewallDomainLists returns lets the caller read that list.
*/
@Test
void aManagedRoute53ResolverDomainListIsCheckedOnTheArnTheServiceGivesIt() {
String id = adminJson("route53resolver", "Route53Resolver.ListFirewallDomainLists").body("{}").post("/")
.then().statusCode(200).extract().path("FirewallDomainLists.find { it.ManagedOwnerName != null }.Id");
String arn = adminJson("route53resolver", "Route53Resolver.ListFirewallDomainLists").body("{}").post("/")
.then().statusCode(200).extract()
.path("FirewallDomainLists.find { it.Id == '" + id + "' }.Arn");
User user = user("res-resolver-managed");
user.policy(allowOn("route53resolver:GetFirewallDomainList", arn));
send(user, "route53resolver", "Route53Resolver.GetFirewallDomainList", "1.1",
"{\"FirewallDomainListId\":\"" + id + "\"}").statusCode(200);
}
/** A firewall domain list of the name, created as the admin and deleted after the test; its id. */
private String domainList(String name) {
String id = adminJson("route53resolver", "Route53Resolver.CreateFirewallDomainList")
.body("{\"CreatorRequestId\":\"" + name + "\",\"Name\":\"" + name + "\"}")
.post("/").then().statusCode(200).extract().path("FirewallDomainList.Id");
cleanup.register(() -> adminJson("route53resolver", "Route53Resolver.DeleteFirewallDomainList")
.body("{\"FirewallDomainListId\":\"" + id + "\"}").post("/"));
return id;
}
private static ValidatableResponse glue(String operation, String body) {
return adminJson("glue", "AWSGlue." + operation).body(body).post("/").then();
}
@@ -2092,6 +2092,30 @@ class ResourceArnBuilderTest {
builder.buildResources("memorydb", "memorydb:DeleteCluster", ctx, "us-east-1", ACCOUNT, "aws"));
}
// ── Route 53 Resolver ───────────────────────────────────────────────────────
/**
* A Route 53 Resolver request is checked on the rule, endpoint or domain list its id names, as {@code <type>/<id>},
* the ARN Route 53 Resolver mints. A DNSSEC configuration's format takes a ResourceId, which the request gives as
* the VPC's id, so the generated table checks the configuration under the VPC's id.
*/
@Test
void route53ResolverChecksTheResourceItsIdNames() {
setJsonBody("{\"ResolverRuleId\":\"rslvr-rr-abc123\"}");
assertEquals(List.of("arn:aws:route53resolver:us-east-1:000000000000:resolver-rule/rslvr-rr-abc123"),
builder.buildResources("route53resolver", "route53resolver:GetResolverRule", ctx, "us-east-1",
ACCOUNT, "aws"));
setJsonBody("{\"ResourceId\":\"vpc-0abc\"}");
assertEquals(List.of("arn:aws:route53resolver:us-east-1:000000000000:resolver-dnssec-config/vpc-0abc"),
builder.buildResources("route53resolver", "route53resolver:GetResolverDnssecConfig", ctx,
"us-east-1", ACCOUNT, "aws"));
// An outpost resolver's create names the Outpost it runs on, another service's ARN, and makes its own.
setJsonBody("{\"Name\":\"edge\",\"OutpostArn\":\"arn:aws:outposts:us-east-1:000000000000:outpost/op-1\"}");
assertEquals(List.of("arn:aws:route53resolver:us-east-1:000000000000:outpost-resolver/*"),
builder.buildResources("route53resolver", "route53resolver:CreateOutpostResolver", ctx, "us-east-1",
ACCOUNT, "aws"));
}
// ── S3 and S3 Control ───────────────────────────────────────────────────────
/** The resources an S3 or S3 Control request names, read from the generated table on the route it matches. */
+20 -6
View File
@@ -362,7 +362,7 @@ NAMESPACES = ("access-analyzer", "account", "acm", "application-autoscaling", "a
"servicequotas", "ssm", "sso", "states", "textract", "timestream-influxdb", "translate", "signer", "xray",
"securityhub", "guardduty", "secretsmanager", "scheduler", "lambda", "cloudformation", "glue",
"sqs", "sns", "kinesis", "pipes", "dsql", "sts", "eks", "resource-groups", "logs", "cloudwatch",
"comprehend", "config", "dms", "elasticache", "identitystore", "memorydb",
"comprehend", "config", "dms", "elasticache", "identitystore", "memorydb", "route53resolver",
"ec2-instance-connect", "s3", "bedrock", "apigateway", "kms", "dynamodb", "iam")
# ---------------------------------------------------------------------------------------------------------------------
@@ -633,7 +633,6 @@ NOT_COVERED: dict[str, str] = {
"network-firewall": _LATER,
"organizations": _LATER,
"rds-data": _REST,
"route53resolver": _LATER,
"rum": _REST,
"sagemaker": _LATER,
"servicecatalog": "not read yet: CreatePortfolioShare, UpdatePortfolioShare and DeletePortfolioShare give in "
@@ -2244,10 +2243,13 @@ def compatible(member: str, variable: str) -> bool:
def resources_for(operation: str, types: list[str], formats: dict[str, str], members: dict[str, str],
arn_members: set[str] | None = None, labels: dict[str, str] | None = None,
shapes: dict[str, str] | None = None, aliased: set[str] | None = None) -> list[dict]:
shapes: dict[str, str] | None = None, aliased: set[str] | None = None,
foreign: set[str] | None = None) -> list[dict]:
"""The resources the rule finds the operation's request naming, as vendored entries. `labels` gives the path
segment before each bare member a REST request carries as a path label, stemmed (`path_labels`), and `shapes` the
botocore shape each member holds (`member_shapes`)."""
segment before each bare member a REST request carries as a path label, stemmed (`path_labels`), `shapes` the
botocore shape each member holds (`member_shapes`), and `foreign` the members holding another service's ARN
(`foreign_arn_members`), which name nothing of the namespace."""
members = {member: path for member, path in members.items() if member not in (foreign or set())}
name = operation.split(":", 1)[1]
created = stem(CREATING_RE.sub("", name)) if CREATING_RE.match(name) else None
subject = stem(SUBJECT_RE.sub("", name))
@@ -3761,6 +3763,17 @@ def with_formats(resources: list[dict], operation: str, types: list[str], senten
return found
def foreign_arn_members(models: dict[str, dict], operation: str, formats: dict[str, str]) -> set[str]:
"""The top-level members of the operation's request whose botocore pattern is the ARN of a service other than the
namespace's (Route 53 Resolver's CreateOutpostResolver `OutpostArn`, `^arn:aws([a-z-]+)?:outposts:...`): they hold
no resource of the namespace, whatever their name shares with one of its types, so the rules read the request
without them."""
services = {fmt.split(":")[2] for fmt in formats.values()}
return {member for member, patterns in string_patterns(models, operation).items()
if any(pattern and (service := PATTERN_SERVICE_RE.match(pattern)) and service.group(1) not in services
for pattern in patterns)}
def read_resources(operation: str, types: list[str], formats: dict[str, str], models: dict[str, dict]) -> list[dict]:
"""The resources the rules read from the request of the clients given."""
name = operation.split(":", 1)[1]
@@ -3775,7 +3788,8 @@ def read_resources(operation: str, types: list[str], formats: dict[str, str], mo
resources = with_through(with_found(with_parent_ids(resources_for(operation, types, formats, members,
arn_members, labels,
member_shapes(models, name),
alias_members(models, name)),
alias_members(models, name),
foreign_arn_members(models, name, formats)),
formats, types, members),
types, formats, members, found_keys(models, formats),
requested_members(models)),
@@ -695,6 +695,25 @@ def test_the_vendored_reference_gives_the_types_an_action_requires():
r.required_types("identitystore:DeleteGroupMembership", ["Group", "GroupMembership", "Identitystore"])
def test_a_member_holding_another_services_arn_names_nothing_of_the_namespace(tmp_path):
# Route 53 Resolver's CreateOutpostResolver names the Outpost it runs on in its OutpostArn, an outposts ARN, whose
# name begins its own outpost resolver's.
service = model({"CreateOutpostResolver": {"Name": "String", "OutpostArn": "OutpostArn",
"ResolverArn": "ResolverArn"}})
service["shapes"]["OutpostArn"] = {"type": "string",
"pattern": "^arn:aws([a-z-]+)?:outposts:[a-z\\d-]+:\\d{12}:outpost/.+"}
service["shapes"]["ResolverArn"] = {"type": "string", "pattern": "^arn:aws([a-z-]+)?:svc:[a-z\\d-]+:\\d{12}:.+"}
write_models(tmp_path, {"svc": service})
models = r.load_models(tmp_path, {"svc"})
formats = {"outpost-resolver": "arn:${Partition}:svc:${Region}:${Account}:outpost-resolver/${ResourceId}"}
assert r.foreign_arn_members(models, "CreateOutpostResolver", formats) == {"OutpostArn"}
members = {"Name": "Name", "OutpostArn": "OutpostArn"}
assert r.resources_for("svc:CreateOutpostResolver", ["outpost-resolver"], formats, members) == [
{"types": ["outpost-resolver"], "arn": "OutpostArn"}]
assert r.resources_for("svc:CreateOutpostResolver", ["outpost-resolver"], formats, members,
foreign={"OutpostArn"}) == [{"type": "outpost-resolver", "fill": {}}]
def test_a_member_named_after_a_type_and_its_variable_fills_that_type():
# MemoryDB's cluster and multi-Region cluster both name their variable ClusterName.
formats = {"cluster": "arn:${Partition}:svc:${Region}:${Account}:cluster/${ClusterName}",
@@ -1482,6 +1501,13 @@ def test_the_vendored_file_is_well_formed():
# MemoryDB is read whole: a cluster, ACL or user by its name.
assert "memorydb" in document["namespaces"] and "memorydb" not in document["notCovered"]
assert operations["memorydb:DeleteACL"]["resources"] == [{"type": "acl", "fill": {"AclName": "ACLName"}}]
# Route 53 Resolver is read whole: a rule, an endpoint or a domain list by the id its request names.
assert "route53resolver" in document["namespaces"] and "route53resolver" not in document["notCovered"]
assert operations["route53resolver:GetResolverRule"]["resources"] == [
{"type": "resolver-rule", "fill": {"ResourceId": "ResolverRuleId"}}]
# CreateOutpostResolver's OutpostArn is an Outpost's ARN, so it holds no resolver: it makes its own, id open.
assert operations["route53resolver:CreateOutpostResolver"]["resources"] == [
{"type": "outpost-resolver", "fill": {}}]
# A scalable target is found by the three members naming it, its ARN ending in the id the service mints.
assert operations["application-autoscaling:DeregisterScalableTarget"]["resources"] == [
{"type": "ScalableTarget", "fill": {}, "find": ["ServiceNamespace", "ResourceId", "ScalableDimension"]}]