diff --git a/compatibility-tests/sdk-test-java/src/test/java/com/floci/test/S3TablesTest.java b/compatibility-tests/sdk-test-java/src/test/java/com/floci/test/S3TablesTest.java index eeb13feee0..624f1eb98d 100644 --- a/compatibility-tests/sdk-test-java/src/test/java/com/floci/test/S3TablesTest.java +++ b/compatibility-tests/sdk-test-java/src/test/java/com/floci/test/S3TablesTest.java @@ -21,6 +21,7 @@ class S3TablesTest { private static String bucketArn; private static String tableName; private static String versionToken; + private static String tableArn; private static final String NAMESPACE = "analytics"; @BeforeAll @@ -93,7 +94,9 @@ class S3TablesTest { .tags(Map.of("suite", "sdk-java")) .build()); versionToken = table.versionToken(); - assertThat(table.tableARN()).isEqualTo(bucketArn + "/table/" + tableName); + // AWS ends a table's ARN in an id it mints, not the table's name. + tableArn = table.tableARN(); + assertThat(tableArn).startsWith(bucketArn + "/table/").isNotEqualTo(bucketArn + "/table/" + tableName); assertThat(versionToken).isNotBlank(); GetTableResponse fetched = client.getTable(GetTableRequest.builder() @@ -198,6 +201,7 @@ class S3TablesTest { GetTableResponse renamed = client.getTable(GetTableRequest.builder() .tableBucketARN(bucketArn).namespace(NAMESPACE).name(renamedTableName).build()); assertThat(renamed.name()).isEqualTo(renamedTableName); + assertThat(renamed.tableARN()).isEqualTo(tableArn); assertThat(renamed.versionToken()).isNotEqualTo(originalToken); assertThatThrownBy(() -> client.getTable(GetTableRequest.builder() .tableBucketARN(bucketArn).namespace(NAMESPACE).name(tableName).build())) diff --git a/compatibility-tests/sdk-test-node/tests/s3tables.test.ts b/compatibility-tests/sdk-test-node/tests/s3tables.test.ts index beebd4ce7a..36a784c9a6 100644 --- a/compatibility-tests/sdk-test-node/tests/s3tables.test.ts +++ b/compatibility-tests/sdk-test-node/tests/s3tables.test.ts @@ -38,6 +38,7 @@ describe('S3 Tables lifecycle', () => { const namespace = 'analytics'; let tableName = uniqueName('events'); let versionToken: string; + let tableArn: string; beforeAll(() => { client = makeClient(S3TablesClient); @@ -77,7 +78,10 @@ describe('S3 Tables lifecycle', () => { tags: { suite: 'sdk-node' }, })); versionToken = table.versionToken!; - expect(table.tableARN).toBe(`${bucketArn}/table/${tableName}`); + // AWS ends a table's ARN in an id it mints, not the table's name. + tableArn = table.tableARN!; + expect(tableArn.startsWith(`${bucketArn}/table/`)).toBe(true); + expect(tableArn).not.toBe(`${bucketArn}/table/${tableName}`); }); it('gets resources and applies list prefixes', async () => { @@ -95,7 +99,7 @@ describe('S3 Tables lifecycle', () => { const tables = await client.send(new ListTablesCommand({ tableBucketARN: bucketArn, namespace, prefix: 'events' })); expect(tables.tables?.some((table) => table.name === tableName)).toBe(true); const table = await client.send(new GetTableCommand({ tableBucketARN: bucketArn, namespace, name: tableName })); - expect(table.tableARN).toBe(`${bucketArn}/table/${tableName}`); + expect(table.tableARN).toBe(tableArn); }); it('round-trips policies and metadata version tokens', async () => { @@ -170,6 +174,7 @@ describe('S3 Tables lifecycle', () => { name: renamedTableName, })); expect(renamed.name).toBe(renamedTableName); + expect(renamed.tableARN).toBe(tableArn); expect(renamed.versionToken).not.toBe(originalToken); await expect(client.send(new GetTableCommand({ tableBucketARN: bucketArn, namespace, name: tableName }))) .rejects.toBeInstanceOf(NotFoundException); diff --git a/docs/services/s3tables.md b/docs/services/s3tables.md index acc9a7f66e..b529f20505 100644 --- a/docs/services/s3tables.md +++ b/docs/services/s3tables.md @@ -23,6 +23,13 @@ table's storage, not a general purpose bucket, so `ListBuckets` leaves it out. F snapshot expiry, replication, encryption management, and metrics are outside this implementation. +A table's ARN ends in an id Floci mints when it creates the table +(`arn:aws:s3tables:::bucket//table/`), as AWS's +do, so two tables of one name in different namespaces have their own ARNs, and +a rename keeps it. `GetTable` takes either `tableArn` or the table bucket's +ARN, namespace and name. A table created by an earlier Floci keeps the ARN it +was stored with, which ends in its name. + ## Supported operations | Area | Operations | diff --git a/src/main/java/io/floci/aws/core/common/RequestResourceMembers.java b/src/main/java/io/floci/aws/core/common/RequestResourceMembers.java index ca363071aa..7c3182c588 100644 --- a/src/main/java/io/floci/aws/core/common/RequestResourceMembers.java +++ b/src/main/java/io/floci/aws/core/common/RequestResourceMembers.java @@ -55,6 +55,8 @@ final class RequestResourceMembers { private static final Pattern LOCATION = Pattern.compile("\\{[A-Za-z0-9_]+}|\\?[A-Za-z0-9_.-]+"); /** The one id a child type's format appends to its parent's. */ private static final Pattern APPENDED_ID = Pattern.compile("[/:]\\$\\{\\w+}"); + /** A word of a child type's own and one id, which its format appends to its parent's whole resource. */ + private static final Pattern NESTED_ID = Pattern.compile("[/:][A-Za-z][A-Za-z0-9-]*[/:]\\$\\{\\w+}"); /** The keys a resource found by members does not take: it is read no other way. */ private static final List FOUND_ONLY = List.of("arnOf", "fixed"); /** The keys of a resource read from a member holding its ARN. */ @@ -273,9 +275,11 @@ final class RequestResourceMembers { /** * A resource a create makes under a parent its action acts on, from a member holding the parent's ARN: the * parent's resource with its leading type word {@code parentWord} replaced by {@code childWord} and an open - * id appended after {@code separator} ({@code listener/app///*} under {@code loadbalancer/app/...}). + * id appended after {@code infix} ({@code listener/app///*} under {@code loadbalancer/app/...}, infix + * {@code /}), or the parent's whole resource with a word of the child's own before the open id + * ({@code bucket//table/*} under {@code bucket/}, infix {@code /table/}). */ - record Created(String type, String parent, Member arn, String parentWord, String childWord, String separator) { + record Created(String type, String parent, Member arn, String parentWord, String childWord, String infix) { } /** An ordered heterogeneous id list; unsupported ids retain wildcard authorization. */ @@ -783,15 +787,18 @@ final class RequestResourceMembers { String parent = created.path("parent").asText(""); Matcher child = formats.containsKey(type) ? RESOURCE_PART.matcher(formats.get(type).format()) : null; Matcher under = formats.containsKey(parent) ? RESOURCE_PART.matcher(formats.get(parent).format()) : null; + boolean nested = child != null && under != null && child.matches() && under.matches() + && child.group(1).equals(under.group(1)); if (child == null || under == null || !child.matches() || !under.matches() - || child.group(1).equals(under.group(1)) || !child.group(2).startsWith(under.group(2)) - || !APPENDED_ID.matcher(child.group(2).substring(under.group(2).length())).matches()) { + || !child.group(2).startsWith(under.group(2)) + || !(nested ? NESTED_ID : APPENDED_ID).matcher(child.group(2).substring(under.group(2).length())) + .matches()) { throw new IllegalStateException(RESOURCE_NAME + " creates a " + type + " for " + operation + " under a " + parent + ", no parent of it"); } - String separator = child.group(2).substring(under.group(2).length(), under.group(2).length() + 1); + String appended = child.group(2).substring(under.group(2).length()); return new Created(type, parent, member(operation, created.path("arn").asText("")), under.group(1), - child.group(1), separator); + child.group(1), appended.substring(0, appended.indexOf("${"))); } private static Member member(String operation, String path) { diff --git a/src/main/java/io/floci/aws/core/common/RequestResources.java b/src/main/java/io/floci/aws/core/common/RequestResources.java index 10dc30fd4f..59626a0efc 100644 --- a/src/main/java/io/floci/aws/core/common/RequestResources.java +++ b/src/main/java/io/floci/aws/core/common/RequestResources.java @@ -367,7 +367,7 @@ public final class RequestResources { AwsArnUtils.Arn parent = AwsArnUtils.parse(parentFormat.checked(named)); String under = parent.resource().substring(created.parentWord().length()); addNamed(arns, new AwsArnUtils.Arn(parent.partition(), parent.service(), parent.region(), - parent.accountId(), created.childWord() + under + created.separator() + "*").toString(), + parent.accountId(), created.childWord() + under + created.infix() + "*").toString(), false, partition, region, accountId, null); } } diff --git a/src/main/java/io/floci/aws/services/s3tables/S3TablesController.java b/src/main/java/io/floci/aws/services/s3tables/S3TablesController.java index 94a0040c81..b3b107ffc0 100644 --- a/src/main/java/io/floci/aws/services/s3tables/S3TablesController.java +++ b/src/main/java/io/floci/aws/services/s3tables/S3TablesController.java @@ -155,8 +155,15 @@ public class S3TablesController { @GET @Path("/get-table") public Response getTable(@Context HttpHeaders headers, @QueryParam("tableBucketARN") String tableBucketArn, - @QueryParam("namespace") String namespace, @QueryParam("name") String name) { - return Response.ok(tableRepresentation(service.getTable(decode(tableBucketArn), namespace, name, region(headers)))).build(); + @QueryParam("namespace") String namespace, @QueryParam("name") String name, + @QueryParam("tableArn") String tableArn) { + // A table ARN names the table whatever else the request gives, as IAM checks the request on it. Query + // parameters arrive decoded, as IAM reads them, so they are not decoded again: a double-encoded ARN would + // name one table to IAM and another here. + S3Table table = tableArn != null + ? service.getTableByArn(tableArn, region(headers)) + : service.getTable(tableBucketArn, namespace, name, region(headers)); + return Response.ok(tableRepresentation(table)).build(); } @GET diff --git a/src/main/java/io/floci/aws/services/s3tables/S3TablesService.java b/src/main/java/io/floci/aws/services/s3tables/S3TablesService.java index d4ef63639b..1a825f5f99 100644 --- a/src/main/java/io/floci/aws/services/s3tables/S3TablesService.java +++ b/src/main/java/io/floci/aws/services/s3tables/S3TablesService.java @@ -21,12 +21,14 @@ import java.util.Comparator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; +import java.util.Optional; import java.util.UUID; @ApplicationScoped public class S3TablesService { private static final Logger LOG = Logger.getLogger(S3TablesService.class); private static final String BUCKET_PREFIX = "bucket/"; + private static final String TABLE_INFIX = "/table/"; private static final int LIST_PAGE_SIZE = 1000; private final StorageBackend store; @@ -124,7 +126,9 @@ public class S3TablesService { if (namespace.getTables().containsKey(name)) { throw conflict("The table already exists."); } - S3Table table = new S3Table(name, bucket.getArn() + "/table/" + name, namespaceName, format, + // AWS ends a table's ARN in an id it mints, not the table's name, so tables of one name in two namespaces + // differ, and a rename keeps it. + S3Table table = new S3Table(name, bucket.getArn() + TABLE_INFIX + UUID.randomUUID(), namespaceName, format, versionToken(), metadataLocation(metadata), now(), regionResolver.getAccountId(), metadata, encryptionConfiguration, storageClassConfiguration, tags); table.setWarehouseLocation(createWarehouse(region)); @@ -146,6 +150,43 @@ public class S3TablesService { return table; } + /** + * The table {@code tableArn} names, as {@code GetTable} reads it when given one: in the table bucket the ARN's + * resource starts with, whichever namespace holds it. A table persisted before ARNs ended in a minted id keeps + * the name-based ARN it was stored with, and is found by it. + */ + public synchronized S3Table getTableByArn(String tableArn, String region) { + int infix = tableArn == null ? -1 : tableArn.lastIndexOf(TABLE_INFIX); + if (infix < 0) { + throw notFound("The table does not exist."); + } + TableBucket bucket = getTableBucket(tableArn.substring(0, infix), region); + S3Table table = bucket.getNamespaces().values().stream() + .flatMap(namespace -> namespace.getTables().values().stream()) + .filter(candidate -> tableArn.equals(candidate.getArn())) + .findFirst() + .orElseThrow(() -> notFound("The table does not exist.")); + withWarehouses(bucket, List.of(table), region); + return table; + } + + /** + * The ARN of the table a request names by its table bucket's ARN, its namespace and its name, as IAM asks for it + * before the handler runs; empty when there is no such table. Reads only: a table without a warehouse yet keeps + * it so. + */ + public synchronized Optional tableArn(String tableBucketArn, String namespaceName, String name, + String region) { + try { + return Optional.of(getTable(getTableBucket(tableBucketArn, region), namespaceName, name).getArn()); + } catch (AwsException e) { + if (!"NotFoundException".equals(e.getErrorCode())) { + throw e; + } + return Optional.empty(); + } + } + public synchronized List listTables(String tableBucketArn, String namespaceName, String prefix, String region) { TableBucket bucket = getTableBucket(tableBucketArn, region); List tables = new ArrayList<>(); @@ -261,7 +302,6 @@ public class S3TablesService { sourceNamespace.getTables().remove(name); table.setNamespace(targetNamespaceName); table.setName(targetName); - table.setArn(bucket.getArn() + "/table/" + targetName); touch(table); targetNamespace.getTables().put(targetName, table); persist(bucket, region); diff --git a/src/main/java/io/floci/aws/services/s3tables/S3TablesStoredResourceArns.java b/src/main/java/io/floci/aws/services/s3tables/S3TablesStoredResourceArns.java new file mode 100644 index 0000000000..b7dd4baa65 --- /dev/null +++ b/src/main/java/io/floci/aws/services/s3tables/S3TablesStoredResourceArns.java @@ -0,0 +1,37 @@ +package io.floci.aws.services.s3tables; + +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 S3 Tables of the resources a request names: the table a request names by its table bucket's ARN, its + * namespace and its name, whose ARN AWS ends in an id the service mints and Floci in the table's name, so only the + * stored table gives it. + */ +@ApplicationScoped +public class S3TablesStoredResourceArns implements StoredResourceArns { + + private final S3TablesService s3TablesService; + + @Inject + public S3TablesStoredResourceArns(S3TablesService s3TablesService) { + this.s3TablesService = s3TablesService; + } + + @Override + public String namespace() { + return "s3tables"; + } + + @Override + public Optional find(String type, List names, String region) { + if (!"Table".equals(type) || names.size() != 3) { + return Optional.empty(); + } + return s3TablesService.tableArn(names.get(0), names.get(1), names.get(2), region); + } +} diff --git a/src/main/resources/aws/iam-authorized-actions.json b/src/main/resources/aws/iam-authorized-actions.json index 95331074f6..7d4546835c 100644 --- a/src/main/resources/aws/iam-authorized-actions.json +++ b/src/main/resources/aws/iam-authorized-actions.json @@ -1034,6 +1034,9 @@ "ListTrafficPolicyInstances", "TestDNSAnswer" ], + "s3tables": [ + "ListTableBuckets" + ], "scheduler": [ "ListScheduleGroups", "ListSchedules", diff --git a/src/main/resources/aws/iam-passed-roles.json b/src/main/resources/aws/iam-passed-roles.json index 95345a1869..a9fc0fcfbd 100644 --- a/src/main/resources/aws/iam-passed-roles.json +++ b/src/main/resources/aws/iam-passed-roles.json @@ -1,7 +1,7 @@ { "_source": {"generator": "tools/aws/regen_iam_passed_roles.py", "reference": "https://servicereference.us-east-1.amazonaws.com/", "botocore": "botocore 1.43.118 (installed package)", "retrieved": "2026-11-13", "note": "make iam-passed-roles-check re-derives every member from botocore; make iam-passed-roles-verify checks every operation against AWS."}, - "namespaces": {"application-autoscaling": ["application-autoscaling"], "athena": ["athena"], "autoscaling": ["autoscaling"], "budgets": ["budgets"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codebuild": ["codebuild"], "codedeploy": ["codedeploy"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "config": ["config"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "ec2": ["ec2"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticmapreduce": ["emr"], "emr-serverless": ["emr-serverless"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "glue": ["glue"], "iam": ["iam"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "pipes": ["pipes"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-groups": ["resource-groups"], "s3": ["s3", "s3control"], "sagemaker": ["sagemaker"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "servicecatalog": ["servicecatalog"], "ses": ["mailmanager", "pinpoint-email", "ses", "sesv2"], "sns": ["sns"], "ssm": ["ssm"], "states": ["stepfunctions"], "swf": ["swf"], "textract": ["textract"], "transcribe": ["transcribe"], "transfer": ["transfer"], "translate": ["translate"]}, - "notCovered": {"access-analyzer": "REST routes no rule maps yet", "airflow": "REST routes no rule maps yet", "apigateway": "authorized by HTTP method, so no request is checked as one of these operations", "appconfig": "REST routes no rule maps yet", "appsync": "REST routes no rule maps yet", "aps": "REST routes no rule maps yet", "aws-marketplace": "REST routes no rule maps yet", "backup": "REST routes no rule maps yet", "batch": "REST routes no rule maps yet", "bedrock": "REST routes no rule maps yet", "bedrock-agentcore": "REST routes no rule maps yet", "cloudfront": "REST routes no rule maps yet", "dlm": "REST routes no rule maps yet", "elasticfilesystem": "REST routes no rule maps yet", "es": "REST routes no rule maps yet", "fis": "REST routes no rule maps yet", "guardduty": "REST routes no rule maps yet", "iot": "REST routes no rule maps yet", "kafka": "REST routes no rule maps yet", "macie2": "REST routes no rule maps yet", "mq": "REST routes no rule maps yet", "quicksight": "metadata-only REST subset; role passing and iam:PassRole checks are not implemented", "rum": "REST routes no rule maps yet", "s3tables": "REST routes no rule maps yet"}, + "namespaces": {"application-autoscaling": ["application-autoscaling"], "athena": ["athena"], "autoscaling": ["autoscaling"], "budgets": ["budgets"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codebuild": ["codebuild"], "codedeploy": ["codedeploy"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "config": ["config"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "ec2": ["ec2"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticmapreduce": ["emr"], "emr-serverless": ["emr-serverless"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "glue": ["glue"], "iam": ["iam"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "pipes": ["pipes"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-groups": ["resource-groups"], "s3": ["s3", "s3control"], "s3tables": ["s3tables"], "sagemaker": ["sagemaker"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "servicecatalog": ["servicecatalog"], "ses": ["mailmanager", "pinpoint-email", "ses", "sesv2"], "sns": ["sns"], "ssm": ["ssm"], "states": ["stepfunctions"], "swf": ["swf"], "textract": ["textract"], "transcribe": ["transcribe"], "transfer": ["transfer"], "translate": ["translate"]}, + "notCovered": {"access-analyzer": "REST routes no rule maps yet", "airflow": "REST routes no rule maps yet", "apigateway": "authorized by HTTP method, so no request is checked as one of these operations", "appconfig": "REST routes no rule maps yet", "appsync": "REST routes no rule maps yet", "aps": "REST routes no rule maps yet", "aws-marketplace": "REST routes no rule maps yet", "backup": "REST routes no rule maps yet", "batch": "REST routes no rule maps yet", "bedrock": "REST routes no rule maps yet", "bedrock-agentcore": "REST routes no rule maps yet", "cloudfront": "REST routes no rule maps yet", "dlm": "REST routes no rule maps yet", "elasticfilesystem": "REST routes no rule maps yet", "es": "REST routes no rule maps yet", "fis": "REST routes no rule maps yet", "guardduty": "REST routes no rule maps yet", "iot": "REST routes no rule maps yet", "kafka": "REST routes no rule maps yet", "macie2": "REST routes no rule maps yet", "mq": "REST routes no rule maps yet", "quicksight": "metadata-only REST subset; role passing and iam:PassRole checks are not implemented", "rum": "REST routes no rule maps yet"}, "otherNamespaces": ["agent-registry", "aidevops", "aiops", "airflow-serverless", "amplify", "aoss", "appflow", "appmesh", "apprunner", "appstream", "arc-region-switch", "backup-gateway", "backup-search", "bcm-dashboards", "braket", "chatbot", "chime", "cleanrooms", "cleanrooms-ml", "codeconnections", "codestar-connections", "cognito-sync", "comprehendmedical", "databrew", "dataexchange", "datapipeline", "datazone", "dax", "deadline", "devicefarm", "elemental-inference", "emr-containers", "entityresolution", "fms", "forecast", "frauddetector", "gamelift", "gameliftstreams", "geo", "grafana", "greengrass", "groundstation", "health-agent", "healthlake", "imagebuilder", "iotdeviceadvisor", "iotfleetwise", "iotmanagedintegrations", "iotsitewise", "iottwinmaker", "iotwireless", "kafkaconnect", "kendra", "lex", "lookoutequipment", "m2", "machinelearning", "mediaconnect", "mediaconvert", "medialive", "mediapackage", "mediapackage-vod", "mediapackagev2", "mediastore", "medical-imaging", "mobiletargeting", "neptune-graph", "observabilityadmin", "odb", "omics", "opensearch", "osis", "partnercentral", "pcs", "personalize", "profile", "proton", "qbusiness", "repostspace", "resiliencehub", "rolesanywhere", "s3files", "sagemaker-geospatial", "securityagent", "securitylake", "shield", "sms-voice", "snowball", "social-messaging", "ssm-incidents", "ssm-quicksetup", "storagegateway", "supportapp", "synthetics", "timestream", "voiceid", "wellarchitected", "wisdom", "workmail", "workspaces"], "operations": { "application-autoscaling:RegisterScalableTarget": {"passedTo": ["application-autoscaling"], "byHand": "the scalable target's role"}, @@ -732,6 +732,14 @@ ]}, "s3:CreateAccessGrantsLocation": {"passedTo": [], "notRead": "the request body is XML, which PassedRoles does not read"}, "s3:PutBucketReplication": {"passedTo": ["s3"], "notRead": "the request body is XML, which PassedRoles does not read"}, + "s3tables:PutTableBucketReplication": {"passedTo": ["replication.s3tables"], "roles": [ + {"member": "configuration.role", "passedTo": "replication.s3tables"} + ]}, + "s3tables:PutTableReplication": {"passedTo": ["replication.s3tables"], "roles": [ + {"member": "configuration.role", "passedTo": "replication.s3tables"} + ]}, + "s3tables:StartTableMigration": {"passedTo": ["migration.s3tables"], "notRead": "the pinned botocore does not have the operation yet, so its request cannot be read"}, + "s3tables:SyncTableMigration": {"passedTo": ["migration.s3tables"], "notRead": "the pinned botocore does not have the operation yet, so its request cannot be read"}, "sagemaker:CreateAIBenchmarkJob": {"passedTo": ["sagemaker"], "roles": [ {"member": "RoleArn", "passedTo": "sagemaker"} ]}, diff --git a/src/main/resources/aws/iam-request-resources.json b/src/main/resources/aws/iam-request-resources.json index b7db9d1d5c..065dad321f 100644 --- a/src/main/resources/aws/iam-request-resources.json +++ b/src/main/resources/aws/iam-request-resources.json @@ -1,11 +1,11 @@ { "_source": {"generator": "tools/aws/regen_iam_request_resources.py", "reference": "https://servicereference.us-east-1.amazonaws.com/", "botocore": "botocore 1.43.118 (installed package)", "retrieved": "2026-11-15", "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"], "application-autoscaling": ["application-autoscaling"], "athena": ["athena"], "bcm-data-exports": ["bcm-data-exports"], "bcm-pricing-calculator": ["bcm-pricing-calculator"], "budgets": ["budgets"], "ce": ["ce"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudfront": ["cloudfront"], "cloudfront-keyvaluestore": ["cloudfront-keyvaluestore"], "cloudtrail": ["cloudtrail"], "codebuild": ["codebuild"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dynamodb": ["dynamodb"], "ec2": ["ec2"], "ecr": ["ecr"], "ecs": ["ecs"], "elasticloadbalancing": ["elb", "elbv2"], "elasticmapreduce": ["emr"], "emr-serverless": ["emr-serverless"], "es": ["es", "opensearch"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "fis": ["fis"], "globalaccelerator": ["globalaccelerator"], "guardduty": ["guardduty"], "inspector2": ["inspector2"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "macie2": ["macie2"], "oam": ["oam"], "payment-cryptography": ["payment-cryptography", "payment-cryptography-data"], "quicksight": ["quicksight"], "ram": ["ram"], "redshift": ["redshift"], "redshift-data": ["redshift-data"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "route53": ["route53"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "servicequotas": ["service-quotas"], "signer": ["signer", "signer-data"], "ssm": ["ssm"], "sso": ["sso", "sso-admin"], "states": ["stepfunctions"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "translate": ["translate"], "xray": ["xray"]}, + "namespaces": {"access-analyzer": ["accessanalyzer"], "account": ["account"], "acm": ["acm"], "application-autoscaling": ["application-autoscaling"], "athena": ["athena"], "bcm-data-exports": ["bcm-data-exports"], "bcm-pricing-calculator": ["bcm-pricing-calculator"], "budgets": ["budgets"], "ce": ["ce"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudfront": ["cloudfront"], "cloudfront-keyvaluestore": ["cloudfront-keyvaluestore"], "cloudtrail": ["cloudtrail"], "codebuild": ["codebuild"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dynamodb": ["dynamodb"], "ec2": ["ec2"], "ecr": ["ecr"], "ecs": ["ecs"], "elasticloadbalancing": ["elb", "elbv2"], "elasticmapreduce": ["emr"], "emr-serverless": ["emr-serverless"], "es": ["es", "opensearch"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "fis": ["fis"], "globalaccelerator": ["globalaccelerator"], "guardduty": ["guardduty"], "inspector2": ["inspector2"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "macie2": ["macie2"], "oam": ["oam"], "payment-cryptography": ["payment-cryptography", "payment-cryptography-data"], "quicksight": ["quicksight"], "ram": ["ram"], "redshift": ["redshift"], "redshift-data": ["redshift-data"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "route53": ["route53"], "s3tables": ["s3tables"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "servicequotas": ["service-quotas"], "signer": ["signer", "signer-data"], "ssm": ["ssm"], "sso": ["sso", "sso-admin"], "states": ["stepfunctions"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "translate": ["translate"], "xray": ["xray"]}, "handBuilt": ["apigateway", "bedrock", "dsql", "dynamodb", "eks", "iam", "kinesis", "kms", "logs", "pipes", "resource-groups", "s3", "sns", "sqs", "sts"], - "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", "aps": "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::autoScalingGroupName/`, while Floci mints `autoScalingGroup:`, 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", "cloudwatch": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "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/_, 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", "comprehend": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "config": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "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", "dms": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "ec2-instance-connect": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticache": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticbeanstalk": "not read yet: an environment's ARN carries its application's name, `environment//`, 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", "glue": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "identitystore": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "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", "memorydb": "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_rest_routes.MODELS), which do not have its model yet", "network-firewall": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "organizations": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "rds": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "rds-data": "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", "route53resolver": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "rum": "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", "s3tables": "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", "s3vectors": "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", "sagemaker": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "servicecatalog": "not read yet: CreatePortfolioShare, UpdatePortfolioShare and DeletePortfolioShare give in AccountId the account a portfolio is shared with, which the rule reads as the portfolio's; a portfolio or product imported from another account keeps its owner's account in its ARN while requests name it by its id alone; and AppRegistry's applications and attribute groups are named in the path", "ses": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "signin": "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", "sso-oauth": "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", "swf": "not read yet: the Service Reference gives a domain's ARN no Region, `swf:::/domain/`, while the SWF Developer Guide gives it as arn:aws:swf:Region:AccountID:/domain/DomainName, as Floci mints it; reading it needs that format corrected", "transcribe": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "transfer": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "verifiedpermissions": "not read yet: a policyStoreId may name its store by an alias, `policy-store-alias/`, which AWS authorizes as the action on the store the alias points to and GetPolicyStoreAlias on the alias, and an aliasName carries the `policy-store-alias/` its format already gives; reading it needs both", "wafv2": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint"}, + "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", "aps": "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::autoScalingGroupName/`, while Floci mints `autoScalingGroup:`, 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", "cloudwatch": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "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/_, 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", "comprehend": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "config": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "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", "dms": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "ec2-instance-connect": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticache": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticbeanstalk": "not read yet: an environment's ARN carries its application's name, `environment//`, 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", "glue": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "identitystore": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "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", "memorydb": "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_rest_routes.MODELS), which do not have its model yet", "network-firewall": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "organizations": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "rds": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "rds-data": "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", "route53resolver": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "rum": "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", "s3vectors": "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", "sagemaker": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "servicecatalog": "not read yet: CreatePortfolioShare, UpdatePortfolioShare and DeletePortfolioShare give in AccountId the account a portfolio is shared with, which the rule reads as the portfolio's; a portfolio or product imported from another account keeps its owner's account in its ARN while requests name it by its id alone; and AppRegistry's applications and attribute groups are named in the path", "ses": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "signin": "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", "sso-oauth": "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", "swf": "not read yet: the Service Reference gives a domain's ARN no Region, `swf:::/domain/`, while the SWF Developer Guide gives it as arn:aws:swf:Region:AccountID:/domain/DomainName, as Floci mints it; reading it needs that format corrected", "transcribe": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "transfer": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "verifiedpermissions": "not read yet: a policyStoreId may name its store by an alias, `policy-store-alias/`, which AWS authorizes as the action on the store the alias points to and GetPolicyStoreAlias on the alias, and an aliasName carries the `policy-store-alias/` its format already gives; reading it needs both", "wafv2": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint"}, "otherNamespaces": ["a4b", "account-access", "acm-pca", "aco-automation", "agent-registry", "aidevops", "aiops", "airflow-serverless", "amplify", "amplifybackend", "amplifyuibuilder", "aoss", "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", "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", "emr-containers", "end-user-messaging", "entityresolution", "evs", "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", "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}"}, "application-autoscaling": {"ScalableTarget": "arn:${Partition}:application-autoscaling:${Region}:${Account}:scalable-target/${ResourceId}"}, "athena": {"capacity-reservation": "arn:${Partition}:athena:${Region}:${Account}:capacity-reservation/${CapacityReservationName}", "datacatalog": "arn:${Partition}:athena:${Region}:${Account}:datacatalog/${DataCatalogName}", "session": "arn:${Partition}:athena:${Region}:${Account}:workgroup/${WorkGroupName}/session/${SessionId}", "system-table": "arn:${Partition}:athena:${Region}:${Account}:system-table/${TableName}", "workgroup": "arn:${Partition}:athena:${Region}:${Account}:workgroup/${WorkGroupName}"}, "bcm-data-exports": {"billingview": "arn:${Partition}:billing::${Account}:billingview/${ResourceId}", "export": "arn:${Partition}:bcm-data-exports:${Region}:${Account}:export/${Identifier}", "table": "arn:${Partition}:bcm-data-exports:${Region}:${Account}:table/${Identifier}"}, "bcm-pricing-calculator": {"bill-estimate": "arn:${Partition}:bcm-pricing-calculator::${Account}:bill-estimate/${BillEstimateId}", "bill-scenario": "arn:${Partition}:bcm-pricing-calculator::${Account}:bill-scenario/${BillScenarioId}", "workload-estimate": "arn:${Partition}:bcm-pricing-calculator::${Account}:workload-estimate/${WorkloadEstimateId}"}, "budgets": {"budget": "arn:${Partition}:budgets::${Account}:budget/${BudgetName}", "budgetAction": "arn:${Partition}:budgets::${Account}:budget/${BudgetName}/action/${ActionId}"}, "ce": {"anomalymonitor": "arn:${Partition}:ce::${Account}:anomalymonitor/${Identifier}", "anomalysubscription": "arn:${Partition}:ce::${Account}:anomalysubscription/${Identifier}", "billingview": "arn:${Partition}:billing::${Account}:billingview/${ResourceId}", "costcategory": "arn:${Partition}:ce::${Account}:costcategory/${Identifier}"}, "cloudformation": {"changeset": "arn:${Partition}:cloudformation:${Region}:${Account}:changeSet/${ChangeSetName}/${Id}", "generatedtemplate": "arn:${Partition}:cloudformation:${Region}:${Account}:generatedTemplate/${Id}", "resourcescan": "arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}", "stack": "arn:${Partition}:cloudformation:${Region}:${Account}:stack/${StackName}/${Id}", "stackset": "arn:${Partition}:cloudformation:${Region}:${Account}:stackset/${StackSetName}:${Id}", "stackset-target": "arn:${Partition}:cloudformation:${Region}:${Account}:stackset-target/${StackSetTarget}", "type": "arn:${Partition}:cloudformation:${Region}:${Account}:type/resource/${Type}", "typeHook": "arn:${Partition}:cloudformation:${Region}:${Account}:type/hook/${Type}"}, "cloudfront": {"anycast-ip-list": "arn:${Partition}:cloudfront::${Account}:anycast-ip-list/${Id}", "cache-policy": "arn:${Partition}:cloudfront::${Account}:cache-policy/${Id}", "connection-function": "arn:${Partition}:cloudfront::${Account}:connection-function/${Id}", "connection-group": "arn:${Partition}:cloudfront::${Account}:connection-group/${Id}", "continuous-deployment-policy": "arn:${Partition}:cloudfront::${Account}:continuous-deployment-policy/${Id}", "distribution": "arn:${Partition}:cloudfront::${Account}:distribution/${DistributionId}", "distribution-tenant": "arn:${Partition}:cloudfront::${Account}:distribution-tenant/${Id}", "field-level-encryption-config": "arn:${Partition}:cloudfront::${Account}:field-level-encryption-config/${Id}", "field-level-encryption-profile": "arn:${Partition}:cloudfront::${Account}:field-level-encryption-profile/${Id}", "function": "arn:${Partition}:cloudfront::${Account}:function/${Name}", "key-value-store": "arn:${Partition}:cloudfront::${Account}:key-value-store/${Name}", "origin-access-control": "arn:${Partition}:cloudfront::${Account}:origin-access-control/${Id}", "origin-access-identity": "arn:${Partition}:cloudfront::${Account}:origin-access-identity/${Id}", "origin-request-policy": "arn:${Partition}:cloudfront::${Account}:origin-request-policy/${Id}", "realtime-log-config": "arn:${Partition}:cloudfront::${Account}:realtime-log-config/${Name}", "response-headers-policy": "arn:${Partition}:cloudfront::${Account}:response-headers-policy/${Id}", "streaming-distribution": "arn:${Partition}:cloudfront::${Account}:streaming-distribution/${DistributionId}", "trust-store": "arn:${Partition}:cloudfront::${Account}:trust-store/${Id}", "vpcorigin": "arn:${Partition}:cloudfront::${Account}:vpcorigin/${Id}"}, "cloudfront-keyvaluestore": {"key-value-store": "arn:${Partition}:cloudfront::${Account}:key-value-store/${ResourceId}"}, "cloudtrail": {"channel": "arn:${Partition}:cloudtrail:${Region}:${Account}:channel/${ChannelId}", "dashboard": "arn:${Partition}:cloudtrail:${Region}:${Account}:dashboard/${DashboardName}", "eventdatastore": "arn:${Partition}:cloudtrail:${Region}:${Account}:eventdatastore/${EventDataStoreId}", "trail": "arn:${Partition}:cloudtrail:${Region}:${Account}:trail/${TrailName}"}, "codebuild": {"build": "arn:${Partition}:codebuild:${Region}:${Account}:build/${BuildId}", "build-batch": "arn:${Partition}:codebuild:${Region}:${Account}:build-batch/${BuildBatchId}", "fleet": "arn:${Partition}:codebuild:${Region}:${Account}:fleet/${FleetName}:${FleetId}", "project": "arn:${Partition}:codebuild:${Region}:${Account}:project/${ProjectName}", "report": "arn:${Partition}:codebuild:${Region}:${Account}:report/${ReportGroupName}:${ReportId}", "report-group": "arn:${Partition}:codebuild:${Region}:${Account}:report-group/${ReportGroupName}", "sandbox": "arn:${Partition}:codebuild:${Region}:${Account}:sandbox/${SandboxId}"}, "codepipeline": {"action": "arn:${Partition}:codepipeline:${Region}:${Account}:${PipelineName}/${StageName}/${ActionName}", "actiontype": "arn:${Partition}:codepipeline:${Region}:${Account}:actiontype:${Owner}/${Category}/${Provider}/${Version}", "pipeline": "arn:${Partition}:codepipeline:${Region}:${Account}:${PipelineName}", "stage": "arn:${Partition}:codepipeline:${Region}:${Account}:${PipelineName}/${StageName}", "webhook": "arn:${Partition}:codepipeline:${Region}:${Account}:webhook:${WebhookName}"}, "cognito-identity": {"identitypool": "arn:${Partition}:cognito-identity:${Region}:${Account}:identitypool/${IdentityPoolId}"}, "cognito-idp": {"userpool": "arn:${Partition}:cognito-idp:${Region}:${Account}:userpool/${UserPoolId}", "webacl": "arn:${Partition}:wafv2:${Region}:${Account}:${Scope}/webacl/${Name}/${Id}"}, "controlcatalog": {"common-control": "arn:${Partition}:controlcatalog:::common-control/${CommonControlId}", "control": "arn:${Partition}:controlcatalog:::control/${ControlId}", "domain": "arn:${Partition}:controlcatalog:::domain/${DomainId}", "objective": "arn:${Partition}:controlcatalog:::objective/${ObjectiveId}"}, "controltower": {"Baseline": "arn:${Partition}:controltower:${Region}::baseline/${BaselineId}", "EnabledBaseline": "arn:${Partition}:controltower:${Region}:${Account}:enabledbaseline/${EnabledBaselineId}", "EnabledControl": "arn:${Partition}:controltower:${Region}:${Account}:enabledcontrol/${EnabledControlId}", "LandingZone": "arn:${Partition}:controltower:${Region}:${Account}:landingzone/${LandingZoneId}"}, "cur": {"cur": "arn:${Partition}:cur:${Region}:${Account}:definition/${ReportName}"}, "datasync": {"agent": "arn:${Partition}:datasync:${Region}:${Account}:agent/${AgentId}", "discoveryjob": "arn:${Partition}:datasync:${Region}:${Account}:system/${StorageSystemId}/job/${DiscoveryJobId}", "location": "arn:${Partition}:datasync:${Region}:${Account}:location/${LocationId}", "storagesystem": "arn:${Partition}:datasync:${Region}:${Account}:system/${StorageSystemId}", "task": "arn:${Partition}:datasync:${Region}:${Account}:task/${TaskId}", "taskexecution": "arn:${Partition}:datasync:${Region}:${Account}:task/${TaskId}/execution/${ExecutionId}"}, "dynamodb": {"backup": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}/backup/${BackupName}", "bulk-operation": "arn:${Partition}:dynamodb:${Region}:${Account}:bulk-operation/${BulkOperationId}", "export": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}/export/${ExportName}", "global-table": "arn:${Partition}:dynamodb::${Account}:global-table/${GlobalTableName}", "import": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}/import/${ImportName}", "index": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}/index/${IndexName}", "stream": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}/stream/${StreamLabel}", "table": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}"}, "ec2": {"application-status-check": "arn:${Partition}:ec2:${Region}:${Account}:application-status-check/${ApplicationStatusCheckId}", "capacity-block": "arn:${Partition}:ec2:${Region}:${Account}:capacity-block/${CapacityBlockId}", "capacity-manager-data-export": "arn:${Partition}:ec2:${Region}:${Account}:capacity-manager-data-export/${CapacityManagerDataExportId}", "capacity-reservation": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation/${CapacityReservationId}", "capacity-reservation-cancellation-quote": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-cancellation-quote/${CapacityReservationCancellationQuoteId}", "capacity-reservation-fleet": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-fleet/${CapacityReservationFleetId}", "capacity-reservation-modification-quote": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-modification-quote/${CapacityReservationModificationQuoteId}", "carrier-gateway": "arn:${Partition}:ec2:${Region}:${Account}:carrier-gateway/${CarrierGatewayId}", "certificate": "arn:${Partition}:acm:${Region}:${Account}:certificate/${CertificateId}", "client-vpn-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:client-vpn-endpoint/${ClientVpnEndpointId}", "coip-pool": "arn:${Partition}:ec2:${Region}:${Account}:coip-pool/${Ipv4PoolCoipId}", "customer-gateway": "arn:${Partition}:ec2:${Region}:${Account}:customer-gateway/${CustomerGatewayId}", "declarative-policies-report": "arn:${Partition}:ec2:${Region}:${Account}:declarative-policies-report/${DeclarativePoliciesReportId}", "dedicated-host": "arn:${Partition}:ec2:${Region}:${Account}:dedicated-host/${DedicatedHostId}", "dhcp-options": "arn:${Partition}:ec2:${Region}:${Account}:dhcp-options/${DhcpOptionsId}", "egress-only-internet-gateway": "arn:${Partition}:ec2:${Region}:${Account}:egress-only-internet-gateway/${EgressOnlyInternetGatewayId}", "elastic-gpu": "arn:${Partition}:ec2:${Region}:${Account}:elastic-gpu/${ElasticGpuId}", "elastic-inference": "arn:${Partition}:elastic-inference:${Region}:${Account}:elastic-inference-accelerator/${AcceleratorId}", "elastic-ip": "arn:${Partition}:ec2:${Region}:${Account}:elastic-ip/${AllocationId}", "export-image-task": "arn:${Partition}:ec2:${Region}:${Account}:export-image-task/${ExportImageTaskId}", "export-instance-task": "arn:${Partition}:ec2:${Region}:${Account}:export-instance-task/${ExportTaskId}", "fleet": "arn:${Partition}:ec2:${Region}:${Account}:fleet/${FleetId}", "fpga-image": "arn:${Partition}:ec2:${Region}:${Account}:fpga-image/${FpgaImageId}", "group": "arn:${Partition}:resource-groups:${Region}:${Account}:group/${GroupName}", "host-reservation": "arn:${Partition}:ec2:${Region}:${Account}:host-reservation/${HostReservationId}", "image": "arn:${Partition}:ec2:${Region}::image/${ImageId}", "image-usage-report": "arn:${Partition}:ec2:${Region}:${Account}:image-usage-report/${ImageUsageReportId}", "import-image-task": "arn:${Partition}:ec2:${Region}:${Account}:import-image-task/${ImportImageTaskId}", "import-snapshot-task": "arn:${Partition}:ec2:${Region}:${Account}:import-snapshot-task/${ImportSnapshotTaskId}", "instance": "arn:${Partition}:ec2:${Region}:${Account}:instance/${InstanceId}", "instance-connect-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:instance-connect-endpoint/${InstanceConnectEndpointId}", "instance-event-window": "arn:${Partition}:ec2:${Region}:${Account}:instance-event-window/${InstanceEventWindowId}", "internet-gateway": "arn:${Partition}:ec2:${Region}:${Account}:internet-gateway/${InternetGatewayId}", "ipam": "arn:${Partition}:ec2::${Account}:ipam/${IpamId}", "ipam-external-resource-verification-token": "arn:${Partition}:ec2::${Account}:ipam-external-resource-verification-token/${IpamExternalResourceVerificationTokenId}", "ipam-internet-registry-association": "arn:${Partition}:ec2::${Account}:ipam-internet-registry-association/${IpamInternetRegistryAssociationId}", "ipam-policy": "arn:${Partition}:ec2::${Account}:ipam-policy/${IpamPolicyId}", "ipam-pool": "arn:${Partition}:ec2::${Account}:ipam-pool/${IpamPoolId}", "ipam-pool-allocation": "arn:${Partition}:ec2:${Region}:${Account}:ipam-pool-allocation/${IpamPoolAllocationId}", "ipam-prefix-list-resolver": "arn:${Partition}:ec2::${Account}:ipam-prefix-list-resolver/${IpamPrefixListResolverId}", "ipam-prefix-list-resolver-target": "arn:${Partition}:ec2::${Account}:ipam-prefix-list-resolver-target/${IpamPrefixListResolverTargetId}", "ipam-resource-discovery": "arn:${Partition}:ec2::${Account}:ipam-resource-discovery/${IpamResourceDiscoveryId}", "ipam-resource-discovery-association": "arn:${Partition}:ec2::${Account}:ipam-resource-discovery-association/${IpamResourceDiscoveryAssociationId}", "ipam-scope": "arn:${Partition}:ec2::${Account}:ipam-scope/${IpamScopeId}", "ipv4pool-ec2": "arn:${Partition}:ec2:${Region}:${Account}:ipv4pool-ec2/${Ipv4PoolEc2Id}", "ipv6pool-ec2": "arn:${Partition}:ec2:${Region}:${Account}:ipv6pool-ec2/${Ipv6PoolEc2Id}", "key-pair": "arn:${Partition}:ec2:${Region}:${Account}:key-pair/${KeyPairName}", "launch-template": "arn:${Partition}:ec2:${Region}:${Account}:launch-template/${LaunchTemplateId}", "license-configuration": "arn:${Partition}:license-manager:${Region}:${Account}:license-configuration:${LicenseConfigurationId}", "local-gateway": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway/${LocalGatewayId}", "local-gateway-route-table": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table/${LocalGatewayRoutetableId}", "local-gateway-route-table-virtual-interface-group-association": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table-virtual-interface-group-association/${LocalGatewayRouteTableVirtualInterfaceGroupAssociationId}", "local-gateway-route-table-vpc-association": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table-vpc-association/${LocalGatewayRouteTableVpcAssociationId}", "local-gateway-virtual-interface": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-virtual-interface/${LocalGatewayVirtualInterfaceId}", "local-gateway-virtual-interface-group": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-virtual-interface-group/${LocalGatewayVirtualInterfaceGroupId}", "mac-modification-task": "arn:${Partition}:ec2:${Region}:${Account}:mac-modification-task/${MacModificationTaskId}", "natgateway": "arn:${Partition}:ec2:${Region}:${Account}:natgateway/${NatGatewayId}", "network-acl": "arn:${Partition}:ec2:${Region}:${Account}:network-acl/${NaclId}", "network-insights-access-scope": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-access-scope/${NetworkInsightsAccessScopeId}", "network-insights-access-scope-analysis": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-access-scope-analysis/${NetworkInsightsAccessScopeAnalysisId}", "network-insights-analysis": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-analysis/${NetworkInsightsAnalysisId}", "network-insights-path": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-path/${NetworkInsightsPathId}", "network-interface": "arn:${Partition}:ec2:${Region}:${Account}:network-interface/${NetworkInterfaceId}", "outpost-lag": "arn:${Partition}:ec2:${Region}:${Account}:outpost-lag/${OutpostLagId}", "placement-group": "arn:${Partition}:ec2:${Region}:${Account}:placement-group/${PlacementGroupName}", "prefix-list": "arn:${Partition}:ec2:${Region}:${Account}:prefix-list/${PrefixListId}", "replace-root-volume-task": "arn:${Partition}:ec2:${Region}:${Account}:replace-root-volume-task/${ReplaceRootVolumeTaskId}", "reserved-instances": "arn:${Partition}:ec2:${Region}:${Account}:reserved-instances/${ReservationId}", "role": "arn:${Partition}:iam::${Account}:role/${RoleNameWithPath}", "route-server": "arn:${Partition}:ec2:${Region}:${Account}:route-server/${RouteServerId}", "route-server-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:route-server-endpoint/${RouteServerEndpointId}", "route-server-peer": "arn:${Partition}:ec2:${Region}:${Account}:route-server-peer/${RouteServerPeerId}", "route-table": "arn:${Partition}:ec2:${Region}:${Account}:route-table/${RouteTableId}", "secondary-interface": "arn:${Partition}:ec2:${Region}:${Account}:secondary-interface/${SecondaryInterfaceId}", "secondary-network": "arn:${Partition}:ec2:${Region}:${Account}:secondary-network/${SecondaryNetworkId}", "secondary-subnet": "arn:${Partition}:ec2:${Region}:${Account}:secondary-subnet/${SecondarySubnetId}", "security-group": "arn:${Partition}:ec2:${Region}:${Account}:security-group/${SecurityGroupId}", "security-group-rule": "arn:${Partition}:ec2:${Region}:${Account}:security-group-rule/${SecurityGroupRuleId}", "snapshot": "arn:${Partition}:ec2:${Region}::snapshot/${SnapshotId}", "spot-fleet-request": "arn:${Partition}:ec2:${Region}:${Account}:spot-fleet-request/${SpotFleetRequestId}", "spot-instances-request": "arn:${Partition}:ec2:${Region}:${Account}:spot-instances-request/${SpotInstanceRequestId}", "subnet": "arn:${Partition}:ec2:${Region}:${Account}:subnet/${SubnetId}", "subnet-cidr-reservation": "arn:${Partition}:ec2:${Region}:${Account}:subnet-cidr-reservation/${SubnetCidrReservationId}", "traffic-mirror-filter": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-filter/${TrafficMirrorFilterId}", "traffic-mirror-filter-rule": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-filter-rule/${TrafficMirrorFilterRuleId}", "traffic-mirror-session": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-session/${TrafficMirrorSessionId}", "traffic-mirror-target": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-target/${TrafficMirrorTargetId}", "transit-gateway": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway/${TransitGatewayId}", "transit-gateway-attachment": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-attachment/${TransitGatewayAttachmentId}", "transit-gateway-connect-peer": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-connect-peer/${TransitGatewayConnectPeerId}", "transit-gateway-metering-policy": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-metering-policy/${TransitGatewayMeteringPolicyId}", "transit-gateway-multicast-domain": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-multicast-domain/${TransitGatewayMulticastDomainId}", "transit-gateway-policy-table": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-policy-table/${TransitGatewayPolicyTableId}", "transit-gateway-route-table": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-route-table/${TransitGatewayRouteTableId}", "transit-gateway-route-table-announcement": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-route-table-announcement/${TransitGatewayRouteTableAnnouncementId}", "verified-access-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-endpoint/${VerifiedAccessEndpointId}", "verified-access-endpoint-target": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-endpoint-target/${VerifiedAccessEndpointTargetId}", "verified-access-group": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-group/${VerifiedAccessGroupId}", "verified-access-instance": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-instance/${VerifiedAccessInstanceId}", "verified-access-policy": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-policy/${VerifiedAccessPolicyId}", "verified-access-trust-provider": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-trust-provider/${VerifiedAccessTrustProviderId}", "volume": "arn:${Partition}:ec2:${Region}:${Account}:volume/${VolumeId}", "vpc": "arn:${Partition}:ec2:${Region}:${Account}:vpc/${VpcId}", "vpc-block-public-access-exclusion": "arn:${Partition}:ec2:${Region}:${Account}:vpc-block-public-access-exclusion/${VpcBlockPublicAccessExclusionId}", "vpc-encryption-control": "arn:${Partition}:ec2:${Region}:${Account}:vpc-encryption-control/${VpcEncryptionControlId}", "vpc-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint/${VpcEndpointId}", "vpc-endpoint-connection": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint-connection/${VpcEndpointConnectionId}", "vpc-endpoint-service": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint-service/${VpcEndpointServiceId}", "vpc-endpoint-service-permission": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint-service-permission/${VpcEndpointServicePermissionId}", "vpc-flow-log": "arn:${Partition}:ec2:${Region}:${Account}:vpc-flow-log/${VpcFlowLogId}", "vpc-peering-connection": "arn:${Partition}:ec2:${Region}:${Account}:vpc-peering-connection/${VpcPeeringConnectionId}", "vpn-concentrator": "arn:${Partition}:ec2:${Region}:${Account}:vpn-concentrator/${VpnConcentratorId}", "vpn-connection": "arn:${Partition}:ec2:${Region}:${Account}:vpn-connection/${VpnConnectionId}", "vpn-connection-device-type": "arn:${Partition}:ec2:${Region}:${Account}:vpn-connection-device-type/${VpnConnectionDeviceTypeId}", "vpn-gateway": "arn:${Partition}:ec2:${Region}:${Account}:vpn-gateway/${VpnGatewayId}"}, "ecr": {"repository": "arn:${Partition}:ecr:${Region}:${Account}:repository/${RepositoryName}"}, "ecs": {"capacity-provider": "arn:${Partition}:ecs:${Region}:${Account}:capacity-provider/${CapacityProviderName}", "cluster": "arn:${Partition}:ecs:${Region}:${Account}:cluster/${ClusterName}", "container-instance": "arn:${Partition}:ecs:${Region}:${Account}:container-instance/${ClusterName}/${ContainerInstanceId}", "daemon": "arn:${Partition}:ecs:${Region}:${Account}:daemon/${ClusterName}/${DaemonName}", "daemon-deployment": "arn:${Partition}:ecs:${Region}:${Account}:daemon-deployment/${ClusterName}/${DaemonName}/${DaemonDeploymentId}", "daemon-revision": "arn:${Partition}:ecs:${Region}:${Account}:daemon-revision/${ClusterName}/${DaemonName}/${DaemonRevisionId}", "daemon-task-definition": "arn:${Partition}:ecs:${Region}:${Account}:daemon-task-definition/${DaemonTaskDefinitionFamilyName}:${DaemonTaskDefinitionRevisionNumber}", "gateway": "arn:${Partition}:ecs:${Region}:${Account}:gateway/${GatewayName}/${GatewayId}", "gateway-route": "arn:${Partition}:ecs:${Region}:${Account}:gateway-route/${GatewayName}/${GatewayId}/${RouteId}", "service": "arn:${Partition}:ecs:${Region}:${Account}:service/${ClusterName}/${ServiceName}", "service-deployment": "arn:${Partition}:ecs:${Region}:${Account}:service-deployment/${ClusterName}/${ServiceName}/${ServiceDeploymentId}", "service-revision": "arn:${Partition}:ecs:${Region}:${Account}:service-revision/${ClusterName}/${ServiceName}/${ServiceRevisionId}", "task": "arn:${Partition}:ecs:${Region}:${Account}:task/${ClusterName}/${TaskId}", "task-definition": "arn:${Partition}:ecs:${Region}:${Account}:task-definition/${TaskDefinitionFamilyName}:${TaskDefinitionRevisionNumber}", "task-set": "arn:${Partition}:ecs:${Region}:${Account}:task-set/${ClusterName}/${ServiceName}/${TaskSetId}"}, "elasticloadbalancing": {"listener-rule/app": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener-rule/app/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}/${ListenerRuleId}", "listener-rule/net": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener-rule/net/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}/${ListenerRuleId}", "listener/app": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener/app/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}", "listener/gwy": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener/gwy/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}", "listener/net": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener/net/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}", "loadbalancer": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/${LoadBalancerName}", "loadbalancer/app/": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/app/${LoadBalancerName}/${LoadBalancerId}", "loadbalancer/gwy/": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/gwy/${LoadBalancerName}/${LoadBalancerId}", "loadbalancer/net/": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/net/${LoadBalancerName}/${LoadBalancerId}", "targetgroup": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:targetgroup/${TargetGroupName}/${TargetGroupId}", "truststore": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:truststore/${TrustStoreName}/${TrustStoreId}"}, "elasticmapreduce": {"cluster": "arn:${Partition}:elasticmapreduce:${Region}:${Account}:cluster/${ClusterId}", "editor": "arn:${Partition}:elasticmapreduce:${Region}:${Account}:editor/${EditorId}", "notebook-execution": "arn:${Partition}:elasticmapreduce:${Region}:${Account}:notebook-execution/${NotebookExecutionId}", "session": "arn:${Partition}:elasticmapreduce:${Region}:${Account}:cluster/${ClusterId}/session/${SessionId}", "studio": "arn:${Partition}:elasticmapreduce:${Region}:${Account}:studio/${StudioId}"}, "emr-serverless": {"application": "arn:${Partition}:emr-serverless:${Region}:${Account}:/applications/${ApplicationId}", "jobRun": "arn:${Partition}:emr-serverless:${Region}:${Account}:/applications/${ApplicationId}/jobruns/${JobRunId}", "session": "arn:${Partition}:emr-serverless:${Region}:${Account}:/applications/${ApplicationId}/sessions/${SessionId}"}, "es": {"application": "arn:${Partition}:opensearch:${Region}:${Account}:application/${AppId}", "datasource": "arn:${Partition}:opensearch:${Region}:${Account}:datasource/${DataSourceName}", "domain": "arn:${Partition}:es:${Region}:${Account}:domain/${DomainName}", "es_role": "arn:${Partition}:iam::${Account}:role/aws-service-role/es.amazonaws.com/AWSServiceRoleForAmazonOpenSearchService", "opensearchservice_role": "arn:${Partition}:iam::${Account}:role/aws-service-role/opensearchservice.amazonaws.com/AWSServiceRoleForAmazonOpenSearchService"}, "events": {"alias": "arn:${Partition}:kms:${Region}:${Account}:alias/${Alias}", "api-destination": "arn:${Partition}:events:${Region}:${Account}:api-destination/${ApiDestinationName}", "archive": "arn:${Partition}:events:${Region}:${Account}:archive/${ArchiveName}", "connection": "arn:${Partition}:events:${Region}:${Account}:connection/${ConnectionName}", "create-snapshot": "arn:${Partition}:events:${Region}:${Account}:target/create-snapshot", "endpoint": "arn:${Partition}:events:${Region}:${Account}:endpoint/${EndpointName}", "event-bus": "arn:${Partition}:events:${Region}:${Account}:event-bus/${EventBusName}", "event-busv2": "arn:${Partition}:events:${Region}:${Account}:event-busv2/${EventBusName}/${OpaqueId}", "event-source": "arn:${Partition}:events:${Region}::event-source/${EventSourceName}", "event-sourcev2": "arn:${Partition}:events:${Region}:${Account}:event-sourcev2/${SourceType}/${EventSourceName}/${OpaqueId}", "key": "arn:${Partition}:kms:${Region}:${Account}:key/${KeyId}", "reboot-instance": "arn:${Partition}:events:${Region}:${Account}:target/reboot-instance", "replay": "arn:${Partition}:events:${Region}:${Account}:replay/${ReplayName}", "rule-on-custom-event-bus": "arn:${Partition}:events:${Region}:${Account}:rule/${EventBusName}/${RuleName}", "rule-on-default-event-bus": "arn:${Partition}:events:${Region}:${Account}:rule/${RuleName}", "stop-instance": "arn:${Partition}:events:${Region}:${Account}:target/stop-instance", "subscriber": "arn:${Partition}:events:${Region}:${Account}:subscriber/${SubscriberName}/${OpaqueId}", "terminate-instance": "arn:${Partition}:events:${Region}:${Account}:target/terminate-instance"}, "firehose": {"deliverystream": "arn:${Partition}:firehose:${Region}:${Account}:deliverystream/${DeliveryStreamName}"}, "fis": {"action": "arn:${Partition}:fis:${Region}:${Account}:action/${Id}", "experiment": "arn:${Partition}:fis:${Region}:${Account}:experiment/${Id}", "experiment-template": "arn:${Partition}:fis:${Region}:${Account}:experiment-template/${Id}", "safety-lever": "arn:${Partition}:fis:${Region}:${Account}:safety-lever/${Id}"}, "globalaccelerator": {"accelerator": "arn:${Partition}:globalaccelerator::${Account}:accelerator/${ResourceId}", "attachment": "arn:${Partition}:globalaccelerator::${Account}:attachment/${ResourceId}", "endpointgroup": "arn:${Partition}:globalaccelerator::${Account}:accelerator/${ResourceId}/listener/${ListenerId}/endpoint-group/${EndpointGroupId}", "listener": "arn:${Partition}:globalaccelerator::${Account}:accelerator/${ResourceId}/listener/${ListenerId}"}, "guardduty": {"customdetectionrule": "arn:${Partition}:guardduty::aws:detection-rule/custom/${RuleId}", "customdetectionruleassociation": "arn:${Partition}:guardduty:${Region}:${Account}:detection-rule/custom/${RuleId}/association/${AssociationId}", "detector": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}", "filter": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/filter/${FilterName}", "ipset": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/ipset/${IPSetId}", "malwareprotectionplan": "arn:${Partition}:guardduty:${Region}:${Account}:malware-protection-plan/${MalwareProtectionPlanId}", "publishingDestination": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/publishingdestination/${PublishingDestinationId}", "threatentityset": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/threatentityset/${ThreatEntitySetId}", "threatintelset": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/threatintelset/${ThreatIntelSetId}", "trustedentityset": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/trustedentityset/${TrustedEntitySetId}"}, "inspector2": {"CIS Scan Configuration": "arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/cis-configuration/${CISScanConfigurationId}", "Code Security Integration": "arn:${Partition}:inspector2:${Region}:${Account}:codesecurity-integration/${CodeSecurityIntegrationId}", "Code Security Scan Configuration": "arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/codesecurity-configuration/${CodeSecurityScanConfigurationId}", "Connector": "arn:${Partition}:inspector2:${Region}:${Account}:connector/${ConnectorId}", "Filter": "arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/filter/${FilterId}", "Finding": "arn:${Partition}:inspector2:${Region}:${Account}:finding/${FindingId}"}, "kinesisanalytics": {"application": "arn:${Partition}:kinesisanalytics:${Region}:${Account}:application/${ApplicationName}"}, "lambda": {"capacityProvider": "arn:${Partition}:lambda:${Region}:${Account}:capacity-provider:${CapacityProviderName}", "code signing config": "arn:${Partition}:lambda:${Region}:${Account}:code-signing-config:${CodeSigningConfigId}", "durable execution": "arn:${Partition}:lambda:${Region}:${Account}:function:${FunctionName}:${Version}/durable-execution/${ExecutionName}/${ExecutionId}", "eventSourceMapping": "arn:${Partition}:lambda:${Region}:${Account}:event-source-mapping:${UUID}", "function": "arn:${Partition}:lambda:${Region}:${Account}:function:${FunctionName}", "function alias": "arn:${Partition}:lambda:${Region}:${Account}:function:${FunctionName}:${Alias}", "function version": "arn:${Partition}:lambda:${Region}:${Account}:function:${FunctionName}:${Version}", "layer": "arn:${Partition}:lambda:${Region}:${Account}:layer:${LayerName}", "layerVersion": "arn:${Partition}:lambda:${Region}:${Account}:layer:${LayerName}:${LayerVersion}", "microvmImage": "arn:${Partition}:lambda:${Region}:${Account}:microvm-image:${MicrovmImageName}", "networkConnector": "arn:${Partition}:lambda:${Region}:${Account}:network-connector:${NetworkConnectorId}", "webFunction": "arn:${Partition}:lambda:${Region}:${Account}:web-function/${FunctionName}", "webFunctionEndpoint": "arn:${Partition}:lambda:${Region}:${Account}:web-function/${FunctionName}/endpoint/${EndpointName}", "webFunctionRevision": "arn:${Partition}:lambda:${Region}:${Account}:web-function/${FunctionName}/revision/${RevisionId}"}, "logs": {"anomaly-detector": "arn:${Partition}:logs:${Region}:${Account}:anomaly-detector:${DetectorId}", "delivery": "arn:${Partition}:logs:${Region}:${Account}:delivery:${DeliveryName}", "delivery-destination": "arn:${Partition}:logs:${Region}:${Account}:delivery-destination:${DeliveryDestinationName}", "delivery-source": "arn:${Partition}:logs:${Region}:${Account}:delivery-source:${DeliverySourceName}", "destination": "arn:${Partition}:logs:${Region}:${Account}:destination:${DestinationName}", "log-group": "arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}", "log-stream": "arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}", "lookup-table": "arn:${Partition}:logs:${Region}:${Account}:lookup-table:${LookupTableName}", "scheduled-query": "arn:${Partition}:logs:${Region}:${Account}:scheduled-query:${ScheduledQueryId}"}, "macie2": {"AllowList": "arn:${Partition}:macie2:${Region}:${Account}:allow-list/${ResourceId}", "ClassificationJob": "arn:${Partition}:macie2:${Region}:${Account}:classification-job/${ResourceId}", "CustomDataIdentifier": "arn:${Partition}:macie2:${Region}:${Account}:custom-data-identifier/${ResourceId}", "FindingsFilter": "arn:${Partition}:macie2:${Region}:${Account}:findings-filter/${ResourceId}", "Member": "arn:${Partition}:macie2:${Region}:${Account}:member/${ResourceId}"}, "oam": {"Link": "arn:${Partition}:oam:${Region}:${Account}:link/${ResourceId}", "Sink": "arn:${Partition}:oam:${Region}:${Account}:sink/${ResourceId}"}, "payment-cryptography": {"alias": "arn:${Partition}:payment-cryptography:${Region}:${Account}:alias/${Alias}", "approval-team": "arn:${Partition}:mpa:${Region}:${Account}:approval-team/${ApprovalTeamId}", "key": "arn:${Partition}:payment-cryptography:${Region}:${Account}:key/${KeyId}"}, "quicksight": {"accessControlApplication": "arn:${Partition}:quicksight:${Region}:${Account}:access-control-application/${ResourceId}", "account": "arn:${Partition}:quicksight:${Region}:${Account}:account/${ResourceId}", "actionconnector": "arn:${Partition}:quicksight:${Region}:${Account}:action-connector/${ResourceId}", "agent": "arn:${Partition}:quicksight:${Region}:${Account}:agent/${ResourceId}", "analysis": "arn:${Partition}:quicksight:${Region}:${Account}:analysis/${ResourceId}", "app": "arn:${Partition}:quicksight:${Region}:${Account}:app/${ResourceId}", "approvalPolicy": "arn:${Partition}:quicksight:${Region}:${Account}:approval-policy/${ResourceId}", "assetBundleExportJob": "arn:${Partition}:quicksight:${Region}:${Account}:asset-bundle-export-job/${ResourceId}", "assetBundleImportJob": "arn:${Partition}:quicksight:${Region}:${Account}:asset-bundle-import-job/${ResourceId}", "assignment": "arn:${Partition}:quicksight::${Account}:assignment/${ResourceId}", "automation": "arn:${Partition}:quicksight:${Region}:${Account}:automation-group/${AutomationGroupId}/automation/${ResourceId}", "automationGroup": "arn:${Partition}:quicksight:${Region}:${Account}:automation-group/${ResourceId}", "automationJob": "arn:${Partition}:quicksight:${Region}:${Account}:automation-group/${AutomationGroupId}/automation/${AutomationId}/job/${ResourceId}", "brand": "arn:${Partition}:quicksight:${Region}:${Account}:brand/${ResourceId}", "customization": "arn:${Partition}:quicksight:${Region}:${Account}:customization/${ResourceId}", "custompermissions": "arn:${Partition}:quicksight:${Region}:${Account}:custompermissions/${ResourceId}", "dashboard": "arn:${Partition}:quicksight:${Region}:${Account}:dashboard/${ResourceId}", "dashboardSnapshotJob": "arn:${Partition}:quicksight:${Region}:${Account}:dashboard/${DashboardId}/snapshot-job/${ResourceId}", "dataset": "arn:${Partition}:quicksight:${Region}:${Account}:dataset/${ResourceId}", "datasource": "arn:${Partition}:quicksight:${Region}:${Account}:datasource/${ResourceId}", "dlpSetting": "arn:${Partition}:quicksight:${Region}:${Account}:dlpsetting/${ResourceId}", "emailCustomizationTemplate": "arn:${Partition}:quicksight:${Region}:${Account}:email-customization-template/${ResourceId}", "extension": "arn:${Partition}:quicksight:${Region}:${Account}:extension/${ResourceId}", "extensionaccess": "arn:${Partition}:quicksight:${Region}:${Account}:extension-access/${ResourceId}", "flow": "arn:${Partition}:quicksight:${Region}:${Account}:flow/${ResourceId}", "folder": "arn:${Partition}:quicksight:${Region}:${Account}:folder/${ResourceId}", "group": "arn:${Partition}:quicksight:${Region}:${Account}:group/${ResourceId}", "inboundConnector": "arn:${Partition}:quicksight:${Region}:${Account}:inbound-connector/${ResourceId}", "ingestion": "arn:${Partition}:quicksight:${Region}:${Account}:dataset/${DatasetId}/ingestion/${ResourceId}", "knowledgeBase": "arn:${Partition}:quicksight:${Region}:${Account}:knowledge-base/${ResourceId}", "limitsProfile": "arn:${Partition}:quicksight:${Region}:${Account}:limits-profile/${ResourceId}", "namespace": "arn:${Partition}:quicksight:${Region}:${Account}:namespace/${ResourceId}", "oauthClientApplication": "arn:${Partition}:quicksight:${Region}:${Account}:oauthClientApplication/${ResourceId}", "refreshschedule": "arn:${Partition}:quicksight:${Region}:${Account}:dataset/${DatasetId}/refresh-schedule/${ResourceId}", "space": "arn:${Partition}:quicksight:${Region}:${Account}:space/${ResourceId}", "template": "arn:${Partition}:quicksight:${Region}:${Account}:template/${ResourceId}", "theme": "arn:${Partition}:quicksight:${Region}:${Account}:theme/${ResourceId}", "topic": "arn:${Partition}:quicksight:${Region}:${Account}:topic/${ResourceId}", "user": "arn:${Partition}:quicksight:${Region}:${Account}:user/${ResourceId}", "vpcconnection": "arn:${Partition}:quicksight:${Region}:${Account}:vpcConnection/${ResourceId}"}, "ram": {"customer-managed-permission": "arn:${Partition}:ram:${Region}:${Account}:permission/${ResourcePath}", "permission": "arn:${Partition}:ram::aws:permission/${ResourcePath}", "resource-share": "arn:${Partition}:ram:${Region}:${Account}:resource-share/${ResourcePath}", "resource-share-invitation": "arn:${Partition}:ram:${Region}:${Account}:resource-share-invitation/${ResourcePath}"}, "redshift": {"cluster": "arn:${Partition}:redshift:${Region}:${Account}:cluster:${ClusterName}", "datashare": "arn:${Partition}:redshift:${Region}:${Account}:datashare:${ProducerClusterNamespace}/${DataShareName}", "dbgroup": "arn:${Partition}:redshift:${Region}:${Account}:dbgroup:${ClusterName}/${DbGroup}", "dbname": "arn:${Partition}:redshift:${Region}:${Account}:dbname:${ClusterName}/${DbName}", "dbuser": "arn:${Partition}:redshift:${Region}:${Account}:dbuser:${ClusterName}/${DbUser}", "eventsubscription": "arn:${Partition}:redshift:${Region}:${Account}:eventsubscription:${EventSubscriptionName}", "hsmclientcertificate": "arn:${Partition}:redshift:${Region}:${Account}:hsmclientcertificate:${HSMClientCertificateId}", "hsmconfiguration": "arn:${Partition}:redshift:${Region}:${Account}:hsmconfiguration:${HSMConfigurationId}", "integration": "arn:${Partition}:redshift:${Region}:${Account}:integration:${IntegrationIdentifier}", "namespace": "arn:${Partition}:redshift:${Region}:${Account}:namespace:${ClusterNamespace}", "parametergroup": "arn:${Partition}:redshift:${Region}:${Account}:parametergroup:${ParameterGroupName}", "qev2idcapplication": "arn:${Partition}:redshift:${Region}:${Account}:qev2idcapplication:${Qev2IdcApplicationId}", "redshiftidcapplication": "arn:${Partition}:redshift:${Region}:${Account}:redshiftidcapplication:${RedshiftIdcApplicationId}", "securitygroup": "arn:${Partition}:redshift:${Region}:${Account}:securitygroup:${SecurityGroupName}/ec2securitygroup/${Owner}/${Ec2SecurityGroupId}", "securitygroupingress-cidr": "arn:${Partition}:redshift:${Region}:${Account}:securitygroupingress:${SecurityGroupName}/cidrip/${IpRange}", "securitygroupingress-ec2securitygroup": "arn:${Partition}:redshift:${Region}:${Account}:securitygroupingress:${SecurityGroupName}/ec2securitygroup/${Owner}/${Ece2SecuritygroupId}", "snapshot": "arn:${Partition}:redshift:${Region}:${Account}:snapshot:${ClusterName}/${SnapshotName}", "snapshotcopygrant": "arn:${Partition}:redshift:${Region}:${Account}:snapshotcopygrant:${SnapshotCopyGrantName}", "snapshotschedule": "arn:${Partition}:redshift:${Region}:${Account}:snapshotschedule:${ScheduleIdentifier}", "subnetgroup": "arn:${Partition}:redshift:${Region}:${Account}:subnetgroup:${SubnetGroupName}", "usagelimit": "arn:${Partition}:redshift:${Region}:${Account}:usagelimit:${UsageLimitId}"}, "redshift-data": {"cluster": "arn:${Partition}:redshift:${Region}:${Account}:cluster:${ClusterName}", "managed-workgroup": "arn:${Partition}:redshift-serverless:${Region}:${Account}:managed-workgroup/${ManagedWorkgroupId}", "workgroup": "arn:${Partition}:redshift-serverless:${Region}:${Account}:workgroup/${WorkgroupId}"}, "redshift-serverless": {"endpointAccess": "arn:${Partition}:redshift-serverless:${Region}:${Account}:managedvpcendpoint/${EndpointAccessId}", "managed-workgroup": "arn:${Partition}:redshift-serverless:${Region}:${Account}:managed-workgroup/${ManagedWorkgroupName}", "namespace": "arn:${Partition}:redshift-serverless:${Region}:${Account}:namespace/${NamespaceId}", "recoveryPoint": "arn:${Partition}:redshift-serverless:${Region}:${Account}:recoverypoint/${RecoveryPointId}", "snapshot": "arn:${Partition}:redshift-serverless:${Region}:${Account}:snapshot/${SnapshotId}", "workgroup": "arn:${Partition}:redshift-serverless:${Region}:${Account}:workgroup/${WorkgroupId}"}, "rekognition": {"collection": "arn:${Partition}:rekognition:${Region}:${Account}:collection/${CollectionId}", "dataset": "arn:${Partition}:rekognition:${Region}:${Account}:project/${ProjectName}/dataset/${DatasetType}/${CreationTimestamp}", "project": "arn:${Partition}:rekognition:${Region}:${Account}:project/${ProjectName}/${CreationTimestamp}", "projectversion": "arn:${Partition}:rekognition:${Region}:${Account}:project/${ProjectName}/version/${VersionName}/${CreationTimestamp}", "streamprocessor": "arn:${Partition}:rekognition:${Region}:${Account}:streamprocessor/${StreamprocessorId}"}, "resource-explorer-2": {"index": "arn:${Partition}:resource-explorer-2:${Region}:${Account}:index/${IndexUuid}", "managed-view": "arn:${Partition}:resource-explorer-2:${Region}:${Account}:managed-view/${ManagedViewName}/${ManagedViewUuid}", "view": "arn:${Partition}:resource-explorer-2:${Region}:${Account}:view/${ViewName}/${ViewUuid}"}, "route53": {"change": "arn:${Partition}:route53:::change/${Id}", "cidrcollection": "arn:${Partition}:route53:::cidrcollection/${Id}", "delegationset": "arn:${Partition}:route53:::delegationset/${Id}", "healthcheck": "arn:${Partition}:route53:::healthcheck/${Id}", "hostedzone": "arn:${Partition}:route53:::hostedzone/${Id}", "queryloggingconfig": "arn:${Partition}:route53:::queryloggingconfig/${Id}", "trafficpolicy": "arn:${Partition}:route53:::trafficpolicy/${Id}", "trafficpolicyinstance": "arn:${Partition}:route53:::trafficpolicyinstance/${Id}", "vpc": "arn:${Partition}:ec2:${Region}:${Account}:vpc/${VpcId}"}, "scheduler": {"schedule": "arn:${Partition}:scheduler:${Region}:${Account}:schedule/${GroupName}/${ScheduleName}", "schedule-group": "arn:${Partition}:scheduler:${Region}:${Account}:schedule-group/${GroupName}"}, "secretsmanager": {"Secret": "arn:${Partition}:secretsmanager:${Region}:${Account}:secret:${SecretId}"}, "securityhub": {"aggregatorv2": "arn:${Partition}:securityhub:${Region}:${Account}:aggregatorv2/${AggregatorV2Id}", "automation-rule": "arn:${Partition}:securityhub:${Region}:${Account}:automation-rule/${AutomationRuleId}", "automation-rulev2": "arn:${Partition}:securityhub:${Region}:${Account}:automation-rulev2/${AutomationRuleV2Id}", "configuration-policy": "arn:${Partition}:securityhub:${Region}:${Account}:configuration-policy/${ConfigurationPolicyId}", "connector": "arn:${Partition}:securityhub:${Region}:${Account}:connector/${ConnectorId}", "connectorv2": "arn:${Partition}:securityhub:${Region}:${Account}:connectorv2/${ConnectorV2Id}", "finding-aggregator": "arn:${Partition}:securityhub:${Region}:${Account}:finding-aggregator/${FindingAggregatorId}", "hub": "arn:${Partition}:securityhub:${Region}:${Account}:hub/default", "hubv2": "arn:${Partition}:securityhub:${Region}:${Account}:hubv2/${HubV2Id}", "product": "arn:${Partition}:securityhub:${Region}:${Account}:product/${Company}/${ProductId}"}, "servicediscovery": {"namespace": "arn:${Partition}:servicediscovery:${Region}:${Account}:namespace/${NamespaceId}", "service": "arn:${Partition}:servicediscovery:${Region}:${Account}:service/${ServiceId}"}, "servicequotas": {"quota": "arn:${Partition}:servicequotas:${Region}:${Account}:${ServiceCode}/${QuotaCode}"}, "signer": {"signing-job": "arn:${Partition}:signer:${Region}:${Account}:/signing-jobs/${JobId}", "signing-profile": "arn:${Partition}:signer:${Region}:${Account}:/signing-profiles/${ProfileName}"}, "ssm": {"association": "arn:${Partition}:ssm:${Region}:${Account}:association/${AssociationId}", "automation-definition": "arn:${Partition}:ssm:${Region}:${Account}:automation-definition/${AutomationDefinitionName}:${VersionId}", "automation-execution": "arn:${Partition}:ssm:${Region}:${Account}:automation-execution/${AutomationExecutionId}", "bucket": "arn:${Partition}:s3:::${BucketName}", "cloud-connector": "arn:${Partition}:ssm:${Region}:${Account}:cloud-connector/${CloudConnectorId}", "document": "arn:${Partition}:ssm:${Region}:${Account}:document/${DocumentName}", "iam-role": "arn:${Partition}:iam::${Account}:role/${RoleName}", "instance": "arn:${Partition}:ec2:${Region}:${Account}:instance/${InstanceId}", "maintenancewindow": "arn:${Partition}:ssm:${Region}:${Account}:maintenancewindow/${ResourceId}", "managed-instance": "arn:${Partition}:ssm:${Region}:${Account}:managed-instance/${InstanceId}", "managed-instance-inventory": "arn:${Partition}:ssm:${Region}:${Account}:managed-instance-inventory/${InstanceId}", "opsitem": "arn:${Partition}:ssm:${Region}:${Account}:opsitem/${ResourceId}", "opsitemgroup": "arn:${Partition}:ssm:${Region}:${Account}:opsitemgroup/default", "opsmetadata": "arn:${Partition}:ssm:${Region}:${Account}:opsmetadata/${ResourceId}", "parameter": "arn:${Partition}:ssm:${Region}:${Account}:parameter/${ParameterNameWithoutLeadingSlash}", "patchbaseline": "arn:${Partition}:ssm:${Region}:${Account}:patchbaseline/${PatchBaselineIdResourceId}", "resourcedatasync": "arn:${Partition}:ssm:${Region}:${Account}:resource-data-sync/${SyncName}", "servicesetting": "arn:${Partition}:ssm:${Region}:${Account}:servicesetting/${ResourceId}", "session": "arn:${Partition}:ssm:${Region}:${Account}:session/${SessionId}", "task": "arn:${Partition}:ecs:${Region}:${Account}:task/${TaskId}", "windowtarget": "arn:${Partition}:ssm:${Region}:${Account}:windowtarget/${WindowTargetId}", "windowtask": "arn:${Partition}:ssm:${Region}:${Account}:windowtask/${WindowTaskId}"}, "sso": {"Account": "arn:${Partition}:sso:::account/${AccountId}", "Application": "arn:${Partition}:sso::${Account}:application/${InstanceId}/${ApplicationId}", "ApplicationProvider": "arn:${Partition}:sso::aws:applicationProvider/${ApplicationProviderId}", "Instance": "arn:${Partition}:sso:::instance/${InstanceId}", "PermissionSet": "arn:${Partition}:sso:::permissionSet/${InstanceId}/${PermissionSetId}", "TrustedTokenIssuer": "arn:${Partition}:sso::${Account}:trustedTokenIssuer/${InstanceId}/${TrustedTokenIssuerId}"}, "states": {"activity": "arn:${Partition}:states:${Region}:${Account}:activity:${ActivityName}", "execution": "arn:${Partition}:states:${Region}:${Account}:execution:${StateMachineName}:${ExecutionId}", "express": "arn:${Partition}:states:${Region}:${Account}:express:${StateMachineName}:${ExecutionId}:${ExpressId}", "labelled execution": "arn:${Partition}:states:${Region}:${Account}:execution:${StateMachineName}/${MapRunLabel}:${ExecutionId}", "labelled express": "arn:${Partition}:states:${Region}:${Account}:express:${StateMachineName}/${MapRunLabel}:${ExecutionId}:${ExpressId}", "maprun": "arn:${Partition}:states:${Region}:${Account}:mapRun:${StateMachineName}/${MapRunLabel}:${MapRunId}", "statemachine": "arn:${Partition}:states:${Region}:${Account}:stateMachine:${StateMachineName}", "statemachinealias": "arn:${Partition}:states:${Region}:${Account}:stateMachine:${StateMachineName}:${StateMachineAliasName}", "statemachineversion": "arn:${Partition}:states:${Region}:${Account}:stateMachine:${StateMachineName}:${StateMachineVersionId}"}, "textract": {"adapter": "arn:${Partition}:textract:${Region}:${Account}:/adapters/${AdapterId}", "adapterversion": "arn:${Partition}:textract:${Region}:${Account}:/adapters/${AdapterId}/versions/${AdapterVersion}"}, "timestream-influxdb": {"db-backup": "arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-backup/${DbBackupId}", "db-cluster": "arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-cluster/${DbClusterId}", "db-instance": "arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-instance/${DbInstanceIdentifier}", "db-parameter-group": "arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-parameter-group/${DbParameterGroupIdentifier}"}, "translate": {"parallel-data": "arn:${Partition}:translate:${Region}:${Account}:parallel-data/${ResourceName}", "terminology": "arn:${Partition}:translate:${Region}:${Account}:terminology/${ResourceName}"}, "xray": {"group": "arn:${Partition}:xray:${Region}:${Account}:group/${GroupName}/${Id}", "sampling-rule": "arn:${Partition}:xray:${Region}:${Account}:sampling-rule/${SamplingRuleName}"}}, - "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/"]}, "application-autoscaling": {"ScalableTarget": ["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-scenario": ["aws:ResourceTag/"], "workload-estimate": ["aws:ResourceTag/"]}, "budgets": {"budget": ["aws:ResourceTag/"], "budgetAction": ["aws:ResourceTag/"]}, "ce": {"anomalymonitor": ["aws:ResourceTag/"], "anomalysubscription": ["aws:ResourceTag/"], "billingview": ["aws:ResourceTag/"], "costcategory": ["aws:ResourceTag/"]}, "cloudformation": {"changeset": ["aws:ResourceTag/"], "stack": ["aws:ResourceTag/"], "stackset": ["aws:ResourceTag/"]}, "cloudfront": {"anycast-ip-list": ["aws:ResourceTag/"], "connection-function": ["aws:ResourceTag/"], "connection-group": ["aws:ResourceTag/"], "distribution": ["aws:ResourceTag/"], "distribution-tenant": ["aws:ResourceTag/"], "function": ["aws:ResourceTag/"], "key-value-store": ["aws:ResourceTag/"], "streaming-distribution": ["aws:ResourceTag/"], "trust-store": ["aws:ResourceTag/"], "vpcorigin": ["aws:ResourceTag/"]}, "cloudtrail": {"channel": ["aws:ResourceTag/"], "dashboard": ["aws:ResourceTag/"], "eventdatastore": ["aws:ResourceTag/"], "trail": ["aws:ResourceTag/"]}, "codebuild": {"project": ["aws:ResourceTag/"], "report-group": ["aws:ResourceTag/"]}, "codepipeline": {"action": ["aws:ResourceTag/"], "actiontype": ["aws:ResourceTag/"], "pipeline": ["aws:ResourceTag/"], "stage": ["aws:ResourceTag/"], "webhook": ["aws:ResourceTag/"]}, "cognito-identity": {"identitypool": ["aws:ResourceTag/"]}, "cognito-idp": {"userpool": ["aws:ResourceTag/"]}, "controltower": {"EnabledBaseline": ["aws:ResourceTag/"], "EnabledControl": ["aws:ResourceTag/"], "LandingZone": ["aws:ResourceTag/"]}, "datasync": {"agent": ["aws:ResourceTag/"], "discoveryjob": ["aws:ResourceTag/"], "location": ["aws:ResourceTag/"], "storagesystem": ["aws:ResourceTag/"], "task": ["aws:ResourceTag/"], "taskexecution": ["aws:ResourceTag/"]}, "dynamodb": {"index": ["aws:ResourceTag/"], "stream": ["aws:ResourceTag/"], "table": ["aws:ResourceTag/"]}, "ec2": {"application-status-check": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-block": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-manager-data-export": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-reservation": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-reservation-cancellation-quote": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-reservation-fleet": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-reservation-modification-quote": ["aws:ResourceTag/", "ec2:ResourceTag/"], "carrier-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "client-vpn-endpoint": ["aws:ResourceTag/", "ec2:ResourceTag/"], "coip-pool": ["aws:ResourceTag/", "ec2:ResourceTag/"], "customer-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "declarative-policies-report": ["aws:ResourceTag/", "ec2:ResourceTag/"], "dedicated-host": ["aws:ResourceTag/", "ec2:ResourceTag/"], "dhcp-options": ["aws:ResourceTag/", "ec2:ResourceTag/"], "egress-only-internet-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "elastic-gpu": ["aws:ResourceTag/", "ec2:ResourceTag/"], "elastic-ip": ["aws:ResourceTag/", "ec2:ResourceTag/"], "export-image-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "export-instance-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "fleet": ["aws:ResourceTag/", "ec2:ResourceTag/"], "fpga-image": ["aws:ResourceTag/", "ec2:ResourceTag/"], "host-reservation": ["aws:ResourceTag/", "ec2:ResourceTag/"], "image": ["aws:ResourceTag/", "ec2:ResourceTag/"], "image-usage-report": ["aws:ResourceTag/", "ec2:ResourceTag/"], "import-image-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "import-snapshot-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "instance": ["aws:ResourceTag/", "ec2:ResourceTag/"], "instance-connect-endpoint": ["aws:ResourceTag/", "ec2:ResourceTag/"], "instance-event-window": ["aws:ResourceTag/", "ec2:ResourceTag/"], "internet-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-external-resource-verification-token": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-internet-registry-association": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-policy": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-pool": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-pool-allocation": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-prefix-list-resolver": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-prefix-list-resolver-target": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-resource-discovery": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-resource-discovery-association": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-scope": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipv4pool-ec2": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipv6pool-ec2": ["aws:ResourceTag/", "ec2:ResourceTag/"], "key-pair": ["aws:ResourceTag/", "ec2:ResourceTag/"], "launch-template": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway-route-table": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway-route-table-virtual-interface-group-association": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway-route-table-vpc-association": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway-virtual-interface": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway-virtual-interface-group": ["aws:ResourceTag/", "ec2:ResourceTag/"], "mac-modification-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "natgateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-acl": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-insights-access-scope": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-insights-access-scope-analysis": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-insights-analysis": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-insights-path": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-interface": ["aws:ResourceTag/", "ec2:ResourceTag/"], "outpost-lag": ["aws:ResourceTag/", "ec2:ResourceTag/"], "placement-group": ["aws:ResourceTag/", "ec2:ResourceTag/"], "prefix-list": ["aws:ResourceTag/", "ec2:ResourceTag/"], "replace-root-volume-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "reserved-instances": ["aws:ResourceTag/", "ec2:ResourceTag/"], "route-server": ["aws:ResourceTag/", "ec2:ResourceTag/"], "route-server-endpoint": ["aws:ResourceTag/", "ec2:ResourceTag/"], "route-server-peer": ["aws:ResourceTag/", "ec2:ResourceTag/"], "route-table": ["aws:ResourceTag/", "ec2:ResourceTag/"], "secondary-interface": ["aws:ResourceTag/", "ec2:ResourceTag/"], "secondary-network": ["aws:ResourceTag/", "ec2:ResourceTag/"], "secondary-subnet": ["aws:ResourceTag/", "ec2:ResourceTag/"], "security-group": ["aws:ResourceTag/", "ec2:ResourceTag/"], "security-group-rule": ["aws:ResourceTag/", "ec2:ResourceTag/"], "snapshot": ["aws:ResourceTag/", "ec2:ResourceTag/"], "spot-fleet-request": ["aws:ResourceTag/", "ec2:ResourceTag/"], "spot-instances-request": ["aws:ResourceTag/", "ec2:ResourceTag/"], "subnet": ["aws:ResourceTag/", "ec2:ResourceTag/"], "subnet-cidr-reservation": ["aws:ResourceTag/", "ec2:ResourceTag/"], "traffic-mirror-filter": ["aws:ResourceTag/", "ec2:ResourceTag/"], "traffic-mirror-filter-rule": ["aws:ResourceTag/", "ec2:ResourceTag/"], "traffic-mirror-session": ["aws:ResourceTag/", "ec2:ResourceTag/"], "traffic-mirror-target": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-attachment": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-connect-peer": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-metering-policy": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-multicast-domain": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-policy-table": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-route-table": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-route-table-announcement": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-endpoint": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-endpoint-target": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-group": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-instance": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-policy": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-trust-provider": ["aws:ResourceTag/", "ec2:ResourceTag/"], "volume": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-block-public-access-exclusion": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-encryption-control": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-endpoint": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-endpoint-connection": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-endpoint-service": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-endpoint-service-permission": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-flow-log": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-peering-connection": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpn-concentrator": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpn-connection": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpn-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"]}, "ecr": {"repository": ["aws:ResourceTag/", "ecr:ResourceTag/"]}, "ecs": {"capacity-provider": ["aws:ResourceTag/", "ecs:ResourceTag/"], "cluster": ["aws:ResourceTag/", "ecs:ResourceTag/"], "container-instance": ["aws:ResourceTag/", "ecs:ResourceTag/"], "daemon": ["aws:ResourceTag/"], "daemon-deployment": ["aws:ResourceTag/"], "daemon-revision": ["aws:ResourceTag/"], "daemon-task-definition": ["aws:ResourceTag/"], "gateway": ["aws:ResourceTag/"], "gateway-route": ["aws:ResourceTag/"], "service": ["aws:ResourceTag/", "ecs:ResourceTag/"], "service-deployment": ["aws:ResourceTag/"], "service-revision": ["aws:ResourceTag/"], "task": ["aws:ResourceTag/", "ecs:ResourceTag/"], "task-definition": ["aws:ResourceTag/", "ecs:ResourceTag/"], "task-set": ["aws:ResourceTag/", "ecs:ResourceTag/"]}, "elasticloadbalancing": {"listener-rule/app": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "listener-rule/net": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "listener/app": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "listener/gwy": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "listener/net": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "loadbalancer": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "loadbalancer/app/": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "loadbalancer/gwy/": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "loadbalancer/net/": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "targetgroup": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "truststore": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"]}, "elasticmapreduce": {"cluster": ["aws:ResourceTag/", "elasticmapreduce:ResourceTag/"], "editor": ["aws:ResourceTag/", "elasticmapreduce:ResourceTag/"], "notebook-execution": ["aws:ResourceTag/", "elasticmapreduce:ResourceTag/"], "session": ["aws:ResourceTag/", "elasticmapreduce:ResourceTag/"], "studio": ["aws:ResourceTag/", "elasticmapreduce:ResourceTag/"]}, "emr-serverless": {"application": ["aws:ResourceTag/"], "jobRun": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"]}, "es": {"application": ["aws:ResourceTag/"], "datasource": ["aws:ResourceTag/"], "domain": ["aws:ResourceTag/"], "es_role": ["aws:ResourceTag/"], "opensearchservice_role": ["aws:ResourceTag/"]}, "events": {"event-bus": ["aws:ResourceTag/"], "event-busv2": ["aws:ResourceTag/"], "event-sourcev2": ["aws:ResourceTag/"], "rule-on-custom-event-bus": ["aws:ResourceTag/"], "rule-on-default-event-bus": ["aws:ResourceTag/"], "subscriber": ["aws:ResourceTag/"]}, "firehose": {"deliverystream": ["aws:ResourceTag/"]}, "fis": {"action": ["aws:ResourceTag/"], "experiment": ["aws:ResourceTag/"], "experiment-template": ["aws:ResourceTag/"]}, "globalaccelerator": {"accelerator": ["aws:ResourceTag/"], "attachment": ["aws:ResourceTag/"], "endpointgroup": ["aws:ResourceTag/"], "listener": ["aws:ResourceTag/"]}, "guardduty": {"customdetectionruleassociation": ["aws:ResourceTag/"], "detector": ["aws:ResourceTag/"], "filter": ["aws:ResourceTag/"], "ipset": ["aws:ResourceTag/"], "malwareprotectionplan": ["aws:ResourceTag/"], "publishingDestination": ["aws:ResourceTag/"], "threatentityset": ["aws:ResourceTag/"], "threatintelset": ["aws:ResourceTag/"], "trustedentityset": ["aws:ResourceTag/"]}, "inspector2": {"CIS Scan Configuration": ["aws:ResourceTag/"], "Code Security Integration": ["aws:ResourceTag/"], "Code Security Scan Configuration": ["aws:ResourceTag/"], "Connector": ["aws:ResourceTag/"], "Filter": ["aws:ResourceTag/"]}, "kinesisanalytics": {"application": ["aws:ResourceTag/"]}, "lambda": {"capacityProvider": ["aws:ResourceTag/"], "code signing config": ["aws:ResourceTag/"], "durable execution": ["aws:ResourceTag/"], "eventSourceMapping": ["aws:ResourceTag/"], "function": ["aws:ResourceTag/"], "function alias": ["aws:ResourceTag/"], "function version": ["aws:ResourceTag/"], "microvmImage": ["aws:ResourceTag/"], "networkConnector": ["aws:ResourceTag/"], "webFunction": ["aws:ResourceTag/"], "webFunctionEndpoint": ["aws:ResourceTag/"], "webFunctionRevision": ["aws:ResourceTag/"]}, "logs": {"anomaly-detector": ["aws:ResourceTag/"], "delivery": ["aws:ResourceTag/"], "delivery-destination": ["aws:ResourceTag/"], "delivery-source": ["aws:ResourceTag/"], "destination": ["aws:ResourceTag/"], "log-group": ["aws:ResourceTag/"], "log-stream": ["aws:ResourceTag/"], "lookup-table": ["aws:ResourceTag/"], "scheduled-query": ["aws:ResourceTag/"]}, "macie2": {"AllowList": ["aws:ResourceTag/"], "ClassificationJob": ["aws:ResourceTag/"], "CustomDataIdentifier": ["aws:ResourceTag/"], "FindingsFilter": ["aws:ResourceTag/"], "Member": ["aws:ResourceTag/"]}, "oam": {"Link": ["aws:ResourceTag/"], "Sink": ["aws:ResourceTag/"]}, "payment-cryptography": {"approval-team": ["aws:ResourceTag/"], "key": ["aws:ResourceTag/"]}, "quicksight": {"accessControlApplication": ["aws:ResourceTag/"], "actionconnector": ["aws:ResourceTag/"], "analysis": ["aws:ResourceTag/"], "app": ["aws:ResourceTag/"], "brand": ["aws:ResourceTag/"], "customization": ["aws:ResourceTag/"], "custompermissions": ["aws:ResourceTag/"], "dashboard": ["aws:ResourceTag/"], "dashboardSnapshotJob": ["aws:ResourceTag/"], "dataset": ["aws:ResourceTag/"], "datasource": ["aws:ResourceTag/"], "dlpSetting": ["aws:ResourceTag/"], "emailCustomizationTemplate": ["aws:ResourceTag/"], "flow": ["aws:ResourceTag/"], "folder": ["aws:ResourceTag/"], "inboundConnector": ["aws:ResourceTag/"], "ingestion": ["aws:ResourceTag/"], "knowledgeBase": ["aws:ResourceTag/"], "namespace": ["aws:ResourceTag/"], "oauthClientApplication": ["aws:ResourceTag/"], "template": ["aws:ResourceTag/"], "theme": ["aws:ResourceTag/"], "topic": ["aws:ResourceTag/"], "user": ["aws:ResourceTag/"], "vpcconnection": ["aws:ResourceTag/"]}, "ram": {"customer-managed-permission": ["aws:ResourceTag/", "ram:ResourceTag/"], "resource-share": ["aws:ResourceTag/", "ram:ResourceTag/"]}, "redshift": {"cluster": ["aws:ResourceTag/"], "datashare": ["aws:ResourceTag/"], "eventsubscription": ["aws:ResourceTag/"], "hsmclientcertificate": ["aws:ResourceTag/"], "hsmconfiguration": ["aws:ResourceTag/"], "integration": ["aws:ResourceTag/"], "parametergroup": ["aws:ResourceTag/"], "securitygroup": ["aws:ResourceTag/"], "securitygroupingress-cidr": ["aws:ResourceTag/"], "securitygroupingress-ec2securitygroup": ["aws:ResourceTag/"], "snapshot": ["aws:ResourceTag/"], "snapshotcopygrant": ["aws:ResourceTag/"], "snapshotschedule": ["aws:ResourceTag/"], "subnetgroup": ["aws:ResourceTag/"], "usagelimit": ["aws:ResourceTag/"]}, "redshift-data": {"cluster": ["aws:ResourceTag/"], "workgroup": ["aws:ResourceTag/"]}, "redshift-serverless": {"namespace": ["aws:ResourceTag/"], "recoveryPoint": ["aws:ResourceTag/"], "snapshot": ["aws:ResourceTag/"], "workgroup": ["aws:ResourceTag/"]}, "rekognition": {"collection": ["aws:ResourceTag/"], "dataset": ["aws:ResourceTag/"], "project": ["aws:ResourceTag/"], "projectversion": ["aws:ResourceTag/"], "streamprocessor": ["aws:ResourceTag/"]}, "resource-explorer-2": {"index": ["aws:ResourceTag/"], "view": ["aws:ResourceTag/"]}, "scheduler": {"schedule-group": ["aws:ResourceTag/"]}, "secretsmanager": {"Secret": ["aws:ResourceTag/", "secretsmanager:ResourceTag/"]}, "securityhub": {"aggregatorv2": ["aws:ResourceTag/"], "automation-rule": ["aws:ResourceTag/"], "automation-rulev2": ["aws:ResourceTag/"], "configuration-policy": ["aws:ResourceTag/"], "connector": ["aws:ResourceTag/"], "connectorv2": ["aws:ResourceTag/"], "hub": ["aws:ResourceTag/"], "hubv2": ["aws:ResourceTag/"]}, "servicediscovery": {"namespace": ["aws:ResourceTag/"], "service": ["aws:ResourceTag/"]}, "signer": {"signing-profile": ["aws:ResourceTag/"]}, "ssm": {"association": ["aws:ResourceTag/"], "automation-execution": ["aws:ResourceTag/", "ssm:resourceTag/"], "cloud-connector": ["aws:ResourceTag/"], "document": ["aws:ResourceTag/", "ssm:resourceTag/"], "instance": ["aws:ResourceTag/", "ssm:resourceTag/"], "maintenancewindow": ["aws:ResourceTag/", "ssm:resourceTag/"], "managed-instance": ["aws:ResourceTag/", "ssm:resourceTag/"], "opsitem": ["aws:ResourceTag/"], "opsmetadata": ["aws:ResourceTag/", "ssm:resourceTag/"], "parameter": ["aws:ResourceTag/", "ssm:resourceTag/"], "patchbaseline": ["aws:ResourceTag/", "ssm:resourceTag/"], "task": ["aws:ResourceTag/"], "windowtarget": ["aws:ResourceTag/", "ssm:resourceTag/"], "windowtask": ["aws:ResourceTag/", "ssm:resourceTag/"]}, "sso": {"Application": ["aws:ResourceTag/"], "Instance": ["aws:ResourceTag/"], "PermissionSet": ["aws:ResourceTag/"], "TrustedTokenIssuer": ["aws:ResourceTag/"]}, "states": {"activity": ["aws:ResourceTag/"], "execution": ["aws:ResourceTag/"], "statemachine": ["aws:ResourceTag/"], "statemachinealias": ["aws:ResourceTag/"], "statemachineversion": ["aws:ResourceTag/"]}, "textract": {"adapter": ["aws:ResourceTag/"], "adapterversion": ["aws:ResourceTag/"]}, "timestream-influxdb": {"db-backup": ["aws:ResourceTag/"], "db-cluster": ["aws:ResourceTag/"], "db-instance": ["aws:ResourceTag/"], "db-parameter-group": ["aws:ResourceTag/"]}, "translate": {"parallel-data": ["aws:ResourceTag/"], "terminology": ["aws:ResourceTag/"]}, "xray": {"group": ["aws:ResourceTag/"], "sampling-rule": ["aws:ResourceTag/"]}}, + "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}"}, "application-autoscaling": {"ScalableTarget": "arn:${Partition}:application-autoscaling:${Region}:${Account}:scalable-target/${ResourceId}"}, "athena": {"capacity-reservation": "arn:${Partition}:athena:${Region}:${Account}:capacity-reservation/${CapacityReservationName}", "datacatalog": "arn:${Partition}:athena:${Region}:${Account}:datacatalog/${DataCatalogName}", "session": "arn:${Partition}:athena:${Region}:${Account}:workgroup/${WorkGroupName}/session/${SessionId}", "system-table": "arn:${Partition}:athena:${Region}:${Account}:system-table/${TableName}", "workgroup": "arn:${Partition}:athena:${Region}:${Account}:workgroup/${WorkGroupName}"}, "bcm-data-exports": {"billingview": "arn:${Partition}:billing::${Account}:billingview/${ResourceId}", "export": "arn:${Partition}:bcm-data-exports:${Region}:${Account}:export/${Identifier}", "table": "arn:${Partition}:bcm-data-exports:${Region}:${Account}:table/${Identifier}"}, "bcm-pricing-calculator": {"bill-estimate": "arn:${Partition}:bcm-pricing-calculator::${Account}:bill-estimate/${BillEstimateId}", "bill-scenario": "arn:${Partition}:bcm-pricing-calculator::${Account}:bill-scenario/${BillScenarioId}", "workload-estimate": "arn:${Partition}:bcm-pricing-calculator::${Account}:workload-estimate/${WorkloadEstimateId}"}, "budgets": {"budget": "arn:${Partition}:budgets::${Account}:budget/${BudgetName}", "budgetAction": "arn:${Partition}:budgets::${Account}:budget/${BudgetName}/action/${ActionId}"}, "ce": {"anomalymonitor": "arn:${Partition}:ce::${Account}:anomalymonitor/${Identifier}", "anomalysubscription": "arn:${Partition}:ce::${Account}:anomalysubscription/${Identifier}", "billingview": "arn:${Partition}:billing::${Account}:billingview/${ResourceId}", "costcategory": "arn:${Partition}:ce::${Account}:costcategory/${Identifier}"}, "cloudformation": {"changeset": "arn:${Partition}:cloudformation:${Region}:${Account}:changeSet/${ChangeSetName}/${Id}", "generatedtemplate": "arn:${Partition}:cloudformation:${Region}:${Account}:generatedTemplate/${Id}", "resourcescan": "arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}", "stack": "arn:${Partition}:cloudformation:${Region}:${Account}:stack/${StackName}/${Id}", "stackset": "arn:${Partition}:cloudformation:${Region}:${Account}:stackset/${StackSetName}:${Id}", "stackset-target": "arn:${Partition}:cloudformation:${Region}:${Account}:stackset-target/${StackSetTarget}", "type": "arn:${Partition}:cloudformation:${Region}:${Account}:type/resource/${Type}", "typeHook": "arn:${Partition}:cloudformation:${Region}:${Account}:type/hook/${Type}"}, "cloudfront": {"anycast-ip-list": "arn:${Partition}:cloudfront::${Account}:anycast-ip-list/${Id}", "cache-policy": "arn:${Partition}:cloudfront::${Account}:cache-policy/${Id}", "connection-function": "arn:${Partition}:cloudfront::${Account}:connection-function/${Id}", "connection-group": "arn:${Partition}:cloudfront::${Account}:connection-group/${Id}", "continuous-deployment-policy": "arn:${Partition}:cloudfront::${Account}:continuous-deployment-policy/${Id}", "distribution": "arn:${Partition}:cloudfront::${Account}:distribution/${DistributionId}", "distribution-tenant": "arn:${Partition}:cloudfront::${Account}:distribution-tenant/${Id}", "field-level-encryption-config": "arn:${Partition}:cloudfront::${Account}:field-level-encryption-config/${Id}", "field-level-encryption-profile": "arn:${Partition}:cloudfront::${Account}:field-level-encryption-profile/${Id}", "function": "arn:${Partition}:cloudfront::${Account}:function/${Name}", "key-value-store": "arn:${Partition}:cloudfront::${Account}:key-value-store/${Name}", "origin-access-control": "arn:${Partition}:cloudfront::${Account}:origin-access-control/${Id}", "origin-access-identity": "arn:${Partition}:cloudfront::${Account}:origin-access-identity/${Id}", "origin-request-policy": "arn:${Partition}:cloudfront::${Account}:origin-request-policy/${Id}", "realtime-log-config": "arn:${Partition}:cloudfront::${Account}:realtime-log-config/${Name}", "response-headers-policy": "arn:${Partition}:cloudfront::${Account}:response-headers-policy/${Id}", "streaming-distribution": "arn:${Partition}:cloudfront::${Account}:streaming-distribution/${DistributionId}", "trust-store": "arn:${Partition}:cloudfront::${Account}:trust-store/${Id}", "vpcorigin": "arn:${Partition}:cloudfront::${Account}:vpcorigin/${Id}"}, "cloudfront-keyvaluestore": {"key-value-store": "arn:${Partition}:cloudfront::${Account}:key-value-store/${ResourceId}"}, "cloudtrail": {"channel": "arn:${Partition}:cloudtrail:${Region}:${Account}:channel/${ChannelId}", "dashboard": "arn:${Partition}:cloudtrail:${Region}:${Account}:dashboard/${DashboardName}", "eventdatastore": "arn:${Partition}:cloudtrail:${Region}:${Account}:eventdatastore/${EventDataStoreId}", "trail": "arn:${Partition}:cloudtrail:${Region}:${Account}:trail/${TrailName}"}, "codebuild": {"build": "arn:${Partition}:codebuild:${Region}:${Account}:build/${BuildId}", "build-batch": "arn:${Partition}:codebuild:${Region}:${Account}:build-batch/${BuildBatchId}", "fleet": "arn:${Partition}:codebuild:${Region}:${Account}:fleet/${FleetName}:${FleetId}", "project": "arn:${Partition}:codebuild:${Region}:${Account}:project/${ProjectName}", "report": "arn:${Partition}:codebuild:${Region}:${Account}:report/${ReportGroupName}:${ReportId}", "report-group": "arn:${Partition}:codebuild:${Region}:${Account}:report-group/${ReportGroupName}", "sandbox": "arn:${Partition}:codebuild:${Region}:${Account}:sandbox/${SandboxId}"}, "codepipeline": {"action": "arn:${Partition}:codepipeline:${Region}:${Account}:${PipelineName}/${StageName}/${ActionName}", "actiontype": "arn:${Partition}:codepipeline:${Region}:${Account}:actiontype:${Owner}/${Category}/${Provider}/${Version}", "pipeline": "arn:${Partition}:codepipeline:${Region}:${Account}:${PipelineName}", "stage": "arn:${Partition}:codepipeline:${Region}:${Account}:${PipelineName}/${StageName}", "webhook": "arn:${Partition}:codepipeline:${Region}:${Account}:webhook:${WebhookName}"}, "cognito-identity": {"identitypool": "arn:${Partition}:cognito-identity:${Region}:${Account}:identitypool/${IdentityPoolId}"}, "cognito-idp": {"userpool": "arn:${Partition}:cognito-idp:${Region}:${Account}:userpool/${UserPoolId}", "webacl": "arn:${Partition}:wafv2:${Region}:${Account}:${Scope}/webacl/${Name}/${Id}"}, "controlcatalog": {"common-control": "arn:${Partition}:controlcatalog:::common-control/${CommonControlId}", "control": "arn:${Partition}:controlcatalog:::control/${ControlId}", "domain": "arn:${Partition}:controlcatalog:::domain/${DomainId}", "objective": "arn:${Partition}:controlcatalog:::objective/${ObjectiveId}"}, "controltower": {"Baseline": "arn:${Partition}:controltower:${Region}::baseline/${BaselineId}", "EnabledBaseline": "arn:${Partition}:controltower:${Region}:${Account}:enabledbaseline/${EnabledBaselineId}", "EnabledControl": "arn:${Partition}:controltower:${Region}:${Account}:enabledcontrol/${EnabledControlId}", "LandingZone": "arn:${Partition}:controltower:${Region}:${Account}:landingzone/${LandingZoneId}"}, "cur": {"cur": "arn:${Partition}:cur:${Region}:${Account}:definition/${ReportName}"}, "datasync": {"agent": "arn:${Partition}:datasync:${Region}:${Account}:agent/${AgentId}", "discoveryjob": "arn:${Partition}:datasync:${Region}:${Account}:system/${StorageSystemId}/job/${DiscoveryJobId}", "location": "arn:${Partition}:datasync:${Region}:${Account}:location/${LocationId}", "storagesystem": "arn:${Partition}:datasync:${Region}:${Account}:system/${StorageSystemId}", "task": "arn:${Partition}:datasync:${Region}:${Account}:task/${TaskId}", "taskexecution": "arn:${Partition}:datasync:${Region}:${Account}:task/${TaskId}/execution/${ExecutionId}"}, "dynamodb": {"backup": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}/backup/${BackupName}", "bulk-operation": "arn:${Partition}:dynamodb:${Region}:${Account}:bulk-operation/${BulkOperationId}", "export": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}/export/${ExportName}", "global-table": "arn:${Partition}:dynamodb::${Account}:global-table/${GlobalTableName}", "import": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}/import/${ImportName}", "index": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}/index/${IndexName}", "stream": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}/stream/${StreamLabel}", "table": "arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName}"}, "ec2": {"application-status-check": "arn:${Partition}:ec2:${Region}:${Account}:application-status-check/${ApplicationStatusCheckId}", "capacity-block": "arn:${Partition}:ec2:${Region}:${Account}:capacity-block/${CapacityBlockId}", "capacity-manager-data-export": "arn:${Partition}:ec2:${Region}:${Account}:capacity-manager-data-export/${CapacityManagerDataExportId}", "capacity-reservation": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation/${CapacityReservationId}", "capacity-reservation-cancellation-quote": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-cancellation-quote/${CapacityReservationCancellationQuoteId}", "capacity-reservation-fleet": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-fleet/${CapacityReservationFleetId}", "capacity-reservation-modification-quote": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-modification-quote/${CapacityReservationModificationQuoteId}", "carrier-gateway": "arn:${Partition}:ec2:${Region}:${Account}:carrier-gateway/${CarrierGatewayId}", "certificate": "arn:${Partition}:acm:${Region}:${Account}:certificate/${CertificateId}", "client-vpn-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:client-vpn-endpoint/${ClientVpnEndpointId}", "coip-pool": "arn:${Partition}:ec2:${Region}:${Account}:coip-pool/${Ipv4PoolCoipId}", "customer-gateway": "arn:${Partition}:ec2:${Region}:${Account}:customer-gateway/${CustomerGatewayId}", "declarative-policies-report": "arn:${Partition}:ec2:${Region}:${Account}:declarative-policies-report/${DeclarativePoliciesReportId}", "dedicated-host": "arn:${Partition}:ec2:${Region}:${Account}:dedicated-host/${DedicatedHostId}", "dhcp-options": "arn:${Partition}:ec2:${Region}:${Account}:dhcp-options/${DhcpOptionsId}", "egress-only-internet-gateway": "arn:${Partition}:ec2:${Region}:${Account}:egress-only-internet-gateway/${EgressOnlyInternetGatewayId}", "elastic-gpu": "arn:${Partition}:ec2:${Region}:${Account}:elastic-gpu/${ElasticGpuId}", "elastic-inference": "arn:${Partition}:elastic-inference:${Region}:${Account}:elastic-inference-accelerator/${AcceleratorId}", "elastic-ip": "arn:${Partition}:ec2:${Region}:${Account}:elastic-ip/${AllocationId}", "export-image-task": "arn:${Partition}:ec2:${Region}:${Account}:export-image-task/${ExportImageTaskId}", "export-instance-task": "arn:${Partition}:ec2:${Region}:${Account}:export-instance-task/${ExportTaskId}", "fleet": "arn:${Partition}:ec2:${Region}:${Account}:fleet/${FleetId}", "fpga-image": "arn:${Partition}:ec2:${Region}:${Account}:fpga-image/${FpgaImageId}", "group": "arn:${Partition}:resource-groups:${Region}:${Account}:group/${GroupName}", "host-reservation": "arn:${Partition}:ec2:${Region}:${Account}:host-reservation/${HostReservationId}", "image": "arn:${Partition}:ec2:${Region}::image/${ImageId}", "image-usage-report": "arn:${Partition}:ec2:${Region}:${Account}:image-usage-report/${ImageUsageReportId}", "import-image-task": "arn:${Partition}:ec2:${Region}:${Account}:import-image-task/${ImportImageTaskId}", "import-snapshot-task": "arn:${Partition}:ec2:${Region}:${Account}:import-snapshot-task/${ImportSnapshotTaskId}", "instance": "arn:${Partition}:ec2:${Region}:${Account}:instance/${InstanceId}", "instance-connect-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:instance-connect-endpoint/${InstanceConnectEndpointId}", "instance-event-window": "arn:${Partition}:ec2:${Region}:${Account}:instance-event-window/${InstanceEventWindowId}", "internet-gateway": "arn:${Partition}:ec2:${Region}:${Account}:internet-gateway/${InternetGatewayId}", "ipam": "arn:${Partition}:ec2::${Account}:ipam/${IpamId}", "ipam-external-resource-verification-token": "arn:${Partition}:ec2::${Account}:ipam-external-resource-verification-token/${IpamExternalResourceVerificationTokenId}", "ipam-internet-registry-association": "arn:${Partition}:ec2::${Account}:ipam-internet-registry-association/${IpamInternetRegistryAssociationId}", "ipam-policy": "arn:${Partition}:ec2::${Account}:ipam-policy/${IpamPolicyId}", "ipam-pool": "arn:${Partition}:ec2::${Account}:ipam-pool/${IpamPoolId}", "ipam-pool-allocation": "arn:${Partition}:ec2:${Region}:${Account}:ipam-pool-allocation/${IpamPoolAllocationId}", "ipam-prefix-list-resolver": "arn:${Partition}:ec2::${Account}:ipam-prefix-list-resolver/${IpamPrefixListResolverId}", "ipam-prefix-list-resolver-target": "arn:${Partition}:ec2::${Account}:ipam-prefix-list-resolver-target/${IpamPrefixListResolverTargetId}", "ipam-resource-discovery": "arn:${Partition}:ec2::${Account}:ipam-resource-discovery/${IpamResourceDiscoveryId}", "ipam-resource-discovery-association": "arn:${Partition}:ec2::${Account}:ipam-resource-discovery-association/${IpamResourceDiscoveryAssociationId}", "ipam-scope": "arn:${Partition}:ec2::${Account}:ipam-scope/${IpamScopeId}", "ipv4pool-ec2": "arn:${Partition}:ec2:${Region}:${Account}:ipv4pool-ec2/${Ipv4PoolEc2Id}", "ipv6pool-ec2": "arn:${Partition}:ec2:${Region}:${Account}:ipv6pool-ec2/${Ipv6PoolEc2Id}", "key-pair": "arn:${Partition}:ec2:${Region}:${Account}:key-pair/${KeyPairName}", "launch-template": "arn:${Partition}:ec2:${Region}:${Account}:launch-template/${LaunchTemplateId}", "license-configuration": "arn:${Partition}:license-manager:${Region}:${Account}:license-configuration:${LicenseConfigurationId}", "local-gateway": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway/${LocalGatewayId}", "local-gateway-route-table": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table/${LocalGatewayRoutetableId}", "local-gateway-route-table-virtual-interface-group-association": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table-virtual-interface-group-association/${LocalGatewayRouteTableVirtualInterfaceGroupAssociationId}", "local-gateway-route-table-vpc-association": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table-vpc-association/${LocalGatewayRouteTableVpcAssociationId}", "local-gateway-virtual-interface": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-virtual-interface/${LocalGatewayVirtualInterfaceId}", "local-gateway-virtual-interface-group": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-virtual-interface-group/${LocalGatewayVirtualInterfaceGroupId}", "mac-modification-task": "arn:${Partition}:ec2:${Region}:${Account}:mac-modification-task/${MacModificationTaskId}", "natgateway": "arn:${Partition}:ec2:${Region}:${Account}:natgateway/${NatGatewayId}", "network-acl": "arn:${Partition}:ec2:${Region}:${Account}:network-acl/${NaclId}", "network-insights-access-scope": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-access-scope/${NetworkInsightsAccessScopeId}", "network-insights-access-scope-analysis": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-access-scope-analysis/${NetworkInsightsAccessScopeAnalysisId}", "network-insights-analysis": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-analysis/${NetworkInsightsAnalysisId}", "network-insights-path": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-path/${NetworkInsightsPathId}", "network-interface": "arn:${Partition}:ec2:${Region}:${Account}:network-interface/${NetworkInterfaceId}", "outpost-lag": "arn:${Partition}:ec2:${Region}:${Account}:outpost-lag/${OutpostLagId}", "placement-group": "arn:${Partition}:ec2:${Region}:${Account}:placement-group/${PlacementGroupName}", "prefix-list": "arn:${Partition}:ec2:${Region}:${Account}:prefix-list/${PrefixListId}", "replace-root-volume-task": "arn:${Partition}:ec2:${Region}:${Account}:replace-root-volume-task/${ReplaceRootVolumeTaskId}", "reserved-instances": "arn:${Partition}:ec2:${Region}:${Account}:reserved-instances/${ReservationId}", "role": "arn:${Partition}:iam::${Account}:role/${RoleNameWithPath}", "route-server": "arn:${Partition}:ec2:${Region}:${Account}:route-server/${RouteServerId}", "route-server-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:route-server-endpoint/${RouteServerEndpointId}", "route-server-peer": "arn:${Partition}:ec2:${Region}:${Account}:route-server-peer/${RouteServerPeerId}", "route-table": "arn:${Partition}:ec2:${Region}:${Account}:route-table/${RouteTableId}", "secondary-interface": "arn:${Partition}:ec2:${Region}:${Account}:secondary-interface/${SecondaryInterfaceId}", "secondary-network": "arn:${Partition}:ec2:${Region}:${Account}:secondary-network/${SecondaryNetworkId}", "secondary-subnet": "arn:${Partition}:ec2:${Region}:${Account}:secondary-subnet/${SecondarySubnetId}", "security-group": "arn:${Partition}:ec2:${Region}:${Account}:security-group/${SecurityGroupId}", "security-group-rule": "arn:${Partition}:ec2:${Region}:${Account}:security-group-rule/${SecurityGroupRuleId}", "snapshot": "arn:${Partition}:ec2:${Region}::snapshot/${SnapshotId}", "spot-fleet-request": "arn:${Partition}:ec2:${Region}:${Account}:spot-fleet-request/${SpotFleetRequestId}", "spot-instances-request": "arn:${Partition}:ec2:${Region}:${Account}:spot-instances-request/${SpotInstanceRequestId}", "subnet": "arn:${Partition}:ec2:${Region}:${Account}:subnet/${SubnetId}", "subnet-cidr-reservation": "arn:${Partition}:ec2:${Region}:${Account}:subnet-cidr-reservation/${SubnetCidrReservationId}", "traffic-mirror-filter": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-filter/${TrafficMirrorFilterId}", "traffic-mirror-filter-rule": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-filter-rule/${TrafficMirrorFilterRuleId}", "traffic-mirror-session": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-session/${TrafficMirrorSessionId}", "traffic-mirror-target": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-target/${TrafficMirrorTargetId}", "transit-gateway": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway/${TransitGatewayId}", "transit-gateway-attachment": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-attachment/${TransitGatewayAttachmentId}", "transit-gateway-connect-peer": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-connect-peer/${TransitGatewayConnectPeerId}", "transit-gateway-metering-policy": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-metering-policy/${TransitGatewayMeteringPolicyId}", "transit-gateway-multicast-domain": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-multicast-domain/${TransitGatewayMulticastDomainId}", "transit-gateway-policy-table": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-policy-table/${TransitGatewayPolicyTableId}", "transit-gateway-route-table": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-route-table/${TransitGatewayRouteTableId}", "transit-gateway-route-table-announcement": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-route-table-announcement/${TransitGatewayRouteTableAnnouncementId}", "verified-access-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-endpoint/${VerifiedAccessEndpointId}", "verified-access-endpoint-target": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-endpoint-target/${VerifiedAccessEndpointTargetId}", "verified-access-group": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-group/${VerifiedAccessGroupId}", "verified-access-instance": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-instance/${VerifiedAccessInstanceId}", "verified-access-policy": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-policy/${VerifiedAccessPolicyId}", "verified-access-trust-provider": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-trust-provider/${VerifiedAccessTrustProviderId}", "volume": "arn:${Partition}:ec2:${Region}:${Account}:volume/${VolumeId}", "vpc": "arn:${Partition}:ec2:${Region}:${Account}:vpc/${VpcId}", "vpc-block-public-access-exclusion": "arn:${Partition}:ec2:${Region}:${Account}:vpc-block-public-access-exclusion/${VpcBlockPublicAccessExclusionId}", "vpc-encryption-control": "arn:${Partition}:ec2:${Region}:${Account}:vpc-encryption-control/${VpcEncryptionControlId}", "vpc-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint/${VpcEndpointId}", "vpc-endpoint-connection": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint-connection/${VpcEndpointConnectionId}", "vpc-endpoint-service": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint-service/${VpcEndpointServiceId}", "vpc-endpoint-service-permission": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint-service-permission/${VpcEndpointServicePermissionId}", "vpc-flow-log": "arn:${Partition}:ec2:${Region}:${Account}:vpc-flow-log/${VpcFlowLogId}", "vpc-peering-connection": "arn:${Partition}:ec2:${Region}:${Account}:vpc-peering-connection/${VpcPeeringConnectionId}", "vpn-concentrator": "arn:${Partition}:ec2:${Region}:${Account}:vpn-concentrator/${VpnConcentratorId}", "vpn-connection": "arn:${Partition}:ec2:${Region}:${Account}:vpn-connection/${VpnConnectionId}", "vpn-connection-device-type": "arn:${Partition}:ec2:${Region}:${Account}:vpn-connection-device-type/${VpnConnectionDeviceTypeId}", "vpn-gateway": "arn:${Partition}:ec2:${Region}:${Account}:vpn-gateway/${VpnGatewayId}"}, "ecr": {"repository": "arn:${Partition}:ecr:${Region}:${Account}:repository/${RepositoryName}"}, "ecs": {"capacity-provider": "arn:${Partition}:ecs:${Region}:${Account}:capacity-provider/${CapacityProviderName}", "cluster": "arn:${Partition}:ecs:${Region}:${Account}:cluster/${ClusterName}", "container-instance": "arn:${Partition}:ecs:${Region}:${Account}:container-instance/${ClusterName}/${ContainerInstanceId}", "daemon": "arn:${Partition}:ecs:${Region}:${Account}:daemon/${ClusterName}/${DaemonName}", "daemon-deployment": "arn:${Partition}:ecs:${Region}:${Account}:daemon-deployment/${ClusterName}/${DaemonName}/${DaemonDeploymentId}", "daemon-revision": "arn:${Partition}:ecs:${Region}:${Account}:daemon-revision/${ClusterName}/${DaemonName}/${DaemonRevisionId}", "daemon-task-definition": "arn:${Partition}:ecs:${Region}:${Account}:daemon-task-definition/${DaemonTaskDefinitionFamilyName}:${DaemonTaskDefinitionRevisionNumber}", "gateway": "arn:${Partition}:ecs:${Region}:${Account}:gateway/${GatewayName}/${GatewayId}", "gateway-route": "arn:${Partition}:ecs:${Region}:${Account}:gateway-route/${GatewayName}/${GatewayId}/${RouteId}", "service": "arn:${Partition}:ecs:${Region}:${Account}:service/${ClusterName}/${ServiceName}", "service-deployment": "arn:${Partition}:ecs:${Region}:${Account}:service-deployment/${ClusterName}/${ServiceName}/${ServiceDeploymentId}", "service-revision": "arn:${Partition}:ecs:${Region}:${Account}:service-revision/${ClusterName}/${ServiceName}/${ServiceRevisionId}", "task": "arn:${Partition}:ecs:${Region}:${Account}:task/${ClusterName}/${TaskId}", "task-definition": "arn:${Partition}:ecs:${Region}:${Account}:task-definition/${TaskDefinitionFamilyName}:${TaskDefinitionRevisionNumber}", "task-set": "arn:${Partition}:ecs:${Region}:${Account}:task-set/${ClusterName}/${ServiceName}/${TaskSetId}"}, "elasticloadbalancing": {"listener-rule/app": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener-rule/app/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}/${ListenerRuleId}", "listener-rule/net": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener-rule/net/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}/${ListenerRuleId}", "listener/app": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener/app/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}", "listener/gwy": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener/gwy/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}", "listener/net": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener/net/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}", "loadbalancer": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/${LoadBalancerName}", "loadbalancer/app/": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/app/${LoadBalancerName}/${LoadBalancerId}", "loadbalancer/gwy/": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/gwy/${LoadBalancerName}/${LoadBalancerId}", "loadbalancer/net/": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/net/${LoadBalancerName}/${LoadBalancerId}", "targetgroup": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:targetgroup/${TargetGroupName}/${TargetGroupId}", "truststore": "arn:${Partition}:elasticloadbalancing:${Region}:${Account}:truststore/${TrustStoreName}/${TrustStoreId}"}, "elasticmapreduce": {"cluster": "arn:${Partition}:elasticmapreduce:${Region}:${Account}:cluster/${ClusterId}", "editor": "arn:${Partition}:elasticmapreduce:${Region}:${Account}:editor/${EditorId}", "notebook-execution": "arn:${Partition}:elasticmapreduce:${Region}:${Account}:notebook-execution/${NotebookExecutionId}", "session": "arn:${Partition}:elasticmapreduce:${Region}:${Account}:cluster/${ClusterId}/session/${SessionId}", "studio": "arn:${Partition}:elasticmapreduce:${Region}:${Account}:studio/${StudioId}"}, "emr-serverless": {"application": "arn:${Partition}:emr-serverless:${Region}:${Account}:/applications/${ApplicationId}", "jobRun": "arn:${Partition}:emr-serverless:${Region}:${Account}:/applications/${ApplicationId}/jobruns/${JobRunId}", "session": "arn:${Partition}:emr-serverless:${Region}:${Account}:/applications/${ApplicationId}/sessions/${SessionId}"}, "es": {"application": "arn:${Partition}:opensearch:${Region}:${Account}:application/${AppId}", "datasource": "arn:${Partition}:opensearch:${Region}:${Account}:datasource/${DataSourceName}", "domain": "arn:${Partition}:es:${Region}:${Account}:domain/${DomainName}", "es_role": "arn:${Partition}:iam::${Account}:role/aws-service-role/es.amazonaws.com/AWSServiceRoleForAmazonOpenSearchService", "opensearchservice_role": "arn:${Partition}:iam::${Account}:role/aws-service-role/opensearchservice.amazonaws.com/AWSServiceRoleForAmazonOpenSearchService"}, "events": {"alias": "arn:${Partition}:kms:${Region}:${Account}:alias/${Alias}", "api-destination": "arn:${Partition}:events:${Region}:${Account}:api-destination/${ApiDestinationName}", "archive": "arn:${Partition}:events:${Region}:${Account}:archive/${ArchiveName}", "connection": "arn:${Partition}:events:${Region}:${Account}:connection/${ConnectionName}", "create-snapshot": "arn:${Partition}:events:${Region}:${Account}:target/create-snapshot", "endpoint": "arn:${Partition}:events:${Region}:${Account}:endpoint/${EndpointName}", "event-bus": "arn:${Partition}:events:${Region}:${Account}:event-bus/${EventBusName}", "event-busv2": "arn:${Partition}:events:${Region}:${Account}:event-busv2/${EventBusName}/${OpaqueId}", "event-source": "arn:${Partition}:events:${Region}::event-source/${EventSourceName}", "event-sourcev2": "arn:${Partition}:events:${Region}:${Account}:event-sourcev2/${SourceType}/${EventSourceName}/${OpaqueId}", "key": "arn:${Partition}:kms:${Region}:${Account}:key/${KeyId}", "reboot-instance": "arn:${Partition}:events:${Region}:${Account}:target/reboot-instance", "replay": "arn:${Partition}:events:${Region}:${Account}:replay/${ReplayName}", "rule-on-custom-event-bus": "arn:${Partition}:events:${Region}:${Account}:rule/${EventBusName}/${RuleName}", "rule-on-default-event-bus": "arn:${Partition}:events:${Region}:${Account}:rule/${RuleName}", "stop-instance": "arn:${Partition}:events:${Region}:${Account}:target/stop-instance", "subscriber": "arn:${Partition}:events:${Region}:${Account}:subscriber/${SubscriberName}/${OpaqueId}", "terminate-instance": "arn:${Partition}:events:${Region}:${Account}:target/terminate-instance"}, "firehose": {"deliverystream": "arn:${Partition}:firehose:${Region}:${Account}:deliverystream/${DeliveryStreamName}"}, "fis": {"action": "arn:${Partition}:fis:${Region}:${Account}:action/${Id}", "experiment": "arn:${Partition}:fis:${Region}:${Account}:experiment/${Id}", "experiment-template": "arn:${Partition}:fis:${Region}:${Account}:experiment-template/${Id}", "safety-lever": "arn:${Partition}:fis:${Region}:${Account}:safety-lever/${Id}"}, "globalaccelerator": {"accelerator": "arn:${Partition}:globalaccelerator::${Account}:accelerator/${ResourceId}", "attachment": "arn:${Partition}:globalaccelerator::${Account}:attachment/${ResourceId}", "endpointgroup": "arn:${Partition}:globalaccelerator::${Account}:accelerator/${ResourceId}/listener/${ListenerId}/endpoint-group/${EndpointGroupId}", "listener": "arn:${Partition}:globalaccelerator::${Account}:accelerator/${ResourceId}/listener/${ListenerId}"}, "guardduty": {"customdetectionrule": "arn:${Partition}:guardduty::aws:detection-rule/custom/${RuleId}", "customdetectionruleassociation": "arn:${Partition}:guardduty:${Region}:${Account}:detection-rule/custom/${RuleId}/association/${AssociationId}", "detector": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}", "filter": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/filter/${FilterName}", "ipset": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/ipset/${IPSetId}", "malwareprotectionplan": "arn:${Partition}:guardduty:${Region}:${Account}:malware-protection-plan/${MalwareProtectionPlanId}", "publishingDestination": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/publishingdestination/${PublishingDestinationId}", "threatentityset": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/threatentityset/${ThreatEntitySetId}", "threatintelset": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/threatintelset/${ThreatIntelSetId}", "trustedentityset": "arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/trustedentityset/${TrustedEntitySetId}"}, "inspector2": {"CIS Scan Configuration": "arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/cis-configuration/${CISScanConfigurationId}", "Code Security Integration": "arn:${Partition}:inspector2:${Region}:${Account}:codesecurity-integration/${CodeSecurityIntegrationId}", "Code Security Scan Configuration": "arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/codesecurity-configuration/${CodeSecurityScanConfigurationId}", "Connector": "arn:${Partition}:inspector2:${Region}:${Account}:connector/${ConnectorId}", "Filter": "arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/filter/${FilterId}", "Finding": "arn:${Partition}:inspector2:${Region}:${Account}:finding/${FindingId}"}, "kinesisanalytics": {"application": "arn:${Partition}:kinesisanalytics:${Region}:${Account}:application/${ApplicationName}"}, "lambda": {"capacityProvider": "arn:${Partition}:lambda:${Region}:${Account}:capacity-provider:${CapacityProviderName}", "code signing config": "arn:${Partition}:lambda:${Region}:${Account}:code-signing-config:${CodeSigningConfigId}", "durable execution": "arn:${Partition}:lambda:${Region}:${Account}:function:${FunctionName}:${Version}/durable-execution/${ExecutionName}/${ExecutionId}", "eventSourceMapping": "arn:${Partition}:lambda:${Region}:${Account}:event-source-mapping:${UUID}", "function": "arn:${Partition}:lambda:${Region}:${Account}:function:${FunctionName}", "function alias": "arn:${Partition}:lambda:${Region}:${Account}:function:${FunctionName}:${Alias}", "function version": "arn:${Partition}:lambda:${Region}:${Account}:function:${FunctionName}:${Version}", "layer": "arn:${Partition}:lambda:${Region}:${Account}:layer:${LayerName}", "layerVersion": "arn:${Partition}:lambda:${Region}:${Account}:layer:${LayerName}:${LayerVersion}", "microvmImage": "arn:${Partition}:lambda:${Region}:${Account}:microvm-image:${MicrovmImageName}", "networkConnector": "arn:${Partition}:lambda:${Region}:${Account}:network-connector:${NetworkConnectorId}", "webFunction": "arn:${Partition}:lambda:${Region}:${Account}:web-function/${FunctionName}", "webFunctionEndpoint": "arn:${Partition}:lambda:${Region}:${Account}:web-function/${FunctionName}/endpoint/${EndpointName}", "webFunctionRevision": "arn:${Partition}:lambda:${Region}:${Account}:web-function/${FunctionName}/revision/${RevisionId}"}, "logs": {"anomaly-detector": "arn:${Partition}:logs:${Region}:${Account}:anomaly-detector:${DetectorId}", "delivery": "arn:${Partition}:logs:${Region}:${Account}:delivery:${DeliveryName}", "delivery-destination": "arn:${Partition}:logs:${Region}:${Account}:delivery-destination:${DeliveryDestinationName}", "delivery-source": "arn:${Partition}:logs:${Region}:${Account}:delivery-source:${DeliverySourceName}", "destination": "arn:${Partition}:logs:${Region}:${Account}:destination:${DestinationName}", "log-group": "arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}", "log-stream": "arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}", "lookup-table": "arn:${Partition}:logs:${Region}:${Account}:lookup-table:${LookupTableName}", "scheduled-query": "arn:${Partition}:logs:${Region}:${Account}:scheduled-query:${ScheduledQueryId}"}, "macie2": {"AllowList": "arn:${Partition}:macie2:${Region}:${Account}:allow-list/${ResourceId}", "ClassificationJob": "arn:${Partition}:macie2:${Region}:${Account}:classification-job/${ResourceId}", "CustomDataIdentifier": "arn:${Partition}:macie2:${Region}:${Account}:custom-data-identifier/${ResourceId}", "FindingsFilter": "arn:${Partition}:macie2:${Region}:${Account}:findings-filter/${ResourceId}", "Member": "arn:${Partition}:macie2:${Region}:${Account}:member/${ResourceId}"}, "oam": {"Link": "arn:${Partition}:oam:${Region}:${Account}:link/${ResourceId}", "Sink": "arn:${Partition}:oam:${Region}:${Account}:sink/${ResourceId}"}, "payment-cryptography": {"alias": "arn:${Partition}:payment-cryptography:${Region}:${Account}:alias/${Alias}", "approval-team": "arn:${Partition}:mpa:${Region}:${Account}:approval-team/${ApprovalTeamId}", "key": "arn:${Partition}:payment-cryptography:${Region}:${Account}:key/${KeyId}"}, "quicksight": {"accessControlApplication": "arn:${Partition}:quicksight:${Region}:${Account}:access-control-application/${ResourceId}", "account": "arn:${Partition}:quicksight:${Region}:${Account}:account/${ResourceId}", "actionconnector": "arn:${Partition}:quicksight:${Region}:${Account}:action-connector/${ResourceId}", "agent": "arn:${Partition}:quicksight:${Region}:${Account}:agent/${ResourceId}", "analysis": "arn:${Partition}:quicksight:${Region}:${Account}:analysis/${ResourceId}", "app": "arn:${Partition}:quicksight:${Region}:${Account}:app/${ResourceId}", "approvalPolicy": "arn:${Partition}:quicksight:${Region}:${Account}:approval-policy/${ResourceId}", "assetBundleExportJob": "arn:${Partition}:quicksight:${Region}:${Account}:asset-bundle-export-job/${ResourceId}", "assetBundleImportJob": "arn:${Partition}:quicksight:${Region}:${Account}:asset-bundle-import-job/${ResourceId}", "assignment": "arn:${Partition}:quicksight::${Account}:assignment/${ResourceId}", "automation": "arn:${Partition}:quicksight:${Region}:${Account}:automation-group/${AutomationGroupId}/automation/${ResourceId}", "automationGroup": "arn:${Partition}:quicksight:${Region}:${Account}:automation-group/${ResourceId}", "automationJob": "arn:${Partition}:quicksight:${Region}:${Account}:automation-group/${AutomationGroupId}/automation/${AutomationId}/job/${ResourceId}", "brand": "arn:${Partition}:quicksight:${Region}:${Account}:brand/${ResourceId}", "customization": "arn:${Partition}:quicksight:${Region}:${Account}:customization/${ResourceId}", "custompermissions": "arn:${Partition}:quicksight:${Region}:${Account}:custompermissions/${ResourceId}", "dashboard": "arn:${Partition}:quicksight:${Region}:${Account}:dashboard/${ResourceId}", "dashboardSnapshotJob": "arn:${Partition}:quicksight:${Region}:${Account}:dashboard/${DashboardId}/snapshot-job/${ResourceId}", "dataset": "arn:${Partition}:quicksight:${Region}:${Account}:dataset/${ResourceId}", "datasource": "arn:${Partition}:quicksight:${Region}:${Account}:datasource/${ResourceId}", "dlpSetting": "arn:${Partition}:quicksight:${Region}:${Account}:dlpsetting/${ResourceId}", "emailCustomizationTemplate": "arn:${Partition}:quicksight:${Region}:${Account}:email-customization-template/${ResourceId}", "extension": "arn:${Partition}:quicksight:${Region}:${Account}:extension/${ResourceId}", "extensionaccess": "arn:${Partition}:quicksight:${Region}:${Account}:extension-access/${ResourceId}", "flow": "arn:${Partition}:quicksight:${Region}:${Account}:flow/${ResourceId}", "folder": "arn:${Partition}:quicksight:${Region}:${Account}:folder/${ResourceId}", "group": "arn:${Partition}:quicksight:${Region}:${Account}:group/${ResourceId}", "inboundConnector": "arn:${Partition}:quicksight:${Region}:${Account}:inbound-connector/${ResourceId}", "ingestion": "arn:${Partition}:quicksight:${Region}:${Account}:dataset/${DatasetId}/ingestion/${ResourceId}", "knowledgeBase": "arn:${Partition}:quicksight:${Region}:${Account}:knowledge-base/${ResourceId}", "limitsProfile": "arn:${Partition}:quicksight:${Region}:${Account}:limits-profile/${ResourceId}", "namespace": "arn:${Partition}:quicksight:${Region}:${Account}:namespace/${ResourceId}", "oauthClientApplication": "arn:${Partition}:quicksight:${Region}:${Account}:oauthClientApplication/${ResourceId}", "refreshschedule": "arn:${Partition}:quicksight:${Region}:${Account}:dataset/${DatasetId}/refresh-schedule/${ResourceId}", "space": "arn:${Partition}:quicksight:${Region}:${Account}:space/${ResourceId}", "template": "arn:${Partition}:quicksight:${Region}:${Account}:template/${ResourceId}", "theme": "arn:${Partition}:quicksight:${Region}:${Account}:theme/${ResourceId}", "topic": "arn:${Partition}:quicksight:${Region}:${Account}:topic/${ResourceId}", "user": "arn:${Partition}:quicksight:${Region}:${Account}:user/${ResourceId}", "vpcconnection": "arn:${Partition}:quicksight:${Region}:${Account}:vpcConnection/${ResourceId}"}, "ram": {"customer-managed-permission": "arn:${Partition}:ram:${Region}:${Account}:permission/${ResourcePath}", "permission": "arn:${Partition}:ram::aws:permission/${ResourcePath}", "resource-share": "arn:${Partition}:ram:${Region}:${Account}:resource-share/${ResourcePath}", "resource-share-invitation": "arn:${Partition}:ram:${Region}:${Account}:resource-share-invitation/${ResourcePath}"}, "redshift": {"cluster": "arn:${Partition}:redshift:${Region}:${Account}:cluster:${ClusterName}", "datashare": "arn:${Partition}:redshift:${Region}:${Account}:datashare:${ProducerClusterNamespace}/${DataShareName}", "dbgroup": "arn:${Partition}:redshift:${Region}:${Account}:dbgroup:${ClusterName}/${DbGroup}", "dbname": "arn:${Partition}:redshift:${Region}:${Account}:dbname:${ClusterName}/${DbName}", "dbuser": "arn:${Partition}:redshift:${Region}:${Account}:dbuser:${ClusterName}/${DbUser}", "eventsubscription": "arn:${Partition}:redshift:${Region}:${Account}:eventsubscription:${EventSubscriptionName}", "hsmclientcertificate": "arn:${Partition}:redshift:${Region}:${Account}:hsmclientcertificate:${HSMClientCertificateId}", "hsmconfiguration": "arn:${Partition}:redshift:${Region}:${Account}:hsmconfiguration:${HSMConfigurationId}", "integration": "arn:${Partition}:redshift:${Region}:${Account}:integration:${IntegrationIdentifier}", "namespace": "arn:${Partition}:redshift:${Region}:${Account}:namespace:${ClusterNamespace}", "parametergroup": "arn:${Partition}:redshift:${Region}:${Account}:parametergroup:${ParameterGroupName}", "qev2idcapplication": "arn:${Partition}:redshift:${Region}:${Account}:qev2idcapplication:${Qev2IdcApplicationId}", "redshiftidcapplication": "arn:${Partition}:redshift:${Region}:${Account}:redshiftidcapplication:${RedshiftIdcApplicationId}", "securitygroup": "arn:${Partition}:redshift:${Region}:${Account}:securitygroup:${SecurityGroupName}/ec2securitygroup/${Owner}/${Ec2SecurityGroupId}", "securitygroupingress-cidr": "arn:${Partition}:redshift:${Region}:${Account}:securitygroupingress:${SecurityGroupName}/cidrip/${IpRange}", "securitygroupingress-ec2securitygroup": "arn:${Partition}:redshift:${Region}:${Account}:securitygroupingress:${SecurityGroupName}/ec2securitygroup/${Owner}/${Ece2SecuritygroupId}", "snapshot": "arn:${Partition}:redshift:${Region}:${Account}:snapshot:${ClusterName}/${SnapshotName}", "snapshotcopygrant": "arn:${Partition}:redshift:${Region}:${Account}:snapshotcopygrant:${SnapshotCopyGrantName}", "snapshotschedule": "arn:${Partition}:redshift:${Region}:${Account}:snapshotschedule:${ScheduleIdentifier}", "subnetgroup": "arn:${Partition}:redshift:${Region}:${Account}:subnetgroup:${SubnetGroupName}", "usagelimit": "arn:${Partition}:redshift:${Region}:${Account}:usagelimit:${UsageLimitId}"}, "redshift-data": {"cluster": "arn:${Partition}:redshift:${Region}:${Account}:cluster:${ClusterName}", "managed-workgroup": "arn:${Partition}:redshift-serverless:${Region}:${Account}:managed-workgroup/${ManagedWorkgroupId}", "workgroup": "arn:${Partition}:redshift-serverless:${Region}:${Account}:workgroup/${WorkgroupId}"}, "redshift-serverless": {"endpointAccess": "arn:${Partition}:redshift-serverless:${Region}:${Account}:managedvpcendpoint/${EndpointAccessId}", "managed-workgroup": "arn:${Partition}:redshift-serverless:${Region}:${Account}:managed-workgroup/${ManagedWorkgroupName}", "namespace": "arn:${Partition}:redshift-serverless:${Region}:${Account}:namespace/${NamespaceId}", "recoveryPoint": "arn:${Partition}:redshift-serverless:${Region}:${Account}:recoverypoint/${RecoveryPointId}", "snapshot": "arn:${Partition}:redshift-serverless:${Region}:${Account}:snapshot/${SnapshotId}", "workgroup": "arn:${Partition}:redshift-serverless:${Region}:${Account}:workgroup/${WorkgroupId}"}, "rekognition": {"collection": "arn:${Partition}:rekognition:${Region}:${Account}:collection/${CollectionId}", "dataset": "arn:${Partition}:rekognition:${Region}:${Account}:project/${ProjectName}/dataset/${DatasetType}/${CreationTimestamp}", "project": "arn:${Partition}:rekognition:${Region}:${Account}:project/${ProjectName}/${CreationTimestamp}", "projectversion": "arn:${Partition}:rekognition:${Region}:${Account}:project/${ProjectName}/version/${VersionName}/${CreationTimestamp}", "streamprocessor": "arn:${Partition}:rekognition:${Region}:${Account}:streamprocessor/${StreamprocessorId}"}, "resource-explorer-2": {"index": "arn:${Partition}:resource-explorer-2:${Region}:${Account}:index/${IndexUuid}", "managed-view": "arn:${Partition}:resource-explorer-2:${Region}:${Account}:managed-view/${ManagedViewName}/${ManagedViewUuid}", "view": "arn:${Partition}:resource-explorer-2:${Region}:${Account}:view/${ViewName}/${ViewUuid}"}, "route53": {"change": "arn:${Partition}:route53:::change/${Id}", "cidrcollection": "arn:${Partition}:route53:::cidrcollection/${Id}", "delegationset": "arn:${Partition}:route53:::delegationset/${Id}", "healthcheck": "arn:${Partition}:route53:::healthcheck/${Id}", "hostedzone": "arn:${Partition}:route53:::hostedzone/${Id}", "queryloggingconfig": "arn:${Partition}:route53:::queryloggingconfig/${Id}", "trafficpolicy": "arn:${Partition}:route53:::trafficpolicy/${Id}", "trafficpolicyinstance": "arn:${Partition}:route53:::trafficpolicyinstance/${Id}", "vpc": "arn:${Partition}:ec2:${Region}:${Account}:vpc/${VpcId}"}, "s3tables": {"Table": "arn:${Partition}:s3tables:${Region}:${Account}:bucket/${TableBucketName}/table/${TableID}", "TableBucket": "arn:${Partition}:s3tables:${Region}:${Account}:bucket/${TableBucketName}"}, "scheduler": {"schedule": "arn:${Partition}:scheduler:${Region}:${Account}:schedule/${GroupName}/${ScheduleName}", "schedule-group": "arn:${Partition}:scheduler:${Region}:${Account}:schedule-group/${GroupName}"}, "secretsmanager": {"Secret": "arn:${Partition}:secretsmanager:${Region}:${Account}:secret:${SecretId}"}, "securityhub": {"aggregatorv2": "arn:${Partition}:securityhub:${Region}:${Account}:aggregatorv2/${AggregatorV2Id}", "automation-rule": "arn:${Partition}:securityhub:${Region}:${Account}:automation-rule/${AutomationRuleId}", "automation-rulev2": "arn:${Partition}:securityhub:${Region}:${Account}:automation-rulev2/${AutomationRuleV2Id}", "configuration-policy": "arn:${Partition}:securityhub:${Region}:${Account}:configuration-policy/${ConfigurationPolicyId}", "connector": "arn:${Partition}:securityhub:${Region}:${Account}:connector/${ConnectorId}", "connectorv2": "arn:${Partition}:securityhub:${Region}:${Account}:connectorv2/${ConnectorV2Id}", "finding-aggregator": "arn:${Partition}:securityhub:${Region}:${Account}:finding-aggregator/${FindingAggregatorId}", "hub": "arn:${Partition}:securityhub:${Region}:${Account}:hub/default", "hubv2": "arn:${Partition}:securityhub:${Region}:${Account}:hubv2/${HubV2Id}", "product": "arn:${Partition}:securityhub:${Region}:${Account}:product/${Company}/${ProductId}"}, "servicediscovery": {"namespace": "arn:${Partition}:servicediscovery:${Region}:${Account}:namespace/${NamespaceId}", "service": "arn:${Partition}:servicediscovery:${Region}:${Account}:service/${ServiceId}"}, "servicequotas": {"quota": "arn:${Partition}:servicequotas:${Region}:${Account}:${ServiceCode}/${QuotaCode}"}, "signer": {"signing-job": "arn:${Partition}:signer:${Region}:${Account}:/signing-jobs/${JobId}", "signing-profile": "arn:${Partition}:signer:${Region}:${Account}:/signing-profiles/${ProfileName}"}, "ssm": {"association": "arn:${Partition}:ssm:${Region}:${Account}:association/${AssociationId}", "automation-definition": "arn:${Partition}:ssm:${Region}:${Account}:automation-definition/${AutomationDefinitionName}:${VersionId}", "automation-execution": "arn:${Partition}:ssm:${Region}:${Account}:automation-execution/${AutomationExecutionId}", "bucket": "arn:${Partition}:s3:::${BucketName}", "cloud-connector": "arn:${Partition}:ssm:${Region}:${Account}:cloud-connector/${CloudConnectorId}", "document": "arn:${Partition}:ssm:${Region}:${Account}:document/${DocumentName}", "iam-role": "arn:${Partition}:iam::${Account}:role/${RoleName}", "instance": "arn:${Partition}:ec2:${Region}:${Account}:instance/${InstanceId}", "maintenancewindow": "arn:${Partition}:ssm:${Region}:${Account}:maintenancewindow/${ResourceId}", "managed-instance": "arn:${Partition}:ssm:${Region}:${Account}:managed-instance/${InstanceId}", "managed-instance-inventory": "arn:${Partition}:ssm:${Region}:${Account}:managed-instance-inventory/${InstanceId}", "opsitem": "arn:${Partition}:ssm:${Region}:${Account}:opsitem/${ResourceId}", "opsitemgroup": "arn:${Partition}:ssm:${Region}:${Account}:opsitemgroup/default", "opsmetadata": "arn:${Partition}:ssm:${Region}:${Account}:opsmetadata/${ResourceId}", "parameter": "arn:${Partition}:ssm:${Region}:${Account}:parameter/${ParameterNameWithoutLeadingSlash}", "patchbaseline": "arn:${Partition}:ssm:${Region}:${Account}:patchbaseline/${PatchBaselineIdResourceId}", "resourcedatasync": "arn:${Partition}:ssm:${Region}:${Account}:resource-data-sync/${SyncName}", "servicesetting": "arn:${Partition}:ssm:${Region}:${Account}:servicesetting/${ResourceId}", "session": "arn:${Partition}:ssm:${Region}:${Account}:session/${SessionId}", "task": "arn:${Partition}:ecs:${Region}:${Account}:task/${TaskId}", "windowtarget": "arn:${Partition}:ssm:${Region}:${Account}:windowtarget/${WindowTargetId}", "windowtask": "arn:${Partition}:ssm:${Region}:${Account}:windowtask/${WindowTaskId}"}, "sso": {"Account": "arn:${Partition}:sso:::account/${AccountId}", "Application": "arn:${Partition}:sso::${Account}:application/${InstanceId}/${ApplicationId}", "ApplicationProvider": "arn:${Partition}:sso::aws:applicationProvider/${ApplicationProviderId}", "Instance": "arn:${Partition}:sso:::instance/${InstanceId}", "PermissionSet": "arn:${Partition}:sso:::permissionSet/${InstanceId}/${PermissionSetId}", "TrustedTokenIssuer": "arn:${Partition}:sso::${Account}:trustedTokenIssuer/${InstanceId}/${TrustedTokenIssuerId}"}, "states": {"activity": "arn:${Partition}:states:${Region}:${Account}:activity:${ActivityName}", "execution": "arn:${Partition}:states:${Region}:${Account}:execution:${StateMachineName}:${ExecutionId}", "express": "arn:${Partition}:states:${Region}:${Account}:express:${StateMachineName}:${ExecutionId}:${ExpressId}", "labelled execution": "arn:${Partition}:states:${Region}:${Account}:execution:${StateMachineName}/${MapRunLabel}:${ExecutionId}", "labelled express": "arn:${Partition}:states:${Region}:${Account}:express:${StateMachineName}/${MapRunLabel}:${ExecutionId}:${ExpressId}", "maprun": "arn:${Partition}:states:${Region}:${Account}:mapRun:${StateMachineName}/${MapRunLabel}:${MapRunId}", "statemachine": "arn:${Partition}:states:${Region}:${Account}:stateMachine:${StateMachineName}", "statemachinealias": "arn:${Partition}:states:${Region}:${Account}:stateMachine:${StateMachineName}:${StateMachineAliasName}", "statemachineversion": "arn:${Partition}:states:${Region}:${Account}:stateMachine:${StateMachineName}:${StateMachineVersionId}"}, "textract": {"adapter": "arn:${Partition}:textract:${Region}:${Account}:/adapters/${AdapterId}", "adapterversion": "arn:${Partition}:textract:${Region}:${Account}:/adapters/${AdapterId}/versions/${AdapterVersion}"}, "timestream-influxdb": {"db-backup": "arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-backup/${DbBackupId}", "db-cluster": "arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-cluster/${DbClusterId}", "db-instance": "arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-instance/${DbInstanceIdentifier}", "db-parameter-group": "arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-parameter-group/${DbParameterGroupIdentifier}"}, "translate": {"parallel-data": "arn:${Partition}:translate:${Region}:${Account}:parallel-data/${ResourceName}", "terminology": "arn:${Partition}:translate:${Region}:${Account}:terminology/${ResourceName}"}, "xray": {"group": "arn:${Partition}:xray:${Region}:${Account}:group/${GroupName}/${Id}", "sampling-rule": "arn:${Partition}:xray:${Region}:${Account}:sampling-rule/${SamplingRuleName}"}}, + "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/"]}, "application-autoscaling": {"ScalableTarget": ["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-scenario": ["aws:ResourceTag/"], "workload-estimate": ["aws:ResourceTag/"]}, "budgets": {"budget": ["aws:ResourceTag/"], "budgetAction": ["aws:ResourceTag/"]}, "ce": {"anomalymonitor": ["aws:ResourceTag/"], "anomalysubscription": ["aws:ResourceTag/"], "billingview": ["aws:ResourceTag/"], "costcategory": ["aws:ResourceTag/"]}, "cloudformation": {"changeset": ["aws:ResourceTag/"], "stack": ["aws:ResourceTag/"], "stackset": ["aws:ResourceTag/"]}, "cloudfront": {"anycast-ip-list": ["aws:ResourceTag/"], "connection-function": ["aws:ResourceTag/"], "connection-group": ["aws:ResourceTag/"], "distribution": ["aws:ResourceTag/"], "distribution-tenant": ["aws:ResourceTag/"], "function": ["aws:ResourceTag/"], "key-value-store": ["aws:ResourceTag/"], "streaming-distribution": ["aws:ResourceTag/"], "trust-store": ["aws:ResourceTag/"], "vpcorigin": ["aws:ResourceTag/"]}, "cloudtrail": {"channel": ["aws:ResourceTag/"], "dashboard": ["aws:ResourceTag/"], "eventdatastore": ["aws:ResourceTag/"], "trail": ["aws:ResourceTag/"]}, "codebuild": {"project": ["aws:ResourceTag/"], "report-group": ["aws:ResourceTag/"]}, "codepipeline": {"action": ["aws:ResourceTag/"], "actiontype": ["aws:ResourceTag/"], "pipeline": ["aws:ResourceTag/"], "stage": ["aws:ResourceTag/"], "webhook": ["aws:ResourceTag/"]}, "cognito-identity": {"identitypool": ["aws:ResourceTag/"]}, "cognito-idp": {"userpool": ["aws:ResourceTag/"]}, "controltower": {"EnabledBaseline": ["aws:ResourceTag/"], "EnabledControl": ["aws:ResourceTag/"], "LandingZone": ["aws:ResourceTag/"]}, "datasync": {"agent": ["aws:ResourceTag/"], "discoveryjob": ["aws:ResourceTag/"], "location": ["aws:ResourceTag/"], "storagesystem": ["aws:ResourceTag/"], "task": ["aws:ResourceTag/"], "taskexecution": ["aws:ResourceTag/"]}, "dynamodb": {"index": ["aws:ResourceTag/"], "stream": ["aws:ResourceTag/"], "table": ["aws:ResourceTag/"]}, "ec2": {"application-status-check": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-block": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-manager-data-export": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-reservation": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-reservation-cancellation-quote": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-reservation-fleet": ["aws:ResourceTag/", "ec2:ResourceTag/"], "capacity-reservation-modification-quote": ["aws:ResourceTag/", "ec2:ResourceTag/"], "carrier-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "client-vpn-endpoint": ["aws:ResourceTag/", "ec2:ResourceTag/"], "coip-pool": ["aws:ResourceTag/", "ec2:ResourceTag/"], "customer-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "declarative-policies-report": ["aws:ResourceTag/", "ec2:ResourceTag/"], "dedicated-host": ["aws:ResourceTag/", "ec2:ResourceTag/"], "dhcp-options": ["aws:ResourceTag/", "ec2:ResourceTag/"], "egress-only-internet-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "elastic-gpu": ["aws:ResourceTag/", "ec2:ResourceTag/"], "elastic-ip": ["aws:ResourceTag/", "ec2:ResourceTag/"], "export-image-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "export-instance-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "fleet": ["aws:ResourceTag/", "ec2:ResourceTag/"], "fpga-image": ["aws:ResourceTag/", "ec2:ResourceTag/"], "host-reservation": ["aws:ResourceTag/", "ec2:ResourceTag/"], "image": ["aws:ResourceTag/", "ec2:ResourceTag/"], "image-usage-report": ["aws:ResourceTag/", "ec2:ResourceTag/"], "import-image-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "import-snapshot-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "instance": ["aws:ResourceTag/", "ec2:ResourceTag/"], "instance-connect-endpoint": ["aws:ResourceTag/", "ec2:ResourceTag/"], "instance-event-window": ["aws:ResourceTag/", "ec2:ResourceTag/"], "internet-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-external-resource-verification-token": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-internet-registry-association": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-policy": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-pool": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-pool-allocation": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-prefix-list-resolver": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-prefix-list-resolver-target": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-resource-discovery": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-resource-discovery-association": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipam-scope": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipv4pool-ec2": ["aws:ResourceTag/", "ec2:ResourceTag/"], "ipv6pool-ec2": ["aws:ResourceTag/", "ec2:ResourceTag/"], "key-pair": ["aws:ResourceTag/", "ec2:ResourceTag/"], "launch-template": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway-route-table": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway-route-table-virtual-interface-group-association": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway-route-table-vpc-association": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway-virtual-interface": ["aws:ResourceTag/", "ec2:ResourceTag/"], "local-gateway-virtual-interface-group": ["aws:ResourceTag/", "ec2:ResourceTag/"], "mac-modification-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "natgateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-acl": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-insights-access-scope": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-insights-access-scope-analysis": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-insights-analysis": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-insights-path": ["aws:ResourceTag/", "ec2:ResourceTag/"], "network-interface": ["aws:ResourceTag/", "ec2:ResourceTag/"], "outpost-lag": ["aws:ResourceTag/", "ec2:ResourceTag/"], "placement-group": ["aws:ResourceTag/", "ec2:ResourceTag/"], "prefix-list": ["aws:ResourceTag/", "ec2:ResourceTag/"], "replace-root-volume-task": ["aws:ResourceTag/", "ec2:ResourceTag/"], "reserved-instances": ["aws:ResourceTag/", "ec2:ResourceTag/"], "route-server": ["aws:ResourceTag/", "ec2:ResourceTag/"], "route-server-endpoint": ["aws:ResourceTag/", "ec2:ResourceTag/"], "route-server-peer": ["aws:ResourceTag/", "ec2:ResourceTag/"], "route-table": ["aws:ResourceTag/", "ec2:ResourceTag/"], "secondary-interface": ["aws:ResourceTag/", "ec2:ResourceTag/"], "secondary-network": ["aws:ResourceTag/", "ec2:ResourceTag/"], "secondary-subnet": ["aws:ResourceTag/", "ec2:ResourceTag/"], "security-group": ["aws:ResourceTag/", "ec2:ResourceTag/"], "security-group-rule": ["aws:ResourceTag/", "ec2:ResourceTag/"], "snapshot": ["aws:ResourceTag/", "ec2:ResourceTag/"], "spot-fleet-request": ["aws:ResourceTag/", "ec2:ResourceTag/"], "spot-instances-request": ["aws:ResourceTag/", "ec2:ResourceTag/"], "subnet": ["aws:ResourceTag/", "ec2:ResourceTag/"], "subnet-cidr-reservation": ["aws:ResourceTag/", "ec2:ResourceTag/"], "traffic-mirror-filter": ["aws:ResourceTag/", "ec2:ResourceTag/"], "traffic-mirror-filter-rule": ["aws:ResourceTag/", "ec2:ResourceTag/"], "traffic-mirror-session": ["aws:ResourceTag/", "ec2:ResourceTag/"], "traffic-mirror-target": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-attachment": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-connect-peer": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-metering-policy": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-multicast-domain": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-policy-table": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-route-table": ["aws:ResourceTag/", "ec2:ResourceTag/"], "transit-gateway-route-table-announcement": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-endpoint": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-endpoint-target": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-group": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-instance": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-policy": ["aws:ResourceTag/", "ec2:ResourceTag/"], "verified-access-trust-provider": ["aws:ResourceTag/", "ec2:ResourceTag/"], "volume": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-block-public-access-exclusion": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-encryption-control": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-endpoint": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-endpoint-connection": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-endpoint-service": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-endpoint-service-permission": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-flow-log": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpc-peering-connection": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpn-concentrator": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpn-connection": ["aws:ResourceTag/", "ec2:ResourceTag/"], "vpn-gateway": ["aws:ResourceTag/", "ec2:ResourceTag/"]}, "ecr": {"repository": ["aws:ResourceTag/", "ecr:ResourceTag/"]}, "ecs": {"capacity-provider": ["aws:ResourceTag/", "ecs:ResourceTag/"], "cluster": ["aws:ResourceTag/", "ecs:ResourceTag/"], "container-instance": ["aws:ResourceTag/", "ecs:ResourceTag/"], "daemon": ["aws:ResourceTag/"], "daemon-deployment": ["aws:ResourceTag/"], "daemon-revision": ["aws:ResourceTag/"], "daemon-task-definition": ["aws:ResourceTag/"], "gateway": ["aws:ResourceTag/"], "gateway-route": ["aws:ResourceTag/"], "service": ["aws:ResourceTag/", "ecs:ResourceTag/"], "service-deployment": ["aws:ResourceTag/"], "service-revision": ["aws:ResourceTag/"], "task": ["aws:ResourceTag/", "ecs:ResourceTag/"], "task-definition": ["aws:ResourceTag/", "ecs:ResourceTag/"], "task-set": ["aws:ResourceTag/", "ecs:ResourceTag/"]}, "elasticloadbalancing": {"listener-rule/app": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "listener-rule/net": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "listener/app": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "listener/gwy": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "listener/net": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "loadbalancer": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "loadbalancer/app/": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "loadbalancer/gwy/": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "loadbalancer/net/": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "targetgroup": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"], "truststore": ["aws:ResourceTag/", "elasticloadbalancing:ResourceTag/"]}, "elasticmapreduce": {"cluster": ["aws:ResourceTag/", "elasticmapreduce:ResourceTag/"], "editor": ["aws:ResourceTag/", "elasticmapreduce:ResourceTag/"], "notebook-execution": ["aws:ResourceTag/", "elasticmapreduce:ResourceTag/"], "session": ["aws:ResourceTag/", "elasticmapreduce:ResourceTag/"], "studio": ["aws:ResourceTag/", "elasticmapreduce:ResourceTag/"]}, "emr-serverless": {"application": ["aws:ResourceTag/"], "jobRun": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"]}, "es": {"application": ["aws:ResourceTag/"], "datasource": ["aws:ResourceTag/"], "domain": ["aws:ResourceTag/"], "es_role": ["aws:ResourceTag/"], "opensearchservice_role": ["aws:ResourceTag/"]}, "events": {"event-bus": ["aws:ResourceTag/"], "event-busv2": ["aws:ResourceTag/"], "event-sourcev2": ["aws:ResourceTag/"], "rule-on-custom-event-bus": ["aws:ResourceTag/"], "rule-on-default-event-bus": ["aws:ResourceTag/"], "subscriber": ["aws:ResourceTag/"]}, "firehose": {"deliverystream": ["aws:ResourceTag/"]}, "fis": {"action": ["aws:ResourceTag/"], "experiment": ["aws:ResourceTag/"], "experiment-template": ["aws:ResourceTag/"]}, "globalaccelerator": {"accelerator": ["aws:ResourceTag/"], "attachment": ["aws:ResourceTag/"], "endpointgroup": ["aws:ResourceTag/"], "listener": ["aws:ResourceTag/"]}, "guardduty": {"customdetectionruleassociation": ["aws:ResourceTag/"], "detector": ["aws:ResourceTag/"], "filter": ["aws:ResourceTag/"], "ipset": ["aws:ResourceTag/"], "malwareprotectionplan": ["aws:ResourceTag/"], "publishingDestination": ["aws:ResourceTag/"], "threatentityset": ["aws:ResourceTag/"], "threatintelset": ["aws:ResourceTag/"], "trustedentityset": ["aws:ResourceTag/"]}, "inspector2": {"CIS Scan Configuration": ["aws:ResourceTag/"], "Code Security Integration": ["aws:ResourceTag/"], "Code Security Scan Configuration": ["aws:ResourceTag/"], "Connector": ["aws:ResourceTag/"], "Filter": ["aws:ResourceTag/"]}, "kinesisanalytics": {"application": ["aws:ResourceTag/"]}, "lambda": {"capacityProvider": ["aws:ResourceTag/"], "code signing config": ["aws:ResourceTag/"], "durable execution": ["aws:ResourceTag/"], "eventSourceMapping": ["aws:ResourceTag/"], "function": ["aws:ResourceTag/"], "function alias": ["aws:ResourceTag/"], "function version": ["aws:ResourceTag/"], "microvmImage": ["aws:ResourceTag/"], "networkConnector": ["aws:ResourceTag/"], "webFunction": ["aws:ResourceTag/"], "webFunctionEndpoint": ["aws:ResourceTag/"], "webFunctionRevision": ["aws:ResourceTag/"]}, "logs": {"anomaly-detector": ["aws:ResourceTag/"], "delivery": ["aws:ResourceTag/"], "delivery-destination": ["aws:ResourceTag/"], "delivery-source": ["aws:ResourceTag/"], "destination": ["aws:ResourceTag/"], "log-group": ["aws:ResourceTag/"], "log-stream": ["aws:ResourceTag/"], "lookup-table": ["aws:ResourceTag/"], "scheduled-query": ["aws:ResourceTag/"]}, "macie2": {"AllowList": ["aws:ResourceTag/"], "ClassificationJob": ["aws:ResourceTag/"], "CustomDataIdentifier": ["aws:ResourceTag/"], "FindingsFilter": ["aws:ResourceTag/"], "Member": ["aws:ResourceTag/"]}, "oam": {"Link": ["aws:ResourceTag/"], "Sink": ["aws:ResourceTag/"]}, "payment-cryptography": {"approval-team": ["aws:ResourceTag/"], "key": ["aws:ResourceTag/"]}, "quicksight": {"accessControlApplication": ["aws:ResourceTag/"], "actionconnector": ["aws:ResourceTag/"], "analysis": ["aws:ResourceTag/"], "app": ["aws:ResourceTag/"], "brand": ["aws:ResourceTag/"], "customization": ["aws:ResourceTag/"], "custompermissions": ["aws:ResourceTag/"], "dashboard": ["aws:ResourceTag/"], "dashboardSnapshotJob": ["aws:ResourceTag/"], "dataset": ["aws:ResourceTag/"], "datasource": ["aws:ResourceTag/"], "dlpSetting": ["aws:ResourceTag/"], "emailCustomizationTemplate": ["aws:ResourceTag/"], "flow": ["aws:ResourceTag/"], "folder": ["aws:ResourceTag/"], "inboundConnector": ["aws:ResourceTag/"], "ingestion": ["aws:ResourceTag/"], "knowledgeBase": ["aws:ResourceTag/"], "namespace": ["aws:ResourceTag/"], "oauthClientApplication": ["aws:ResourceTag/"], "template": ["aws:ResourceTag/"], "theme": ["aws:ResourceTag/"], "topic": ["aws:ResourceTag/"], "user": ["aws:ResourceTag/"], "vpcconnection": ["aws:ResourceTag/"]}, "ram": {"customer-managed-permission": ["aws:ResourceTag/", "ram:ResourceTag/"], "resource-share": ["aws:ResourceTag/", "ram:ResourceTag/"]}, "redshift": {"cluster": ["aws:ResourceTag/"], "datashare": ["aws:ResourceTag/"], "eventsubscription": ["aws:ResourceTag/"], "hsmclientcertificate": ["aws:ResourceTag/"], "hsmconfiguration": ["aws:ResourceTag/"], "integration": ["aws:ResourceTag/"], "parametergroup": ["aws:ResourceTag/"], "securitygroup": ["aws:ResourceTag/"], "securitygroupingress-cidr": ["aws:ResourceTag/"], "securitygroupingress-ec2securitygroup": ["aws:ResourceTag/"], "snapshot": ["aws:ResourceTag/"], "snapshotcopygrant": ["aws:ResourceTag/"], "snapshotschedule": ["aws:ResourceTag/"], "subnetgroup": ["aws:ResourceTag/"], "usagelimit": ["aws:ResourceTag/"]}, "redshift-data": {"cluster": ["aws:ResourceTag/"], "workgroup": ["aws:ResourceTag/"]}, "redshift-serverless": {"namespace": ["aws:ResourceTag/"], "recoveryPoint": ["aws:ResourceTag/"], "snapshot": ["aws:ResourceTag/"], "workgroup": ["aws:ResourceTag/"]}, "rekognition": {"collection": ["aws:ResourceTag/"], "dataset": ["aws:ResourceTag/"], "project": ["aws:ResourceTag/"], "projectversion": ["aws:ResourceTag/"], "streamprocessor": ["aws:ResourceTag/"]}, "resource-explorer-2": {"index": ["aws:ResourceTag/"], "view": ["aws:ResourceTag/"]}, "s3tables": {"Table": ["aws:ResourceTag/"], "TableBucket": ["aws:ResourceTag/"]}, "scheduler": {"schedule-group": ["aws:ResourceTag/"]}, "secretsmanager": {"Secret": ["aws:ResourceTag/", "secretsmanager:ResourceTag/"]}, "securityhub": {"aggregatorv2": ["aws:ResourceTag/"], "automation-rule": ["aws:ResourceTag/"], "automation-rulev2": ["aws:ResourceTag/"], "configuration-policy": ["aws:ResourceTag/"], "connector": ["aws:ResourceTag/"], "connectorv2": ["aws:ResourceTag/"], "hub": ["aws:ResourceTag/"], "hubv2": ["aws:ResourceTag/"]}, "servicediscovery": {"namespace": ["aws:ResourceTag/"], "service": ["aws:ResourceTag/"]}, "signer": {"signing-profile": ["aws:ResourceTag/"]}, "ssm": {"association": ["aws:ResourceTag/"], "automation-execution": ["aws:ResourceTag/", "ssm:resourceTag/"], "cloud-connector": ["aws:ResourceTag/"], "document": ["aws:ResourceTag/", "ssm:resourceTag/"], "instance": ["aws:ResourceTag/", "ssm:resourceTag/"], "maintenancewindow": ["aws:ResourceTag/", "ssm:resourceTag/"], "managed-instance": ["aws:ResourceTag/", "ssm:resourceTag/"], "opsitem": ["aws:ResourceTag/"], "opsmetadata": ["aws:ResourceTag/", "ssm:resourceTag/"], "parameter": ["aws:ResourceTag/", "ssm:resourceTag/"], "patchbaseline": ["aws:ResourceTag/", "ssm:resourceTag/"], "task": ["aws:ResourceTag/"], "windowtarget": ["aws:ResourceTag/", "ssm:resourceTag/"], "windowtask": ["aws:ResourceTag/", "ssm:resourceTag/"]}, "sso": {"Application": ["aws:ResourceTag/"], "Instance": ["aws:ResourceTag/"], "PermissionSet": ["aws:ResourceTag/"], "TrustedTokenIssuer": ["aws:ResourceTag/"]}, "states": {"activity": ["aws:ResourceTag/"], "execution": ["aws:ResourceTag/"], "statemachine": ["aws:ResourceTag/"], "statemachinealias": ["aws:ResourceTag/"], "statemachineversion": ["aws:ResourceTag/"]}, "textract": {"adapter": ["aws:ResourceTag/"], "adapterversion": ["aws:ResourceTag/"]}, "timestream-influxdb": {"db-backup": ["aws:ResourceTag/"], "db-cluster": ["aws:ResourceTag/"], "db-instance": ["aws:ResourceTag/"], "db-parameter-group": ["aws:ResourceTag/"]}, "translate": {"parallel-data": ["aws:ResourceTag/"], "terminology": ["aws:ResourceTag/"]}, "xray": {"group": ["aws:ResourceTag/"], "sampling-rule": ["aws:ResourceTag/"]}}, "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"]}, @@ -71,9 +71,9 @@ "account:StartPrimaryEmailUpdate": {"action": "account:StartPrimaryEmailUpdate", "types": ["accountInOrganization"], "resources": [{"type": "accountInOrganization", "fill": {"MemberAccountId": "AccountId"}}]}, "account:VerifyPhoneNumber": {"action": "account:VerifyPhoneNumber", "types": ["account", "accountInOrganization"], "resources": [{"type": "account", "fill": {}, "when": {"AccountId": [null]}}, {"type": "accountInOrganization", "fill": {"MemberAccountId": "AccountId"}}]}, "acm:AddTagsToCertificate": {"action": "acm:AddTagsToCertificate", "types": ["certificate"], "resources": [{"types": ["certificate"], "arn": "CertificateArn"}]}, - "acm:CreateAcmeDomainValidation": {"action": "acm:CreateAcmeDomainValidation", "types": ["acme-endpoint"], "resources": [{"types": ["acme-endpoint"], "arn": "AcmeEndpointArn"}]}, + "acm:CreateAcmeDomainValidation": {"action": "acm:CreateAcmeDomainValidation", "types": ["acme-endpoint"], "resources": [{"types": ["acme-endpoint"], "arn": "AcmeEndpointArn"}], "creates": [{"type": "acme-domain-validation", "parent": "acme-endpoint", "arn": "AcmeEndpointArn"}]}, "acm:CreateAcmeEndpoint": {"action": "acm:CreateAcmeEndpoint", "types": [], "resources": [], "makes": [{"type": "acme-endpoint", "fill": {}}]}, - "acm:CreateAcmeExternalAccountBinding": {"action": "acm:CreateAcmeExternalAccountBinding", "types": ["acme-endpoint"], "resources": [{"types": ["acme-endpoint"], "arn": "AcmeEndpointArn"}]}, + "acm:CreateAcmeExternalAccountBinding": {"action": "acm:CreateAcmeExternalAccountBinding", "types": ["acme-endpoint"], "resources": [{"types": ["acme-endpoint"], "arn": "AcmeEndpointArn"}], "creates": [{"type": "acme-external-account-binding", "parent": "acme-endpoint", "arn": "AcmeEndpointArn"}]}, "acm:DeleteAcmeDomainValidation": {"action": "acm:DeleteAcmeDomainValidation", "types": ["acme-domain-validation"], "resources": [{"types": ["acme-domain-validation"], "arn": "AcmeDomainValidationArn"}]}, "acm:DeleteAcmeEndpoint": {"action": "acm:DeleteAcmeEndpoint", "types": ["acme-endpoint"], "resources": [{"types": ["acme-endpoint"], "arn": "AcmeEndpointArn"}]}, "acm:DeleteAcmeExternalAccountBinding": {"action": "acm:DeleteAcmeExternalAccountBinding", "types": ["acme-external-account-binding"], "resources": [{"types": ["acme-external-account-binding"], "arn": "AcmeExternalAccountBindingArn"}]}, @@ -997,7 +997,7 @@ "datasync:ListTagsForResource": {"action": "datasync:ListTagsForResource", "types": ["agent", "discoveryjob", "location", "storagesystem", "task", "taskexecution"], "resources": [{"types": ["agent", "discoveryjob", "location", "storagesystem", "task", "taskexecution"], "arn": "ResourceArn"}]}, "datasync:ListTaskExecutions": {"action": "datasync:ListTaskExecutions", "types": [], "resources": []}, "datasync:ListTasks": {"action": "datasync:ListTasks", "types": [], "resources": []}, - "datasync:StartTaskExecution": {"action": "datasync:StartTaskExecution", "types": ["task"], "resources": [{"types": ["task"], "arn": "TaskArn"}]}, + "datasync:StartTaskExecution": {"action": "datasync:StartTaskExecution", "types": ["task"], "resources": [{"types": ["task"], "arn": "TaskArn"}], "creates": [{"type": "taskexecution", "parent": "task", "arn": "TaskArn"}]}, "datasync:TagResource": {"action": "datasync:TagResource", "types": ["agent", "discoveryjob", "location", "storagesystem", "task", "taskexecution"], "resources": [{"types": ["agent", "discoveryjob", "location", "storagesystem", "task", "taskexecution"], "arn": "ResourceArn"}]}, "datasync:UntagResource": {"action": "datasync:UntagResource", "types": ["agent", "discoveryjob", "location", "storagesystem", "task", "taskexecution"], "resources": [{"types": ["agent", "discoveryjob", "location", "storagesystem", "task", "taskexecution"], "arn": "ResourceArn"}]}, "datasync:UpdateAgent": {"action": "datasync:UpdateAgent", "types": ["agent"], "resources": [{"types": ["agent"], "arn": "AgentArn"}]}, @@ -2383,10 +2383,10 @@ "globalaccelerator:CreateAccelerator": {"action": "globalaccelerator:CreateAccelerator", "types": [], "resources": [], "makes": [{"type": "accelerator", "fill": {}}]}, "globalaccelerator:CreateCrossAccountAttachment": {"action": "globalaccelerator:CreateCrossAccountAttachment", "types": [], "resources": [], "makes": [{"type": "attachment", "fill": {}}]}, "globalaccelerator:CreateCustomRoutingAccelerator": {"action": "globalaccelerator:CreateCustomRoutingAccelerator", "types": [], "resources": [], "makes": [{"type": "accelerator", "fill": {}}]}, - "globalaccelerator:CreateCustomRoutingEndpointGroup": {"action": "globalaccelerator:CreateCustomRoutingEndpointGroup", "types": ["listener"], "resources": [{"types": ["listener"], "arn": "ListenerArn"}]}, - "globalaccelerator:CreateCustomRoutingListener": {"action": "globalaccelerator:CreateCustomRoutingListener", "types": ["accelerator"], "resources": [{"types": ["accelerator"], "arn": "AcceleratorArn"}]}, - "globalaccelerator:CreateEndpointGroup": {"action": "globalaccelerator:CreateEndpointGroup", "types": ["listener"], "resources": [{"types": ["listener"], "arn": "EndpointConfigurations[].AttachmentArn"}, {"types": ["listener"], "arn": "ListenerArn"}]}, - "globalaccelerator:CreateListener": {"action": "globalaccelerator:CreateListener", "types": ["accelerator"], "resources": [{"types": ["accelerator"], "arn": "AcceleratorArn"}]}, + "globalaccelerator:CreateCustomRoutingEndpointGroup": {"action": "globalaccelerator:CreateCustomRoutingEndpointGroup", "types": ["listener"], "resources": [{"types": ["listener"], "arn": "ListenerArn"}], "creates": [{"type": "endpointgroup", "parent": "listener", "arn": "ListenerArn"}]}, + "globalaccelerator:CreateCustomRoutingListener": {"action": "globalaccelerator:CreateCustomRoutingListener", "types": ["accelerator"], "resources": [{"types": ["accelerator"], "arn": "AcceleratorArn"}], "creates": [{"type": "listener", "parent": "accelerator", "arn": "AcceleratorArn"}]}, + "globalaccelerator:CreateEndpointGroup": {"action": "globalaccelerator:CreateEndpointGroup", "types": ["listener"], "resources": [{"types": ["listener"], "arn": "EndpointConfigurations[].AttachmentArn"}, {"types": ["listener"], "arn": "ListenerArn"}], "creates": [{"type": "endpointgroup", "parent": "listener", "arn": "ListenerArn"}]}, + "globalaccelerator:CreateListener": {"action": "globalaccelerator:CreateListener", "types": ["accelerator"], "resources": [{"types": ["accelerator"], "arn": "AcceleratorArn"}], "creates": [{"type": "listener", "parent": "accelerator", "arn": "AcceleratorArn"}]}, "globalaccelerator:DeleteAccelerator": {"action": "globalaccelerator:DeleteAccelerator", "types": ["accelerator"], "resources": [{"types": ["accelerator"], "arn": "AcceleratorArn"}]}, "globalaccelerator:DeleteCrossAccountAttachment": {"action": "globalaccelerator:DeleteCrossAccountAttachment", "types": ["attachment"], "resources": [{"types": ["attachment"], "arn": "AttachmentArn"}]}, "globalaccelerator:DeleteCustomRoutingAccelerator": {"action": "globalaccelerator:DeleteCustomRoutingAccelerator", "types": ["accelerator"], "resources": [{"types": ["accelerator"], "arn": "AcceleratorArn"}]}, @@ -3707,6 +3707,63 @@ "route53:UpdateHostedZoneFeatures": {"action": "route53:UpdateHostedZoneFeatures", "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}"}}, + "s3tables:CompleteTableMigration": {"action": "s3tables:CompleteTableMigration", "types": ["Table"], "resources": []}, + "s3tables:CreateNamespace": {"action": "s3tables:CreateNamespace", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:CreateTable": {"action": "s3tables:CreateTable", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "creates": [{"type": "Table", "parent": "TableBucket", "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:CreateTableBucket": {"action": "s3tables:CreateTableBucket", "types": ["TableBucket"], "resources": [{"type": "TableBucket", "fill": {"TableBucketName": "name"}}]}, + "s3tables:DeleteNamespace": {"action": "s3tables:DeleteNamespace", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:DeleteTable": {"action": "s3tables:DeleteTable", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}"}}, + "s3tables:DeleteTableBucket": {"action": "s3tables:DeleteTableBucket", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:DeleteTableBucketEncryption": {"action": "s3tables:DeleteTableBucketEncryption", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:DeleteTableBucketMetricsConfiguration": {"action": "s3tables:DeleteTableBucketMetricsConfiguration", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:DeleteTableBucketPolicy": {"action": "s3tables:DeleteTableBucketPolicy", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:DeleteTableBucketReplication": {"action": "s3tables:DeleteTableBucketReplication", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "?tableBucketARN"}}, + "s3tables:DeleteTablePolicy": {"action": "s3tables:DeleteTablePolicy", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}"}}, + "s3tables:DeleteTableReplication": {"action": "s3tables:DeleteTableReplication", "types": ["Table"], "resources": [{"types": ["Table"], "arn": "tableArn"}], "located": {"tableArn": "?tableArn"}}, + "s3tables:GetNamespace": {"action": "s3tables:GetNamespace", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTable": {"action": "s3tables:GetTable", "types": ["Table"], "resources": [{"types": ["Table"], "arn": "tableArn"}, {"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"], "when": {"tableArn": [null]}}], "located": {"name": "?name", "namespace": "?namespace", "tableArn": "?tableArn", "tableBucketARN": "?tableBucketARN"}}, + "s3tables:GetTableBucket": {"action": "s3tables:GetTableBucket", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTableBucketEncryption": {"action": "s3tables:GetTableBucketEncryption", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTableBucketLogging": {"action": "s3tables:GetTableBucketLogging", "types": ["TableBucket"], "resources": []}, + "s3tables:GetTableBucketMaintenanceConfiguration": {"action": "s3tables:GetTableBucketMaintenanceConfiguration", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTableBucketMetricsConfiguration": {"action": "s3tables:GetTableBucketMetricsConfiguration", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTableBucketPolicy": {"action": "s3tables:GetTableBucketPolicy", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTableBucketReplication": {"action": "s3tables:GetTableBucketReplication", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "?tableBucketARN"}}, + "s3tables:GetTableBucketStorageClass": {"action": "s3tables:GetTableBucketStorageClass", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTableEncryption": {"action": "s3tables:GetTableEncryption", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTableMaintenanceConfiguration": {"action": "s3tables:GetTableMaintenanceConfiguration", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTableMaintenanceJobStatus": {"action": "s3tables:GetTableMaintenanceJobStatus", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTableMetadataLocation": {"action": "s3tables:GetTableMetadataLocation", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTableMigration": {"action": "s3tables:GetTableMigration", "types": ["Table"], "resources": []}, + "s3tables:GetTablePolicy": {"action": "s3tables:GetTablePolicy", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}"}}, + "s3tables:GetTableRecordExpirationConfiguration": {"action": "s3tables:GetTableRecordExpirationConfiguration", "types": ["Table"], "resources": [{"types": ["Table"], "arn": "tableArn"}], "located": {"tableArn": "?tableArn"}}, + "s3tables:GetTableRecordExpirationJobStatus": {"action": "s3tables:GetTableRecordExpirationJobStatus", "types": ["Table"], "resources": [{"types": ["Table"], "arn": "tableArn"}], "located": {"tableArn": "?tableArn"}}, + "s3tables:GetTableReplication": {"action": "s3tables:GetTableReplication", "types": ["Table"], "resources": [{"types": ["Table"], "arn": "tableArn"}], "located": {"tableArn": "?tableArn"}}, + "s3tables:GetTableReplicationStatus": {"action": "s3tables:GetTableReplicationStatus", "types": ["Table"], "resources": [{"types": ["Table"], "arn": "tableArn"}], "located": {"tableArn": "?tableArn"}}, + "s3tables:GetTableStorageClass": {"action": "s3tables:GetTableStorageClass", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}"}}, + "s3tables:ListNamespaces": {"action": "s3tables:ListNamespaces", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:ListTableBuckets": {"action": "s3tables:ListTableBuckets", "types": [], "resources": []}, + "s3tables:ListTableMigrations": {"action": "s3tables:ListTableMigrations", "types": ["Table", "TableBucket"], "resources": []}, + "s3tables:ListTables": {"action": "s3tables:ListTables", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:ListTagsForResource": {"action": "s3tables:ListTagsForResource", "types": ["Table", "TableBucket"], "resources": [{"types": ["Table", "TableBucket"], "arn": "resourceArn"}], "located": {"resourceArn": "{resourceArn}"}}, + "s3tables:PutTableBucketEncryption": {"action": "s3tables:PutTableBucketEncryption", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:PutTableBucketLogging": {"action": "s3tables:PutTableBucketLogging", "types": ["TableBucket"], "resources": []}, + "s3tables:PutTableBucketMaintenanceConfiguration": {"action": "s3tables:PutTableBucketMaintenanceConfiguration", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:PutTableBucketMetricsConfiguration": {"action": "s3tables:PutTableBucketMetricsConfiguration", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:PutTableBucketPolicy": {"action": "s3tables:PutTableBucketPolicy", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:PutTableBucketReplication": {"action": "s3tables:PutTableBucketReplication", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "?tableBucketARN"}}, + "s3tables:PutTableBucketStorageClass": {"action": "s3tables:PutTableBucketStorageClass", "types": ["TableBucket"], "resources": [{"types": ["TableBucket"], "arn": "tableBucketARN"}], "located": {"tableBucketARN": "{tableBucketARN}"}}, + "s3tables:PutTableMaintenanceConfiguration": {"action": "s3tables:PutTableMaintenanceConfiguration", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}", "type": "{type}"}}, + "s3tables:PutTablePolicy": {"action": "s3tables:PutTablePolicy", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}"}}, + "s3tables:PutTableRecordExpirationConfiguration": {"action": "s3tables:PutTableRecordExpirationConfiguration", "types": ["Table"], "resources": [{"types": ["Table"], "arn": "tableArn"}], "located": {"tableArn": "?tableArn"}}, + "s3tables:PutTableReplication": {"action": "s3tables:PutTableReplication", "types": ["Table"], "resources": [{"types": ["Table"], "arn": "tableArn"}], "located": {"tableArn": "?tableArn"}}, + "s3tables:RenameTable": {"action": "s3tables:RenameTable", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}"}}, + "s3tables:StartTableMigration": {"action": "s3tables:StartTableMigration", "types": ["TableBucket"], "resources": []}, + "s3tables:SyncTableMigration": {"action": "s3tables:SyncTableMigration", "types": ["Table"], "resources": []}, + "s3tables:TagResource": {"action": "s3tables:TagResource", "types": ["Table", "TableBucket"], "resources": [{"types": ["Table", "TableBucket"], "arn": "resourceArn"}], "located": {"resourceArn": "{resourceArn}"}}, + "s3tables:UntagResource": {"action": "s3tables:UntagResource", "types": ["Table", "TableBucket"], "resources": [{"types": ["Table", "TableBucket"], "arn": "resourceArn"}], "located": {"resourceArn": "{resourceArn}"}}, + "s3tables:UpdateTableMetadataLocation": {"action": "s3tables:UpdateTableMetadataLocation", "types": ["Table"], "resources": [{"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]}], "located": {"name": "{name}", "namespace": "{namespace}", "tableBucketARN": "{tableBucketARN}"}}, + "s3tables:UpdateTableMigration": {"action": "s3tables:UpdateTableMigration", "types": ["Table"], "resources": []}, "scheduler:CreateSchedule": {"action": "scheduler:CreateSchedule", "types": ["schedule"], "resources": [{"types": ["schedule"], "arn": "Target.Arn"}, {"type": "schedule", "fill": {"GroupName": "GroupName", "ScheduleName": "Name"}, "defaults": {"GroupName": "schedule-group"}}], "located": {"Name": "{Name}"}}, "scheduler:CreateScheduleGroup": {"action": "scheduler:CreateScheduleGroup", "types": ["schedule-group"], "resources": [{"type": "schedule-group", "fill": {"GroupName": "Name"}}], "located": {"Name": "{Name}"}}, "scheduler:DeleteSchedule": {"action": "scheduler:DeleteSchedule", "types": ["schedule"], "resources": [{"type": "schedule", "fill": {"GroupName": "GroupName", "ScheduleName": "Name"}, "defaults": {"GroupName": "schedule-group"}}], "located": {"GroupName": "?groupName", "Name": "{Name}"}}, diff --git a/src/main/resources/aws/iam-tag-on-create.json b/src/main/resources/aws/iam-tag-on-create.json index 59c825f17d..1d91f2dc6e 100644 --- a/src/main/resources/aws/iam-tag-on-create.json +++ b/src/main/resources/aws/iam-tag-on-create.json @@ -1,7 +1,7 @@ { "_source": {"generator": "tools/aws/regen_iam_tag_on_create.py", "reference": "https://servicereference.us-east-1.amazonaws.com/", "botocore": "botocore 1.43.118 (installed package)", "retrieved": "2026-11-13", "note": "make iam-tag-on-create-check re-derives every member from botocore; make iam-tag-on-create-verify checks every operation against AWS."}, - "namespaces": {"access-analyzer": ["accessanalyzer"], "acm": ["acm"], "application-autoscaling": ["application-autoscaling"], "athena": ["athena"], "autoscaling": ["autoscaling"], "bcm-data-exports": ["bcm-data-exports"], "bcm-pricing-calculator": ["bcm-pricing-calculator"], "budgets": ["budgets"], "ce": ["ce"], "cloudformation": ["cloudformation"], "cloudhsm": ["cloudhsmv2"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codedeploy": ["codedeploy"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "config": ["config"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "dynamodb": ["dynamodb"], "ec2": ["ec2"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticache": ["elasticache"], "elasticloadbalancing": ["elb", "elbv2"], "elasticmapreduce": ["emr"], "emr-serverless": ["emr-serverless"], "es": ["es", "opensearch"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "fis": ["fis"], "globalaccelerator": ["globalaccelerator"], "glue": ["glue"], "guardduty": ["guardduty"], "iam": ["iam"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "lightsail": ["lightsail"], "logs": ["logs"], "macie2": ["macie2"], "memorydb": ["memorydb"], "network-firewall": ["network-firewall"], "oam": ["oam"], "organizations": ["organizations"], "payment-cryptography": ["payment-cryptography"], "pipes": ["pipes"], "ram": ["ram"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "resource-groups": ["resource-groups"], "route53resolver": ["route53resolver"], "sagemaker": ["sagemaker"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "ses": ["mailmanager", "pinpoint-email", "ses", "sesv2"], "signer": ["signer"], "sns": ["sns"], "sqs": ["sqs"], "ssm": ["ssm"], "sso": ["sso-admin"], "states": ["stepfunctions"], "sts": ["sts"], "swf": ["swf"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "transcribe": ["transcribe"], "transfer": ["transfer"], "translate": ["translate"], "wafv2": ["wafv2"], "xray": ["xray"]}, - "notCovered": {"airflow": "REST routes no rule maps yet", "app-integrations": "REST routes no rule maps yet", "appconfig": "REST routes no rule maps yet", "appsync": "REST routes no rule maps yet", "aps": "REST routes no rule maps yet", "aws-marketplace": "REST routes no rule maps yet", "backup": "REST routes no rule maps yet", "batch": "REST routes no rule maps yet", "bedrock": "REST routes no rule maps yet", "bedrock-agentcore": "REST routes no rule maps yet", "cloudfront": "its creation tags are a Tags structure holding Items, which this file does not read yet", "codeguru-reviewer": "REST routes no rule maps yet", "connect": "REST routes no rule maps yet", "detective": "REST routes no rule maps yet", "dlm": "REST routes no rule maps yet", "elasticfilesystem": "REST routes no rule maps yet", "inspector2": "REST routes no rule maps yet", "iot": "REST routes no rule maps yet", "kafka": "REST routes no rule maps yet", "mq": "REST routes no rule maps yet", "quicksight": "metadata-only REST subset; creation-tag IAM authorization is not implemented", "rum": "REST routes no rule maps yet", "s3": "authorized by route; S3 checks s3:PutObjectTagging for an object it creates with tags itself", "s3tables": "REST routes no rule maps yet", "servicecatalog": "its operations that tag are AppRegistry's, whose REST routes no rule maps yet"}, + "namespaces": {"access-analyzer": ["accessanalyzer"], "acm": ["acm"], "application-autoscaling": ["application-autoscaling"], "athena": ["athena"], "autoscaling": ["autoscaling"], "bcm-data-exports": ["bcm-data-exports"], "bcm-pricing-calculator": ["bcm-pricing-calculator"], "budgets": ["budgets"], "ce": ["ce"], "cloudformation": ["cloudformation"], "cloudhsm": ["cloudhsmv2"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codedeploy": ["codedeploy"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "config": ["config"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "dynamodb": ["dynamodb"], "ec2": ["ec2"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticache": ["elasticache"], "elasticloadbalancing": ["elb", "elbv2"], "elasticmapreduce": ["emr"], "emr-serverless": ["emr-serverless"], "es": ["es", "opensearch"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "fis": ["fis"], "globalaccelerator": ["globalaccelerator"], "glue": ["glue"], "guardduty": ["guardduty"], "iam": ["iam"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "lightsail": ["lightsail"], "logs": ["logs"], "macie2": ["macie2"], "memorydb": ["memorydb"], "network-firewall": ["network-firewall"], "oam": ["oam"], "organizations": ["organizations"], "payment-cryptography": ["payment-cryptography"], "pipes": ["pipes"], "ram": ["ram"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "resource-groups": ["resource-groups"], "route53resolver": ["route53resolver"], "s3tables": ["s3tables"], "sagemaker": ["sagemaker"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "ses": ["mailmanager", "pinpoint-email", "ses", "sesv2"], "signer": ["signer"], "sns": ["sns"], "sqs": ["sqs"], "ssm": ["ssm"], "sso": ["sso-admin"], "states": ["stepfunctions"], "sts": ["sts"], "swf": ["swf"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "transcribe": ["transcribe"], "transfer": ["transfer"], "translate": ["translate"], "wafv2": ["wafv2"], "xray": ["xray"]}, + "notCovered": {"airflow": "REST routes no rule maps yet", "app-integrations": "REST routes no rule maps yet", "appconfig": "REST routes no rule maps yet", "appsync": "REST routes no rule maps yet", "aps": "REST routes no rule maps yet", "aws-marketplace": "REST routes no rule maps yet", "backup": "REST routes no rule maps yet", "batch": "REST routes no rule maps yet", "bedrock": "REST routes no rule maps yet", "bedrock-agentcore": "REST routes no rule maps yet", "cloudfront": "its creation tags are a Tags structure holding Items, which this file does not read yet", "codeguru-reviewer": "REST routes no rule maps yet", "connect": "REST routes no rule maps yet", "detective": "REST routes no rule maps yet", "dlm": "REST routes no rule maps yet", "elasticfilesystem": "REST routes no rule maps yet", "inspector2": "REST routes no rule maps yet", "iot": "REST routes no rule maps yet", "kafka": "REST routes no rule maps yet", "mq": "REST routes no rule maps yet", "quicksight": "metadata-only REST subset; creation-tag IAM authorization is not implemented", "rum": "REST routes no rule maps yet", "s3": "authorized by route; S3 checks s3:PutObjectTagging for an object it creates with tags itself", "servicecatalog": "its operations that tag are AppRegistry's, whose REST routes no rule maps yet"}, "otherNamespaces": ["account-access", "acm-pca", "aco-automation", "agent-registry", "aidevops", "aiops", "airflow-serverless", "amplify", "amplifyuibuilder", "aoss", "appfabric", "appflow", "application-signals", "applicationinsights", "appmesh", "apprunner", "appstream", "arc-region-switch", "artifact", "auditmanager", "b2bi", "backup-gateway", "backup-search", "bcm-dashboards", "billing", "billingconductor", "braket", "cases", "cassandra", "chatbot", "chime", "cleanrooms", "cleanrooms-ml", "cloud9", "codecommit", "codeconnections", "codeguru-profiler", "codeguru-security", "codestar-connections", "codestar-notifications", "connect-campaigns", "databrew", "dataexchange", "datapipeline", "datazone", "dax", "deadline", "directconnect", "docdb-elastic", "drs", "ds", "ebs", "ecr-public", "elemental-inference", "emr-containers", "entityresolution", "evs", "fms", "forecast", "frauddetector", "fsx", "gamelift", "gameliftstreams", "geo", "grafana", "greengrass", "groundstation", "health-agent", "healthlake", "imagebuilder", "interconnect", "internetmonitor", "invoicing", "iotdeviceadvisor", "iotfleetwise", "iotmanagedintegrations", "iotsitewise", "iottwinmaker", "iotwireless", "ivs", "ivschat", "kafkaconnect", "kendra", "kendra-ranking", "kinesisvideo", "launchwizard", "lex", "license-manager", "license-manager-linux-subscriptions", "license-manager-user-subscriptions", "lookoutequipment", "m2", "managedblockchain", "mediaconnect", "mediaconvert", "medialive", "mediapackage", "mediapackage-vod", "mediapackagev2", "mediastore", "mediatailor", "medical-imaging", "mgn", "migrationhub-orchestrator", "mobiletargeting", "mpa", "neptune-graph", "network-security-manager", "networkflowmonitor", "networkmanager", "networkmonitor", "notifications", "notifications-contacts", "observabilityadmin", "odb", "omics", "opensearch", "osis", "outposts", "partnercentral", "pca-connector-ad", "pca-connector-scep", "pcs", "personalize", "pi", "polly", "profile", "proton", "qbusiness", "rbin", "refactor-spaces", "repostspace", "resiliencehub", "rolesanywhere", "route53-recovery-control-config", "route53-recovery-readiness", "route53globalresolver", "route53profiles", "rtbfabric", "s3files", "sagemaker-geospatial", "savingsplans", "schemas", "scn", "security-ir", "securityagent", "securitylake", "shield", "sms-voice", "snow-device-management", "social-messaging", "ssm-contacts", "ssm-incidents", "ssm-quicksetup", "ssm-sap", "storagegateway", "supportauthz", "synthetics", "thinclient", "timestream", "voiceid", "vpc-lattice", "waf", "waf-regional", "wellarchitected", "wickr", "wisdom", "workspaces", "workspaces-instances", "workspaces-web"], "resourceArns": {"ec2": {"application-status-check": "arn:${Partition}:ec2:${Region}:${Account}:application-status-check/*", "capacity-block": "arn:${Partition}:ec2:${Region}:${Account}:capacity-block/*", "capacity-manager-data-export": "arn:${Partition}:ec2:${Region}:${Account}:capacity-manager-data-export/*", "capacity-reservation": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation/*", "capacity-reservation-cancellation-quote": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-cancellation-quote/*", "capacity-reservation-fleet": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-fleet/*", "capacity-reservation-modification-quote": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-modification-quote/*", "carrier-gateway": "arn:${Partition}:ec2:${Region}:${Account}:carrier-gateway/*", "certificate": "arn:${Partition}:acm:${Region}:${Account}:certificate/*", "client-vpn-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:client-vpn-endpoint/*", "coip-pool": "arn:${Partition}:ec2:${Region}:${Account}:coip-pool/*", "customer-gateway": "arn:${Partition}:ec2:${Region}:${Account}:customer-gateway/*", "declarative-policies-report": "arn:${Partition}:ec2:${Region}:${Account}:declarative-policies-report/*", "dedicated-host": "arn:${Partition}:ec2:${Region}:${Account}:dedicated-host/*", "dhcp-options": "arn:${Partition}:ec2:${Region}:${Account}:dhcp-options/*", "egress-only-internet-gateway": "arn:${Partition}:ec2:${Region}:${Account}:egress-only-internet-gateway/*", "elastic-gpu": "arn:${Partition}:ec2:${Region}:${Account}:elastic-gpu/*", "elastic-inference": "arn:${Partition}:elastic-inference:${Region}:${Account}:elastic-inference-accelerator/*", "elastic-ip": "arn:${Partition}:ec2:${Region}:${Account}:elastic-ip/*", "export-image-task": "arn:${Partition}:ec2:${Region}:${Account}:export-image-task/*", "export-instance-task": "arn:${Partition}:ec2:${Region}:${Account}:export-instance-task/*", "fleet": "arn:${Partition}:ec2:${Region}:${Account}:fleet/*", "fpga-image": "arn:${Partition}:ec2:${Region}:${Account}:fpga-image/*", "group": "arn:${Partition}:resource-groups:${Region}:${Account}:group/*", "host-reservation": "arn:${Partition}:ec2:${Region}:${Account}:host-reservation/*", "image": "arn:${Partition}:ec2:${Region}::image/*", "image-usage-report": "arn:${Partition}:ec2:${Region}:${Account}:image-usage-report/*", "import-image-task": "arn:${Partition}:ec2:${Region}:${Account}:import-image-task/*", "import-snapshot-task": "arn:${Partition}:ec2:${Region}:${Account}:import-snapshot-task/*", "instance": "arn:${Partition}:ec2:${Region}:${Account}:instance/*", "instance-connect-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:instance-connect-endpoint/*", "instance-event-window": "arn:${Partition}:ec2:${Region}:${Account}:instance-event-window/*", "internet-gateway": "arn:${Partition}:ec2:${Region}:${Account}:internet-gateway/*", "ipam": "arn:${Partition}:ec2::${Account}:ipam/*", "ipam-external-resource-verification-token": "arn:${Partition}:ec2::${Account}:ipam-external-resource-verification-token/*", "ipam-internet-registry-association": "arn:${Partition}:ec2::${Account}:ipam-internet-registry-association/*", "ipam-policy": "arn:${Partition}:ec2::${Account}:ipam-policy/*", "ipam-pool": "arn:${Partition}:ec2::${Account}:ipam-pool/*", "ipam-pool-allocation": "arn:${Partition}:ec2:${Region}:${Account}:ipam-pool-allocation/*", "ipam-prefix-list-resolver": "arn:${Partition}:ec2::${Account}:ipam-prefix-list-resolver/*", "ipam-prefix-list-resolver-target": "arn:${Partition}:ec2::${Account}:ipam-prefix-list-resolver-target/*", "ipam-resource-discovery": "arn:${Partition}:ec2::${Account}:ipam-resource-discovery/*", "ipam-resource-discovery-association": "arn:${Partition}:ec2::${Account}:ipam-resource-discovery-association/*", "ipam-scope": "arn:${Partition}:ec2::${Account}:ipam-scope/*", "ipv4pool-ec2": "arn:${Partition}:ec2:${Region}:${Account}:ipv4pool-ec2/*", "ipv6pool-ec2": "arn:${Partition}:ec2:${Region}:${Account}:ipv6pool-ec2/*", "key-pair": "arn:${Partition}:ec2:${Region}:${Account}:key-pair/*", "launch-template": "arn:${Partition}:ec2:${Region}:${Account}:launch-template/*", "license-configuration": "arn:${Partition}:license-manager:${Region}:${Account}:license-configuration:*", "local-gateway": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway/*", "local-gateway-route-table": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table/*", "local-gateway-route-table-virtual-interface-group-association": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table-virtual-interface-group-association/*", "local-gateway-route-table-vpc-association": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table-vpc-association/*", "local-gateway-virtual-interface": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-virtual-interface/*", "local-gateway-virtual-interface-group": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-virtual-interface-group/*", "mac-modification-task": "arn:${Partition}:ec2:${Region}:${Account}:mac-modification-task/*", "natgateway": "arn:${Partition}:ec2:${Region}:${Account}:natgateway/*", "network-acl": "arn:${Partition}:ec2:${Region}:${Account}:network-acl/*", "network-insights-access-scope": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-access-scope/*", "network-insights-access-scope-analysis": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-access-scope-analysis/*", "network-insights-analysis": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-analysis/*", "network-insights-path": "arn:${Partition}:ec2:${Region}:${Account}:network-insights-path/*", "network-interface": "arn:${Partition}:ec2:${Region}:${Account}:network-interface/*", "outpost-lag": "arn:${Partition}:ec2:${Region}:${Account}:outpost-lag/*", "placement-group": "arn:${Partition}:ec2:${Region}:${Account}:placement-group/*", "prefix-list": "arn:${Partition}:ec2:${Region}:${Account}:prefix-list/*", "replace-root-volume-task": "arn:${Partition}:ec2:${Region}:${Account}:replace-root-volume-task/*", "reserved-instances": "arn:${Partition}:ec2:${Region}:${Account}:reserved-instances/*", "role": "arn:${Partition}:iam::${Account}:role/*", "route-server": "arn:${Partition}:ec2:${Region}:${Account}:route-server/*", "route-server-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:route-server-endpoint/*", "route-server-peer": "arn:${Partition}:ec2:${Region}:${Account}:route-server-peer/*", "route-table": "arn:${Partition}:ec2:${Region}:${Account}:route-table/*", "secondary-interface": "arn:${Partition}:ec2:${Region}:${Account}:secondary-interface/*", "secondary-network": "arn:${Partition}:ec2:${Region}:${Account}:secondary-network/*", "secondary-subnet": "arn:${Partition}:ec2:${Region}:${Account}:secondary-subnet/*", "security-group": "arn:${Partition}:ec2:${Region}:${Account}:security-group/*", "security-group-rule": "arn:${Partition}:ec2:${Region}:${Account}:security-group-rule/*", "snapshot": "arn:${Partition}:ec2:${Region}::snapshot/*", "spot-fleet-request": "arn:${Partition}:ec2:${Region}:${Account}:spot-fleet-request/*", "spot-instances-request": "arn:${Partition}:ec2:${Region}:${Account}:spot-instances-request/*", "subnet": "arn:${Partition}:ec2:${Region}:${Account}:subnet/*", "subnet-cidr-reservation": "arn:${Partition}:ec2:${Region}:${Account}:subnet-cidr-reservation/*", "traffic-mirror-filter": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-filter/*", "traffic-mirror-filter-rule": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-filter-rule/*", "traffic-mirror-session": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-session/*", "traffic-mirror-target": "arn:${Partition}:ec2:${Region}:${Account}:traffic-mirror-target/*", "transit-gateway": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway/*", "transit-gateway-attachment": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-attachment/*", "transit-gateway-connect-peer": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-connect-peer/*", "transit-gateway-metering-policy": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-metering-policy/*", "transit-gateway-multicast-domain": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-multicast-domain/*", "transit-gateway-policy-table": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-policy-table/*", "transit-gateway-route-table": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-route-table/*", "transit-gateway-route-table-announcement": "arn:${Partition}:ec2:${Region}:${Account}:transit-gateway-route-table-announcement/*", "verified-access-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-endpoint/*", "verified-access-endpoint-target": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-endpoint-target/*", "verified-access-group": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-group/*", "verified-access-instance": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-instance/*", "verified-access-policy": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-policy/*", "verified-access-trust-provider": "arn:${Partition}:ec2:${Region}:${Account}:verified-access-trust-provider/*", "volume": "arn:${Partition}:ec2:${Region}:${Account}:volume/*", "vpc": "arn:${Partition}:ec2:${Region}:${Account}:vpc/*", "vpc-block-public-access-exclusion": "arn:${Partition}:ec2:${Region}:${Account}:vpc-block-public-access-exclusion/*", "vpc-encryption-control": "arn:${Partition}:ec2:${Region}:${Account}:vpc-encryption-control/*", "vpc-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint/*", "vpc-endpoint-connection": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint-connection/*", "vpc-endpoint-service": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint-service/*", "vpc-endpoint-service-permission": "arn:${Partition}:ec2:${Region}:${Account}:vpc-endpoint-service-permission/*", "vpc-flow-log": "arn:${Partition}:ec2:${Region}:${Account}:vpc-flow-log/*", "vpc-peering-connection": "arn:${Partition}:ec2:${Region}:${Account}:vpc-peering-connection/*", "vpn-concentrator": "arn:${Partition}:ec2:${Region}:${Account}:vpn-concentrator/*", "vpn-connection": "arn:${Partition}:ec2:${Region}:${Account}:vpn-connection/*", "vpn-connection-device-type": "arn:${Partition}:ec2:${Region}:${Account}:vpn-connection-device-type/*", "vpn-gateway": "arn:${Partition}:ec2:${Region}:${Account}:vpn-gateway/*"}, "rds": {"auto-backup": "arn:${Partition}:rds:${Region}:${Account}:auto-backup:*", "cev": "arn:${Partition}:rds:${Region}:${Account}:cev:*/*/*", "cluster": "arn:${Partition}:rds:${Region}:${Account}:cluster:*", "cluster-auto-backup": "arn:${Partition}:rds:${Region}:${Account}:cluster-auto-backup:*", "cluster-endpoint": "arn:${Partition}:rds:${Region}:${Account}:cluster-endpoint:*", "cluster-pg": "arn:${Partition}:rds:${Region}:${Account}:cluster-pg:*", "cluster-snapshot": "arn:${Partition}:rds:${Region}:${Account}:cluster-snapshot:*", "db": "arn:${Partition}:rds:${Region}:${Account}:db:*", "db-capacity-reservation": "arn:${Partition}:rds:${Region}:${Account}:db-capacity-reservation:*", "deployment": "arn:${Partition}:rds:${Region}:${Account}:deployment:*", "es": "arn:${Partition}:rds:${Region}:${Account}:es:*", "global-cluster": "arn:${Partition}:rds::${Account}:global-cluster:*", "integration": "arn:${Partition}:rds:${Region}:${Account}:integration:*", "og": "arn:${Partition}:rds:${Region}:${Account}:og:*", "pg": "arn:${Partition}:rds:${Region}:${Account}:pg:*", "proxy": "arn:${Partition}:rds:${Region}:${Account}:db-proxy:*", "proxy-endpoint": "arn:${Partition}:rds:${Region}:${Account}:db-proxy-endpoint:*", "ri": "arn:${Partition}:rds:${Region}:${Account}:ri:*", "secgrp": "arn:${Partition}:rds:${Region}:${Account}:secgrp:*", "shardgrp": "arn:${Partition}:rds:${Region}:${Account}:shard-group:*", "snapshot": "arn:${Partition}:rds:${Region}:${Account}:snapshot:*", "snapshot-tenant-database": "arn:${Partition}:rds:${Region}:${Account}:snapshot-tenant-database:*:*", "subgrp": "arn:${Partition}:rds:${Region}:${Account}:subgrp:*", "target-group": "arn:${Partition}:rds:${Region}:${Account}:target-group:*", "tenant-database": "arn:${Partition}:rds:${Region}:${Account}:tenant-database:*"}}, "operations": { @@ -486,6 +486,8 @@ "route53resolver:CreateResolverEndpoint": {"tagging": ["route53resolver:TagResource"], "requestTags": true, "tags": [{"member": "Tags[]", "key": "Key", "value": "Value"}]}, "route53resolver:CreateResolverQueryLogConfig": {"tagging": ["route53resolver:TagResource"], "requestTags": true, "tags": [{"member": "Tags[]", "key": "Key", "value": "Value"}]}, "route53resolver:CreateResolverRule": {"tagging": ["route53resolver:TagResource"], "requestTags": true, "tags": [{"member": "Tags[]", "key": "Key", "value": "Value"}]}, + "s3tables:CreateTable": {"tagging": ["s3tables:TagResource"], "requestTags": true, "tags": [{"member": "tags{}"}]}, + "s3tables:CreateTableBucket": {"tagging": ["s3tables:TagResource"], "requestTags": true, "tags": [{"member": "tags{}"}]}, "sagemaker:CreateAIBenchmarkJob": {"tagging": ["sagemaker:AddTags"], "requestTags": true, "tags": [{"member": "Tags[]", "key": "Key", "value": "Value"}]}, "sagemaker:CreateAIRecommendationJob": {"tagging": ["sagemaker:AddTags"], "requestTags": true, "tags": [{"member": "Tags[]", "key": "Key", "value": "Value"}]}, "sagemaker:CreateAIWorkloadConfig": {"tagging": ["sagemaker:AddTags"], "requestTags": true, "tags": [{"member": "Tags[]", "key": "Key", "value": "Value"}]}, diff --git a/src/main/resources/aws/rest-routes.json b/src/main/resources/aws/rest-routes.json index d35459b989..51772d9eb2 100644 --- a/src/main/resources/aws/rest-routes.json +++ b/src/main/resources/aws/rest-routes.json @@ -2144,6 +2144,62 @@ "UpdateStorageLensGroup": {"method": "PUT", "requestUri": "/v20180820/storagelensgroup/{name}"} } }, + "s3tables": { + "credentialScope": "s3tables", + "apiVersion": "2018-05-10", + "accessDeniedStatus": 403, + "operations": { + "CreateNamespace": {"method": "PUT", "requestUri": "/namespaces/{tableBucketARN}"}, + "CreateTable": {"method": "PUT", "requestUri": "/tables/{tableBucketARN}/{namespace}"}, + "CreateTableBucket": {"method": "PUT", "requestUri": "/buckets"}, + "DeleteNamespace": {"method": "DELETE", "requestUri": "/namespaces/{tableBucketARN}/{namespace}"}, + "DeleteTable": {"method": "DELETE", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}"}, + "DeleteTableBucket": {"method": "DELETE", "requestUri": "/buckets/{tableBucketARN}"}, + "DeleteTableBucketEncryption": {"method": "DELETE", "requestUri": "/buckets/{tableBucketARN}/encryption"}, + "DeleteTableBucketMetricsConfiguration": {"method": "DELETE", "requestUri": "/buckets/{tableBucketARN}/metrics"}, + "DeleteTableBucketPolicy": {"method": "DELETE", "requestUri": "/buckets/{tableBucketARN}/policy"}, + "DeleteTableBucketReplication": {"method": "DELETE", "requestUri": "/table-bucket-replication"}, + "DeleteTablePolicy": {"method": "DELETE", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/policy"}, + "DeleteTableReplication": {"method": "DELETE", "requestUri": "/table-replication"}, + "GetNamespace": {"method": "GET", "requestUri": "/namespaces/{tableBucketARN}/{namespace}"}, + "GetTable": {"method": "GET", "requestUri": "/get-table"}, + "GetTableBucket": {"method": "GET", "requestUri": "/buckets/{tableBucketARN}"}, + "GetTableBucketEncryption": {"method": "GET", "requestUri": "/buckets/{tableBucketARN}/encryption"}, + "GetTableBucketMaintenanceConfiguration": {"method": "GET", "requestUri": "/buckets/{tableBucketARN}/maintenance"}, + "GetTableBucketMetricsConfiguration": {"method": "GET", "requestUri": "/buckets/{tableBucketARN}/metrics"}, + "GetTableBucketPolicy": {"method": "GET", "requestUri": "/buckets/{tableBucketARN}/policy"}, + "GetTableBucketReplication": {"method": "GET", "requestUri": "/table-bucket-replication"}, + "GetTableBucketStorageClass": {"method": "GET", "requestUri": "/buckets/{tableBucketARN}/storage-class"}, + "GetTableEncryption": {"method": "GET", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/encryption"}, + "GetTableMaintenanceConfiguration": {"method": "GET", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/maintenance"}, + "GetTableMaintenanceJobStatus": {"method": "GET", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/maintenance-job-status"}, + "GetTableMetadataLocation": {"method": "GET", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/metadata-location"}, + "GetTablePolicy": {"method": "GET", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/policy"}, + "GetTableRecordExpirationConfiguration": {"method": "GET", "requestUri": "/table-record-expiration"}, + "GetTableRecordExpirationJobStatus": {"method": "GET", "requestUri": "/table-record-expiration-job-status"}, + "GetTableReplication": {"method": "GET", "requestUri": "/table-replication"}, + "GetTableReplicationStatus": {"method": "GET", "requestUri": "/replication-status"}, + "GetTableStorageClass": {"method": "GET", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/storage-class"}, + "ListNamespaces": {"method": "GET", "requestUri": "/namespaces/{tableBucketARN}"}, + "ListTableBuckets": {"method": "GET", "requestUri": "/buckets"}, + "ListTables": {"method": "GET", "requestUri": "/tables/{tableBucketARN}"}, + "ListTagsForResource": {"method": "GET", "requestUri": "/tag/{resourceArn}"}, + "PutTableBucketEncryption": {"method": "PUT", "requestUri": "/buckets/{tableBucketARN}/encryption"}, + "PutTableBucketMaintenanceConfiguration": {"method": "PUT", "requestUri": "/buckets/{tableBucketARN}/maintenance/{type}"}, + "PutTableBucketMetricsConfiguration": {"method": "PUT", "requestUri": "/buckets/{tableBucketARN}/metrics"}, + "PutTableBucketPolicy": {"method": "PUT", "requestUri": "/buckets/{tableBucketARN}/policy"}, + "PutTableBucketReplication": {"method": "PUT", "requestUri": "/table-bucket-replication"}, + "PutTableBucketStorageClass": {"method": "PUT", "requestUri": "/buckets/{tableBucketARN}/storage-class"}, + "PutTableMaintenanceConfiguration": {"method": "PUT", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/maintenance/{type}"}, + "PutTablePolicy": {"method": "PUT", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/policy"}, + "PutTableRecordExpirationConfiguration": {"method": "PUT", "requestUri": "/table-record-expiration"}, + "PutTableReplication": {"method": "PUT", "requestUri": "/table-replication"}, + "RenameTable": {"method": "PUT", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/rename"}, + "TagResource": {"method": "POST", "requestUri": "/tag/{resourceArn}"}, + "UntagResource": {"method": "DELETE", "requestUri": "/tag/{resourceArn}"}, + "UpdateTableMetadataLocation": {"method": "PUT", "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/metadata-location"} + } + }, "scheduler": { "credentialScope": "scheduler", "apiVersion": "2021-06-30", diff --git a/src/test/java/io/floci/aws/core/common/RequestResourceMembersTest.java b/src/test/java/io/floci/aws/core/common/RequestResourceMembersTest.java index 459a70989c..b22e388e85 100644 --- a/src/test/java/io/floci/aws/core/common/RequestResourceMembersTest.java +++ b/src/test/java/io/floci/aws/core/common/RequestResourceMembersTest.java @@ -586,6 +586,15 @@ class RequestResourceMembersTest { String parent = example(table.formats().get(namespace).get(created.parent()).format()); String child = example(table.formats().get(namespace).get(created.type()).format()); String expected = child.substring(0, child.length() - 1) + "*"; + // A REST request carrying the parent's ARN in its path names it there alone (S3 Tables' + // CreateTable, under /tables/{tableBucketARN}/...), as its handler reads it. + String where = table.located().getOrDefault(operation.getKey(), Map.of()).get(created.arn().name()); + if (where != null && where.startsWith("{")) { + assertTrue(RequestResources.created(operation.getKey(), null, json("{}"), "aws", "us-east-1", + "000000000000", Map.of(where.substring(1, where.length() - 1), parent)) + .contains(expected), where + " " + parent); + return; + } ObjectNode body = MAPPER.createObjectNode(); if (created.arn().list()) { body.putArray(created.arn().name()).add(parent); diff --git a/src/test/java/io/floci/aws/services/s3tables/S3TablesIamIntegrationTest.java b/src/test/java/io/floci/aws/services/s3tables/S3TablesIamIntegrationTest.java new file mode 100644 index 0000000000..595adba7ef --- /dev/null +++ b/src/test/java/io/floci/aws/services/s3tables/S3TablesIamIntegrationTest.java @@ -0,0 +1,219 @@ +package io.floci.aws.services.s3tables; + +import io.floci.aws.testing.SignedIamEnforcementProfile; +import io.floci.aws.testing.SignedIamUsers; +import io.floci.aws.testutil.AwsRequestSigner; +import io.quarkus.test.common.http.TestHTTPResource; +import io.quarkus.test.junit.QuarkusTest; +import io.quarkus.test.junit.TestProfile; +import io.restassured.response.Response; +import io.restassured.specification.RequestSpecification; +import org.junit.jupiter.api.Test; + +import java.net.URI; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; +import java.util.List; +import java.util.Map; +import java.util.UUID; + +import static io.restassured.RestAssured.given; +import static org.hamcrest.Matchers.containsString; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.not; + +/** + * S3 Tables requests are checked against the caller's policies through its generated routes: a table bucket call on + * the bucket its path names, and a table call on the table its path (or {@code GetTable}'s query string) names by its + * table bucket's ARN, its namespace and its name, whose ARN S3 Tables answers from the table it stores. + */ +@QuarkusTest +@TestProfile(SignedIamEnforcementProfile.class) +class S3TablesIamIntegrationTest { + + private final AwsRequestSigner admin = AwsRequestSigner.signedAs("test", "test", "s3tables"); + + @TestHTTPResource("/") + URI endpoint; + + @Test + void callerWithoutPermissionsIsRefusedBeforeATableBucketIsCreated() throws Exception { + String name = "iam-none-" + UUID.randomUUID().toString().substring(0, 8); + try (SignedIamUsers.User user = SignedIamUsers.createUser(endpoint, "s3t-iam-")) { + denied(send(user.signer("s3tables"), "PUT", "/buckets", "{\"name\":\"" + name + "\"}"), + "s3tables:CreateTableBucket"); + denied(send(user.signer("s3tables"), "GET", "/buckets", null), "s3tables:ListTableBuckets"); + } + send(admin, "GET", "/buckets", null).then().statusCode(200).body(not(containsString(name))); + } + + @Test + void aBucketScopedAllowReadsThatBucketAndRefusesAnother() throws Exception { + String allowed = createBucket(); + String other = createBucket(); + try (SignedIamUsers.User user = SignedIamUsers.createUser(endpoint, "s3t-iam-", "access", + allow("\"s3tables:GetTableBucket\"", allowed))) { + send(user.signer("s3tables"), "GET", "/buckets/" + encoded(allowed), null).then().statusCode(200) + .body("arn", equalTo(allowed)); + denied(send(user.signer("s3tables"), "GET", "/buckets/" + encoded(other), null), + "s3tables:GetTableBucket"); + denied(send(user.signer("s3tables"), "DELETE", "/buckets/" + encoded(allowed), null), + "s3tables:DeleteTableBucket"); + } finally { + send(admin, "DELETE", "/buckets/" + encoded(allowed), null).then().statusCode(204); + send(admin, "DELETE", "/buckets/" + encoded(other), null).then().statusCode(204); + } + } + + @Test + void aTableScopedAllowReadsThatTableByItsPathAndRefusesAnother() throws Exception { + String bucket = createBucket(); + String path = "/tables/" + encoded(bucket) + "/analytics/"; + send(admin, "PUT", "/namespaces/" + encoded(bucket), "{\"namespace\":[\"analytics\"]}").then().statusCode(200); + String table = send(admin, "PUT", path, "{\"name\":\"events\",\"format\":\"ICEBERG\"}").then().statusCode(200) + .extract().path("tableARN"); + send(admin, "PUT", path, "{\"name\":\"orders\",\"format\":\"ICEBERG\"}").then().statusCode(200); + try (SignedIamUsers.User user = SignedIamUsers.createUser(endpoint, "s3t-iam-", "access", + allow("[\"s3tables:GetTableMetadataLocation\",\"s3tables:GetTable\"]", table))) { + send(user.signer("s3tables"), "GET", path + "events/metadata-location", null).then().statusCode(200); + denied(send(user.signer("s3tables"), "GET", path + "orders/metadata-location", null), + "s3tables:GetTableMetadataLocation"); + denied(send(user.signer("s3tables"), "DELETE", path + "events", null), "s3tables:DeleteTable"); + String query = "/get-table?tableBucketARN=" + encoded(bucket) + "&namespace=analytics&name="; + send(user.signer("s3tables"), "GET", query + "events", null).then().statusCode(200) + .body("tableARN", equalTo(table)); + denied(send(user.signer("s3tables"), "GET", query + "orders", null), "s3tables:GetTable"); + } finally { + send(admin, "DELETE", path + "events", null).then().statusCode(204); + send(admin, "DELETE", path + "orders", null).then().statusCode(204); + send(admin, "DELETE", "/namespaces/" + encoded(bucket) + "/analytics", null).then().statusCode(204); + send(admin, "DELETE", "/buckets/" + encoded(bucket), null).then().statusCode(204); + } + } + + /** Tables of one name in two namespaces have ARNs of their own, so an allow on one opens only that one. */ + @Test + void aTableScopedAllowDoesNotOpenATableOfTheSameNameInAnotherNamespace() throws Exception { + String bucket = createBucket(); + String analytics = createTable(bucket, "analytics", "events"); + createTable(bucket, "staging", "events"); + try (SignedIamUsers.User user = SignedIamUsers.createUser(endpoint, "s3t-iam-", "access", + allow("\"s3tables:GetTableMetadataLocation\"", analytics))) { + send(user.signer("s3tables"), "GET", "/tables/" + encoded(bucket) + "/analytics/events/metadata-location", + null).then().statusCode(200); + denied(send(user.signer("s3tables"), "GET", "/tables/" + encoded(bucket) + + "/staging/events/metadata-location", null), "s3tables:GetTableMetadataLocation"); + } finally { + deleteBucket(bucket, "analytics", "staging"); + } + } + + /** A {@code GetTable} naming a table by its ARN is checked on that table and answers it, whatever else it gives. */ + @Test + void getTableByArnServesTheTableTheArnNames() throws Exception { + String bucket = createBucket(); + String events = createTable(bucket, "analytics", "events"); + String orders = createTable(bucket, "analytics", "orders"); + try (SignedIamUsers.User user = SignedIamUsers.createUser(endpoint, "s3t-iam-", "access", + allow("\"s3tables:GetTable\"", events))) { + send(user.signer("s3tables"), "GET", "/get-table?tableArn=" + encoded(events) + "&tableBucketARN=" + + encoded(bucket) + "&namespace=analytics&name=orders", null).then().statusCode(200) + .body("tableARN", equalTo(events)).body("name", equalTo("events")); + denied(send(user.signer("s3tables"), "GET", "/get-table?tableArn=" + encoded(orders), null), + "s3tables:GetTable"); + } finally { + deleteBucket(bucket, "analytics"); + } + } + + /** A double-encoded table ARN names no table to the handler either, so a deny on the table holds. */ + @Test + void aDoubleEncodedTableArnReadsNoTableADenyCovers() throws Exception { + String bucket = createBucket(); + String orders = createTable(bucket, "analytics", "orders"); + String policy = "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":" + + "\"s3tables:GetTable\",\"Resource\":\"*\"},{\"Effect\":\"Deny\",\"Action\":" + + "\"s3tables:GetTable\",\"Resource\":\"" + orders + "\"}]}"; + try (SignedIamUsers.User user = SignedIamUsers.createUser(endpoint, "s3t-iam-", "access", policy)) { + denied(send(user.signer("s3tables"), "GET", "/get-table?tableArn=" + encoded(orders), null), + "s3tables:GetTable"); + send(user.signer("s3tables"), "GET", "/get-table?tableArn=" + encoded(encoded(orders)), null).then() + .statusCode(not(200)).body(not(containsString(orders))); + } finally { + deleteBucket(bucket, "analytics"); + } + } + + /** Tags a {@code CreateTable} sends are checked as {@code s3tables:TagResource} on the table it makes. */ + @Test + void aTaggedCreateTableNeedsTagResourceOnTheTable() throws Exception { + String bucket = createBucket(); + String path = "/tables/" + encoded(bucket) + "/analytics/"; + send(admin, "PUT", "/namespaces/" + encoded(bucket), "{\"namespace\":[\"analytics\"]}").then().statusCode(200); + String tagged = "{\"name\":\"events\",\"format\":\"ICEBERG\",\"tags\":{\"team\":\"data\"}}"; + String onBucket = "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":" + + "[\"s3tables:CreateTable\",\"s3tables:TagResource\"],\"Resource\":\"" + bucket + "\"}]}"; + String onTables = "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":" + + "\"s3tables:CreateTable\",\"Resource\":\"" + bucket + "\"},{\"Effect\":\"Allow\",\"Action\":" + + "\"s3tables:TagResource\",\"Resource\":\"" + bucket + "/table/*\"}]}"; + try (SignedIamUsers.User user = SignedIamUsers.createUser(endpoint, "s3t-iam-", "create", onBucket)) { + denied(send(user.signer("s3tables"), "PUT", path, tagged), "s3tables:TagResource"); + } + try (SignedIamUsers.User user = SignedIamUsers.createUser(endpoint, "s3t-iam-", "create", onTables)) { + send(user.signer("s3tables"), "PUT", path, tagged).then().statusCode(200); + } finally { + deleteBucket(bucket, "analytics"); + } + } + + private String createTable(String bucket, String namespace, String name) throws Exception { + send(admin, "PUT", "/namespaces/" + encoded(bucket), "{\"namespace\":[\"" + namespace + "\"]}"); + return send(admin, "PUT", "/tables/" + encoded(bucket) + "/" + namespace + "/", + "{\"name\":\"" + name + "\",\"format\":\"ICEBERG\"}").then().statusCode(200) + .extract().path("tableARN"); + } + + /** Deletes the bucket's tables in the namespaces given, the namespaces and the bucket. */ + private void deleteBucket(String bucket, String... namespaces) throws Exception { + for (String namespace : namespaces) { + List tables = send(admin, "GET", "/tables/" + encoded(bucket) + "?namespace=" + namespace, null) + .then().statusCode(200).extract().path("tables.name"); + for (String table : tables) { + send(admin, "DELETE", "/tables/" + encoded(bucket) + "/" + namespace + "/" + table, null).then() + .statusCode(204); + } + send(admin, "DELETE", "/namespaces/" + encoded(bucket) + "/" + namespace, null).then().statusCode(204); + } + send(admin, "DELETE", "/buckets/" + encoded(bucket), null).then().statusCode(204); + } + + private static String allow(String actions, String resource) { + return "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":" + actions + + ",\"Resource\":\"" + resource + "\"}]}"; + } + + private String createBucket() throws Exception { + String name = "iam-" + UUID.randomUUID().toString().substring(0, 8); + return send(admin, "PUT", "/buckets", "{\"name\":\"" + name + "\"}").then().statusCode(200) + .extract().path("arn"); + } + + private static String encoded(String value) { + return URLEncoder.encode(value, StandardCharsets.UTF_8); + } + + private Response send(AwsRequestSigner signer, String method, String path, String body) throws Exception { + URI uri = endpoint.resolve(path); + byte[] bytes = body == null ? new byte[0] : body.getBytes(StandardCharsets.UTF_8); + RequestSpecification request = given().urlEncodingEnabled(false) + .headers(signer.headersFor(method, uri, Map.of(), bytes)); + if (body != null) { + request = request.contentType("application/json").body(bytes); + } + return request.request(method, uri); + } + + private static void denied(Response response, String action) { + response.then().statusCode(403).body(containsString("not authorized to perform: " + action)); + } +} diff --git a/src/test/java/io/floci/aws/services/s3tables/S3TablesIntegrationTest.java b/src/test/java/io/floci/aws/services/s3tables/S3TablesIntegrationTest.java index b229bbcc42..9ce57fcced 100644 --- a/src/test/java/io/floci/aws/services/s3tables/S3TablesIntegrationTest.java +++ b/src/test/java/io/floci/aws/services/s3tables/S3TablesIntegrationTest.java @@ -11,12 +11,14 @@ import org.junit.jupiter.api.TestMethodOrder; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; +import java.util.regex.Pattern; import static io.restassured.RestAssured.given; import static org.hamcrest.Matchers.contains; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.hasKey; +import static org.hamcrest.Matchers.matchesPattern; import static org.hamcrest.Matchers.not; @QuarkusTest @@ -90,7 +92,7 @@ class S3TablesIntegrationTest { .then() .statusCode(200) .contentType(containsString(JSON_CONTENT_TYPE)) - .body("tableARN", equalTo(BUCKET_ARN + "/table/" + TABLE_NAME)) + .body("tableARN", matchesPattern(Pattern.quote(BUCKET_ARN) + "/table/[0-9a-f-]{36}")) .body("versionToken", not("")) .extract() .path("versionToken"); diff --git a/src/test/java/io/floci/aws/services/s3tables/S3TablesServiceTest.java b/src/test/java/io/floci/aws/services/s3tables/S3TablesServiceTest.java index c430e861af..fe8569f5ec 100644 --- a/src/test/java/io/floci/aws/services/s3tables/S3TablesServiceTest.java +++ b/src/test/java/io/floci/aws/services/s3tables/S3TablesServiceTest.java @@ -15,11 +15,13 @@ import org.mockito.Mockito; import java.util.List; import java.util.Map; +import java.util.Optional; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; +import java.util.regex.Pattern; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; @@ -130,19 +132,36 @@ class S3TablesServiceTest { service.getTable(arn, "analytics", "events", REGION).getMetadataLocation()); } + @Test + void tablesOfOneNameInTwoNamespacesHaveTheirOwnArnsEndingInAMintedId() { + String arn = createBucketWithNamespace("analytics"); + service.createNamespace(arn, List.of("staging"), REGION); + + S3Table analytics = createTable(arn, "analytics", "events"); + S3Table staging = createTable(arn, "staging", "events"); + + assertTrue(analytics.getArn().matches(Pattern.quote(arn) + "/table/[0-9a-f-]{36}"), analytics.getArn()); + assertNotEquals(analytics.getArn(), staging.getArn()); + assertEquals("staging", service.getTableByArn(staging.getArn(), REGION).getNamespace()); + assertEquals(Optional.of(analytics.getArn()), service.tableArn(arn, "analytics", "events", REGION)); + assertEquals(Optional.empty(), service.tableArn(arn, "analytics", "missing", REGION)); + assertError("NotFoundException", () -> service.getTableByArn(arn + "/table/unknown", REGION)); + } + @Test void renameMovesTableAndRotatesItsVersionToken() { String arn = createBucketWithNamespace("analytics"); service.createNamespace(arn, List.of("reporting"), REGION); S3Table created = createTable(arn, "analytics", "events"); String originalToken = created.getVersionToken(); + String tableArn = created.getArn(); S3Table renamed = service.renameTable(arn, "analytics", "events", "reporting", "daily_events", originalToken, REGION); assertEquals("reporting", renamed.getNamespace()); assertEquals("daily_events", renamed.getName()); - assertEquals(arn + "/table/daily_events", renamed.getArn()); + assertEquals(tableArn, renamed.getArn(), "a rename keeps the table's id, so its ARN"); assertNotEquals(originalToken, renamed.getVersionToken()); assertError("NotFoundException", () -> service.getTable(arn, "analytics", "events", REGION)); assertEquals(renamed, service.getTable(arn, "reporting", "daily_events", REGION)); diff --git a/tools/aws/regen_iam_passed_roles.py b/tools/aws/regen_iam_passed_roles.py index 146ce07028..f59dafc6a1 100644 --- a/tools/aws/regen_iam_passed_roles.py +++ b/tools/aws/regen_iam_passed_roles.py @@ -82,8 +82,8 @@ NAMESPACES = ( "cloudwatch", "codebuild", "codedeploy", "codepipeline", "cognito-identity", "cognito-idp", "comprehend", "config", "datasync", "dms", "dsql", "ec2", "ecr", "ecs", "eks", "elasticmapreduce", "emr-serverless", "events", "firehose", "glue", "iam", "kinesis", "kinesisanalytics", "lambda", "logs", "pipes", - "rds", "redshift", "redshift-serverless", "rekognition", "resource-groups", "s3", "sagemaker", "scheduler", - "secretsmanager", "servicecatalog", "ses", "sns", "ssm", "states", "swf", "textract", + "rds", "redshift", "redshift-serverless", "rekognition", "resource-groups", "s3", "s3tables", "sagemaker", + "scheduler", "secretsmanager", "servicecatalog", "ses", "sns", "ssm", "states", "swf", "textract", "transcribe", "transfer", "translate", ) @@ -113,7 +113,6 @@ NOT_COVERED = { "mq": "REST routes no rule maps yet", "quicksight": "metadata-only REST subset; role passing and iam:PassRole checks are not implemented", "rum": "REST routes no rule maps yet", - "s3tables": "REST routes no rule maps yet", } # A member that names a role: Role, RoleArn, RoleName, their plurals, and an Update or Override of one. diff --git a/tools/aws/regen_iam_request_resources.py b/tools/aws/regen_iam_request_resources.py index af5d52da7e..1f549eda47 100644 --- a/tools/aws/regen_iam_request_resources.py +++ b/tools/aws/regen_iam_request_resources.py @@ -270,9 +270,9 @@ NAMESPACES = ("access-analyzer", "account", "acm", "application-autoscaling", "a "datasync", "ec2", "ecr", "ecs", "elasticloadbalancing", "elasticmapreduce", "emr-serverless", "es", "events", "firehose", "fis", "globalaccelerator", "inspector2", "kinesisanalytics", "macie2", "oam", "payment-cryptography", "quicksight", "ram", "redshift", "redshift-data", "redshift-serverless", - "rekognition", "resource-explorer-2", "route53", "servicediscovery", "servicequotas", "ssm", "sso", - "states", "textract", "timestream-influxdb", "translate", "signer", "xray", "securityhub", "guardduty", - "secretsmanager", "scheduler", "lambda", "cloudformation") + "rekognition", "resource-explorer-2", "route53", "s3tables", "servicediscovery", "servicequotas", "ssm", + "sso", "states", "textract", "timestream-influxdb", "translate", "signer", "xray", "securityhub", + "guardduty", "secretsmanager", "scheduler", "lambda", "cloudformation") # The namespaces whose resources ResourceArnBuilder builds itself. HAND_BUILT = ("apigateway", "bedrock", "dsql", "dynamodb", "eks", "iam", "kinesis", "kms", "logs", "pipes", @@ -427,7 +427,6 @@ NOT_COVERED: dict[str, str] = { "rds-data": _REST, "route53resolver": _LATER, "rum": _REST, - "s3tables": _REST, "s3vectors": _REST, "sagemaker": _LATER, "servicecatalog": "not read yet: CreatePortfolioShare, UpdatePortfolioShare and DeletePortfolioShare give in " @@ -850,6 +849,17 @@ def uri_labels(models: dict[str, dict], operation: str) -> list[str]: return [] +def query_members(models: dict[str, dict], operation: str) -> list[str]: + """The members a REST request's query string carries, in the order its model gives them.""" + for model in models.values(): + spec = model["operations"].get(operation) + if spec is None or "input" not in spec or "http" not in spec: + continue + return [name for name, member in model["shapes"][spec["input"]["shape"]].get("members", {}).items() + if member.get("location") == "querystring"] + return [] + + def created_aliases(models: dict[str, dict]) -> dict[str, str]: """The id a create answers beside the ARN of another type, by their stems: `RunJobFlow` answers `JobFlowId` and `ClusterArn`, so a job flow's id is a cluster's.""" @@ -1043,6 +1053,38 @@ def with_documented(operation: str, types: list[str], formats: dict[str, str], m # The labels before the member's own scope it; those after it name something inside it (a group's member). scope = labels[:labels.index(member)] if member in labels else labels resources.append({"type": kind, "fill": {}, "find": [label for label in scope if label != member] + [member]}) + # A type whose format ends in an id its service mints, which no member fills, in a REST request whose path labels + # (or, with none, query string members) end in a member naming the type by its name, documented so or holding a + # botocore shape named so (`TableName`, documented as "The table name."), is found by its service by those + # members: an S3 Tables table by its table bucket's ARN, its namespace and its name, in + # `/tables/{tableBucketARN}/{namespace}/{name}`. A member among them holding an ARN holds another type's, which + # scopes this one; an optional member holding this type's own ARN names it instead when the request gives it + # (`GetTable`'s `tableArn`). + located = labels or query_members(models, name) + held_shapes = member_shapes(models, name) + for kind in kinds: + variables = [v for v in VARIABLE_RE.findall(formats[kind]) if v not in KNOWN_VARIABLES] + if creating or len(variables) < 2 or kind_of(variables[-1]) != "id" or not located: + continue + if any(resource.get("type") == kind and "find" in resource for resource in resources): + continue + named = [member for member in located if member in facts and not facts[member]["nested"] and ( + (doc_kind(facts[member]["lead"]) == "name" and doc_names(facts[member]["lead"], kind, formats)) + or (kind_of(held_shapes.get(member, "")) == "name" and stem(held_shapes[member]) == stem(kind)))] + if len(named) != 1: + continue + scope = located[:located.index(named[0]) + 1] + own = [resource["arn"] for resource in resources if "arn" in resource and resource["arn"] not in scope + and kind in resource["types"] and related(stem(resource["arn"]), stem(kind))] + optional = optional_members(models, name) + if own and not all(member in optional for member in own): + continue + resources = [resource for resource in resources if resource.get("type") != kind + and not ("arn" in resource and resource["arn"] in scope)] + found = {"type": kind, "fill": {}, "find": scope} + if own: + found["when"] = {member: [None] for member in own} + resources.append(found) # A `ResourceId` a non-create's request gives names whatever the action acts on, which its service finds it as # (an EMR cluster or Studio its tag calls name), and another member then scopes the call rather than names one. one = [kind for kind in kinds if len([v for v in VARIABLE_RE.findall(formats[kind]) if v not in KNOWN_VARIABLES]) == 1] @@ -1760,11 +1802,14 @@ def with_documented_creation(resources: list[dict], operation: str, types: list[ def child_id(child: str, parent: str) -> str | None: """The variable a child type's ARN format adds to its parent's: the parent's with its leading resource type word - replaced and one id appended (`listener/app/.../${ListenerId}` for `loadbalancer/app/...`); None for any other.""" + replaced and one id appended (`listener/app/.../${ListenerId}` for `loadbalancer/app/...`), or the parent's whole + with a word of its own and one id appended (`bucket/${TableBucketName}/table/${TableID}` for + `bucket/${TableBucketName}`); None for any other.""" child_match, parent_match = RESOURCE_PART_RE.match(child), RESOURCE_PART_RE.match(parent) - if child_match is None or parent_match is None or child_match.group(1) == parent_match.group(1): + if child_match is None or parent_match is None: return None - appended = re.fullmatch(re.escape(parent_match.group(2)) + r"[/:]\$\{(\w+)}", child_match.group(2)) + nested = r"[/:][A-Za-z][A-Za-z0-9-]*" if child_match.group(1) == parent_match.group(1) else "" + appended = re.fullmatch(re.escape(parent_match.group(2)) + nested + r"[/:]\$\{(\w+)}", child_match.group(2)) return appended.group(1) if appended else None diff --git a/tools/aws/regen_iam_tag_on_create.py b/tools/aws/regen_iam_tag_on_create.py index 2440aa792d..82b20d03c6 100644 --- a/tools/aws/regen_iam_tag_on_create.py +++ b/tools/aws/regen_iam_tag_on_create.py @@ -112,8 +112,8 @@ NAMESPACES = ( "elasticmapreduce", "emr-serverless", "es", "events", "firehose", "fis", "globalaccelerator", "glue", "guardduty", "iam", "kinesis", "kinesisanalytics", "kms", "lambda", "lightsail", "logs", "macie2", "memorydb", "network-firewall", "oam", "organizations", "payment-cryptography", "pipes", "ram", "rds", "redshift", - "redshift-serverless", "rekognition", "resource-explorer-2", "resource-groups", "route53resolver", "sagemaker", - "scheduler", "secretsmanager", "securityhub", "servicediscovery", "ses", "signer", "sns", "sqs", "ssm", "sso", + "redshift-serverless", "rekognition", "resource-explorer-2", "resource-groups", "route53resolver", "s3tables", + "sagemaker", "scheduler", "secretsmanager", "securityhub", "servicediscovery", "ses", "signer", "sns", "sqs", "ssm", "sso", "states", "sts", "swf", "textract", "timestream-influxdb", "transcribe", "transfer", "translate", "wafv2", "xray", ) @@ -132,7 +132,7 @@ NOT_COVERED = { "inspector2": _NO_ROUTES, "iot": _NO_ROUTES, "kafka": _NO_ROUTES, "mq": _NO_ROUTES, "quicksight": "metadata-only REST subset; creation-tag IAM authorization is not implemented", - "rum": _NO_ROUTES, "s3tables": _NO_ROUTES, + "rum": _NO_ROUTES, "s3": "authorized by route; S3 checks s3:PutObjectTagging for an object it creates with tags itself", "servicecatalog": "its operations that tag are AppRegistry's, whose REST routes no rule maps yet", } diff --git a/tools/aws/regen_rest_routes.py b/tools/aws/regen_rest_routes.py index 8f14c611e1..be16465a51 100644 --- a/tools/aws/regen_rest_routes.py +++ b/tools/aws/regen_rest_routes.py @@ -80,6 +80,7 @@ MODELS: dict[str, str] = { "route53": "route53", "s3": "s3", "s3control": "s3", + "s3tables": "s3tables", "scheduler": "scheduler", "securityhub": "securityhub", "signer": "signer", diff --git a/tools/aws/test_regen_iam_request_resources.py b/tools/aws/test_regen_iam_request_resources.py index f433827bc0..b95974d468 100644 --- a/tools/aws/test_regen_iam_request_resources.py +++ b/tools/aws/test_regen_iam_request_resources.py @@ -383,6 +383,86 @@ def write_models(root, models: dict[str, dict]): (directory / "service-2.json").write_text(json.dumps(value), encoding="utf-8") +def tables_model() -> dict: + """A rest-json model naming a table by its table bucket's ARN, its namespace and its name, as S3 Tables does: in its + path, documented as the table's name or holding a `TableName`, and in `GetTable`'s query string beside an optional + `tableArn`.""" + def table_members(location: str, name_doc: str) -> dict: + return {"tableBucketARN": {"shape": "TableBucketARN", "location": location, "locationName": "tableBucketARN", + "documentation": "

The Amazon Resource Name (ARN) of the table bucket that " + "contains the table.

"}, + "namespace": {"shape": "NamespaceName", "location": location, "locationName": "namespace", + "documentation": "

The namespace associated with the table.

"}, + "name": {"shape": "TableName", "location": location, "locationName": "name", + "documentation": name_doc}} + get = table_members("querystring", "

The name of the table.

") + get["tableArn"] = {"shape": "TableARN", "location": "querystring", "locationName": "tableArn", + "documentation": "

The Amazon Resource Name (ARN) of the table.

"} + return {"metadata": {"protocol": "rest-json"}, + "operations": { + "DeleteTable": {"http": {"method": "DELETE", + "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}"}, + "input": {"shape": "DeleteIn"}}, + "GetTablePolicy": {"http": {"method": "GET", + "requestUri": "/tables/{tableBucketARN}/{namespace}/{name}/policy"}, + "input": {"shape": "PolicyIn"}}, + "GetTable": {"http": {"method": "GET", "requestUri": "/get-table"}, "input": {"shape": "GetIn"}}, + "GetTableBucket": {"http": {"method": "GET", "requestUri": "/buckets/{tableBucketARN}"}, + "input": {"shape": "BucketIn"}}}, + "shapes": { + "DeleteIn": {"type": "structure", "required": ["tableBucketARN", "namespace", "name"], + "members": table_members("uri", "

The name of the table.

")}, + "PolicyIn": {"type": "structure", "required": ["tableBucketARN", "namespace", "name"], + "members": table_members("uri", "

The table name.

")}, + "GetIn": {"type": "structure", "members": get}, + "BucketIn": {"type": "structure", "required": ["tableBucketARN"], + "members": {"tableBucketARN": table_members("uri", "")["tableBucketARN"]}}, + "TableBucketARN": {"type": "string", "pattern": "(arn:aws[-a-z0-9]*:[a-z0-9]+:[-a-z0-9]*:[0-9]{12}" + ":bucket/[a-z0-9_-]{3,63})"}, + "TableARN": {"type": "string", "pattern": "(arn:aws[-a-z0-9]*:[a-z0-9]+:[-a-z0-9]*:[0-9]{12}" + ":bucket/[a-z0-9_-]{3,63}/table/[0-9a-f_-]{36})"}, + "NamespaceName": {"type": "string"}, + "TableName": {"type": "string"}}} + + +def test_a_type_ending_in_a_minted_id_is_found_by_the_path_members_naming_it(): + formats = {"Table": "arn:${Partition}:s3tables:${Region}:${Account}:bucket/${TableBucketName}/table/${TableID}", + "TableBucket": "arn:${Partition}:s3tables:${Region}:${Account}:bucket/${TableBucketName}"} + models = {"s3tables": tables_model()} + found = {"type": "Table", "fill": {}, "find": ["tableBucketARN", "namespace", "name"]} + + def resources(operation: str, types: list[str]) -> list[dict]: + return r.entry_for(f"s3tables:{operation}", {"action": f"s3tables:{operation}", "types": types}, + formats, models)["resources"] + + # Its table bucket's ARN scopes the table rather than holding the table's ARN, and the table's name fills no + # variable of the bucket: the table is found by all three, documented as its name or holding a `TableName`. + assert resources("DeleteTable", ["Table"]) == [found] + assert resources("GetTablePolicy", ["Table"]) == [found] + # The same from a query string, unless the request gives the table's own ARN. + assert resources("GetTable", ["Table"]) == [{"types": ["Table"], "arn": "tableArn"}, + dict(found, when={"tableArn": [None]})] + # A type its ARN member holds, of one variable, is read as before. + assert resources("GetTableBucket", ["TableBucket"]) == [{"types": ["TableBucket"], "arn": "tableBucketARN"}] + + +def test_a_create_making_a_type_nested_under_its_parent_names_it_from_the_parents_arn(): + formats = {"Table": "arn:${Partition}:s3tables:${Region}:${Account}:bucket/${TableBucketName}/table/${TableID}", + "TableBucket": "arn:${Partition}:s3tables:${Region}:${Account}:bucket/${TableBucketName}"} + # The table's format is the bucket's whole with a word of its own and the table's id, so a create acting on the + # bucket makes a table under it, whose tags are checked there. + assert r.child_id(formats["Table"], formats["TableBucket"]) == "TableID" + assert r.creates_for("s3tables:CreateTable", ["TableBucket"], formats, + members("tableBucketARN", "namespace", "name")) == [ + {"type": "Table", "parent": "TableBucket", "arn": "tableBucketARN"}] + # A namespace is no type of its own here, so creating one makes nothing. + assert r.creates_for("s3tables:CreateNamespace", ["TableBucket"], formats, + members("tableBucketARN", "namespace")) == [] + # The same word with no word of the child's own between is no child. + assert r.child_id("arn:${Partition}:svc:${Region}:${Account}:thing/${ThingName}/${PartId}", + "arn:${Partition}:svc:${Region}:${Account}:thing/${ThingName}") is None + + def test_rest_arn_alternatives_and_integer_shapes_fill_versioned_resources(isolated, tmp_path): formats = { "product": "arn:${Partition}:svc:${Region}:${Account}:product:${ProductName}",