diff --git a/docs/services/iam.md b/docs/services/iam.md
index 40d699da30..76d2c5ac78 100644
--- a/docs/services/iam.md
+++ b/docs/services/iam.md
@@ -3150,8 +3150,8 @@ floci populates:
tags), MicroVM images and network connectors, Glue for its schema registries and schemas and for the jobs,
crawlers, triggers, workflows, connections, databases, tables and other resources it tags, Step Functions for its
state machines, their versions and executions (the state machine's tags) and activities, CodeBuild for its
- projects and report groups, and Athena for its workgroups and data catalogs. Tag keys differing only in case are
- one condition key holding every value.
+ projects and report groups, Athena for its workgroups and data catalogs, and Redshift Serverless for its
+ namespaces, workgroups and snapshots. Tag keys differing only in case are one condition key holding every value.
- EC2 resource keys such as a network interface's `ec2:Vpc`, `ec2:Subnet`, `ec2:AvailabilityZone` and
`ec2:NetworkInterfaceID`: for every action on a resource EC2 holds, the members of the resource the
key names, an ARN for a key the Service Reference types as one. `resourceKeys` in
diff --git a/src/main/java/io/floci/aws/core/common/StoredResourceArns.java b/src/main/java/io/floci/aws/core/common/StoredResourceArns.java
index 379c723c6d..728ea8e6cb 100644
--- a/src/main/java/io/floci/aws/core/common/StoredResourceArns.java
+++ b/src/main/java/io/floci/aws/core/common/StoredResourceArns.java
@@ -33,9 +33,10 @@ import java.util.Optional;
* network connector; Glue, for the tags of a resource it tags; Step Functions, for the tags of a state machine, its
* versions and executions, and an activity; CodeBuild, for the project a build belongs to and the tags of a project or
* a report group; Athena, for the workgroup and the data catalog a request naming none uses and the tags of a
- * workgroup or a data catalog); looked up lazily by {@code ResourceArnBuilder} and
- * {@code IamConditionContextResolver} through {@code Instance} for the namespace a request or an
- * ARN is of, so IAM never depends on that service directly.
+ * workgroup or a data catalog; Redshift Serverless, for the tags of a namespace, a workgroup or a snapshot); looked up
+ * lazily by {@code ResourceArnBuilder} and {@code IamConditionContextResolver} through
+ * {@code Instance} for the namespace a request or an ARN is of, so IAM never depends on that
+ * service directly.
*
* Each answer is a lookup of what the service holds, asked for by an entry of the generated table ({@code find},
* {@code through}, a default, {@code forwarded}, a type's {@code resourceTagKeys}): never a fact about what an operation acts on, which the table alone
diff --git a/src/main/java/io/floci/aws/services/redshiftserverless/RedshiftServerlessService.java b/src/main/java/io/floci/aws/services/redshiftserverless/RedshiftServerlessService.java
index 5c499503c9..72517ace82 100644
--- a/src/main/java/io/floci/aws/services/redshiftserverless/RedshiftServerlessService.java
+++ b/src/main/java/io/floci/aws/services/redshiftserverless/RedshiftServerlessService.java
@@ -51,6 +51,7 @@ import java.util.Set;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Consumer;
+import java.util.function.Function;
import java.util.function.Supplier;
import java.util.function.UnaryOperator;
import java.util.regex.Pattern;
@@ -1093,6 +1094,48 @@ public class RedshiftServerlessService implements Resettable, StoredResourceArns
.findFirst();
}
+ /**
+ * The tags of the namespace, the workgroup or the snapshot stored under {@code arn} in the account and Region it
+ * names, a pre-multi-account one of the default account included, read in place and matched on the whole ARN;
+ * empty for an ARN naming nothing stored. A tag change is stored on a copy, so the tags read are one whole set.
+ */
+ @Override
+ public Map storedTags(String arn) {
+ if (!AwsArnUtils.isArnFor(arn, "redshift-serverless")) {
+ return Map.of();
+ }
+ AwsArnUtils.Arn parsed = AwsArnUtils.parse(arn);
+ String account = parsed.accountId();
+ String region = parsed.region();
+ Map tags = tagsIn(namespaces, account, region, arn, Namespace::getNamespaceArn,
+ Namespace::getTags)
+ .or(() -> tagsIn(workgroups, account, region, arn, Workgroup::getWorkgroupArn, Workgroup::getTags))
+ .or(() -> tagsIn(snapshots, account, region, arn, RedshiftServerlessSnapshot::getSnapshotArn,
+ RedshiftServerlessSnapshot::getTags))
+ .orElse(Map.of());
+ Map copy = new LinkedHashMap<>();
+ tags.forEach((key, value) -> {
+ if (value != null) {
+ copy.put(key, value);
+ }
+ });
+ return copy;
+ }
+
+ private static Optional