Commit Graph
2651 Commits
Author SHA1 Message Date
Priamo Germosen 7ae2339100 fix(emr): apply MERGE reconfigurations, step log locations, the scaling index and ServerUrl (#9129)
Four members EMR accepted and ignored now act as AWS documents them.

ModifyInstanceGroups' ReconfigurationType MERGE merges the group's new
Configurations into its own, as the Release Guide's "Reconfigure an
instance group in a running cluster" has it: "This option only adds or
modifies the new configurations that you submit. It preserves existing
configurations." A classification it names takes its properties over
the group's, nested configurations merged the same way, and the others
stay; OVERWRITE, the default, still replaces them. MERGE is "supported
for Amazon EMR releases 5.35.0 and 6.6.0 and later", so an earlier
release refuses it with ValidationException, in Floci's wording, and a
type that is neither gets the framework's enum message.

A step's StepMonitoringConfiguration sends its logs, and its
applications' container logs, to its own LogUri from release 7.11, as
its options "take precedence over any cluster-wide logging settings",
still only on a cluster with a LogUri. The guide gives no layout under
the step's destination, so it is the cluster's. A node removed while
such steps run puts its containers' logs there when they share one.
DescribeStep and ListSteps give the step's LogUri and EncryptionKeyArn
back.

A managed scaling policy's UtilizationPerformanceIndex is one of 1, 25,
50, 75 and 100: "If you set the index to values other than these, it
results in a validation error." One outside the model's 1 to 100 gets
the framework's ValidationException, another Floci's wording.

A session whose Spark Connect server answers reports ServerUrl, Floci's
own address in Spark Connect's sc:// form, where a call still needs
GetSessionEndpoint's token to reach the server; an ended session has
none.
2026-11-21 09:11:48 -04:00
Priamo Germosen a87e8e47e0 fix(emr-serverless): queue job runs beyond an application's maxConcurrentRuns (#9124)
An application's schedulerConfiguration was stored and echoed, and no
run was ever QUEUED: every run started at once. The user guide's "Job
concurrency and queuing for an EMR Serverless application" has only
maxConcurrentRuns runs going at a time, "Remaining jobs are queued
until one of the running jobs terminates. If queue timeout is reached
earlier, your job times out."

A run beyond the limit is now QUEUED, in either runner mode, and the
first queued run starts the moment a running one ends or is cancelled.
A run still queued after queueTimeoutMinutes is CANCELLED, as the job
run states give a run that "has timed out" as a reason to be cancelled;
its stateDetails is Floci's wording. A run that leaves the queue
reports queuedDurationMilliseconds. A queued run is cancelled at once,
and keeps StopApplication from stopping the application. In the docker
runner mode a queued run's container starts only once it leaves the
queue.

Queuing is "supported on Amazon EMR release 7.0.0 and higher" and
"enabled by default on Amazon EMR release 7.3.0 and higher", the AWS
runtime for Apache Spark's releases included; an application on 7.3.0
or later that sets no limits runs with the defaults, 15 runs and 360
minutes. Terraform's acceptance tests, run against AWS, recorded how
the configuration is kept: a member a request leaves out takes its
default, and here keeps the value already set where there is one; an
empty one turns queuing off, and the application then has none.
maxConcurrentRuns outside 1 to 1000 and queueTimeoutMinutes outside 15
to 720 are refused with ValidationException. A STARTED application
takes a new maxConcurrentRuns, as "You can update maxConcurrentRuns for
an application in the STARTED state", and a higher one starts queued
runs at once; any other scheduler change still needs it stopped.
2026-11-20 22:43:18 -04:00
Ahmed khaled 3a0abefc7a feat(dynamodb): make the stream record cap configurable and read pages without copying the shard (#9121) 2026-11-20 22:42:51 -04:00
Jonathan Morley 16ca3a5a7d fix(cloudformation): provision AWS::CodeDeploy::Application (#8882) 2026-11-20 22:10:47 -04:00
Priamo Germosen cb5b25821b fix(emr-containers): enforce a virtual cluster's concurrent job limits (#9120)
A virtual cluster's schedulerConfiguration was stored and its
schedulerStatus reported, but StartJobRun ignored the limits: every run
started at once and no submission was refused. The development guide's
"Concurrent job limits for virtual clusters" has them "enforced at
StartJobRun, before any pods are created".

At most maxConcurrentJobRuns runs are RUNNING at once, 1000 when it is
not set, the guide's default. A run beyond that waits PENDING in the
queue, and when a running slot frees up, the run first in the queue
starts: "As running slots free up, queued job runs start
automatically." Once maxInQueueJobRuns runs wait, StartJobRun refuses
another with ValidationException, as the guide and the model say;
neither gives its message, so the wording is Floci's. A run still
queued 30 minutes after it was submitted is FAILED, as "buffered jobs
fail after 30 minutes if no slot frees up".

A higher or cleared limit, or a cancelled run, starts queued runs at
once. The runs are replayed in the order things happened, so a run
leaving the queue starts the moment the slot it takes frees up, and
schedulerStatus counts the queued runs.
2026-11-20 21:40:37 -04:00
Ignas d427b31e07 fix(apigatewayv2): store and apply integration ResponseParameters (#9090) 2026-11-20 20:19:51 -04:00
Jeremy Chapeau 7b88a31956 fix(sts): give web identity and SAML trust policies the sts:RoleSessionName key (#8920) 2026-11-20 20:14:00 -04:00
Niels Kootstra 91ed539910 fix(ssm): serve the EKS optimized AMI recommended release_version parameter (#9110)
* fix(ssm): serve the EKS optimized AMI recommended release_version parameter
* fix(ssm): answer ParameterNotFound for a release_version of an unsupported Kubernetes version
2026-11-20 20:12:47 -04:00
Priamo Germosen 89e0242167 fix(emr): list every emr-7.x and emr-spark release, as AWS names and orders them (#9114)
ListReleaseLabels, DescribeReleaseLabel and ListSupportedInstanceTypes
knew five releases, the newest emr-7.5.0, so they refused emr-7.13.0
and the emr-spark-8.x releases Floci runs clusters on. The catalogue
now holds every emr-7.x release, emr-7.0.0 to emr-7.14.0, and the AWS
runtime for Apache Spark's emr-spark-8.0.0, 8.1.0 and 8.2.0, beside
emr-6.15.0, emr-6.14.0 and emr-5.36.2. Each release's applications,
versions and Amazon Linux releases come from its Release Guide page,
as before; the emr-7.14.0, emr-spark-8.1.0 and emr-spark-8.2.0 pages
list no Amazon Linux release, so those report none.

Application names are spelled as AWS answers them, Spark, HBase,
ZooKeeper and JupyterHub, where they were lowercased; each page lists
them that way too, with Trino for "Trino (PrestoSQL)". The Application
filter of ListReleaseLabels still matches without regard to case.

ListReleaseLabels lists the numbered releases newest first, and the
emr-spark ones after them oldest first, the order AWS answered for
that family. DescribeReleaseLabel without a label describes the first
release listed, now emr-7.14.0.

An unknown release label gets AWS's recorded answers, which differ by
operation: DescribeReleaseLabel "The release label isn't valid." with
ErrorCode InvalidInputParameter, and ListSupportedInstanceTypes "The
supplied release label is invalid: <label>." with ErrorCode
INVALID_RELEASE_LABEL, a missing label reading null. A blank label is
refused there too, and a blank default-release-label setting no
longer adds an empty release to the list.
2026-11-20 18:08:32 -04:00
Priamo Germosen 30c37a129c fix(bcm-pricing-calculator): give resource-tag conditions the tags of the workload estimate a request names (#9112)
The generated request resources give Pricing Calculator's workload
estimate type the aws:ResourceTag/ key, but no service answered the bcm-
pricing-calculator namespace's stored tags, so a condition on an
estimate's tags saw none. BcmPricingCalculatorService now answers it: a
workload estimate records no ARN, so storedTags takes the ARN only when
it is the one the estimate's account and id give in the request's
partition, which has no Region, then reads the estimate by its id, in
the request's account, in place. An estimate's tags are the ones it was
created with, which nothing changes. The package now builds that ARN to
compare, so partition/smoke-exemptions.tsv gets a row saying why it
needs no partition smoke case.
2026-11-20 17:24:41 -04:00
Priamo Germosen 3027145979 fix(iam): check CloudWatch Logs requests on the resources they name, from the generated table (#9088)
CloudWatch Logs was built by hand: ResourceArnBuilder built a group or
stream ARN for six operations and resolved the tag operations' ARN
itself, every other Logs operation was checked on *, and only the
vended-log delivery operations and PutDestination were read from the
request resources table, through READ_IN_HAND_BUILT. logs moves from
HAND_BUILT to NAMESPACES, so the table gives each of its 118
operations the log group, stream, destination or delivery resource its
request names, from botocore and the Service Reference: PutLogEvents,
FilterLogEvents, metric and subscription filters, StartQuery and the
other operations on a group or stream are checked on it, no longer on
*. READ_IN_HAND_BUILT, whose only entries were Logs', goes with its
checks and tests. ResourceArnBuilder's buildLogResources and the
filter's Logs case go; the tagged CreateLogGroup check reads the
table's bare group ARN, which the evaluator already matches with or
without the trailing :* for the group's management actions.
CloudWatchLogsStoredResourceArns answers the stored tags of a log
group, a destination and the delivery family; IamConditionContextResolver
keeps only the request tags of Logs' create and tag calls. Log group
tag writes give the group a new map under the lock creating and
deleting a group take, so one racing a delete cannot put the group
back, and its tags field is volatile. Only Logs' operations change in
the table.
2026-11-20 16:21:08 -04:00
Priamo Germosen 6b420b166f fix(emr): make a uniform RunJobFlow cluster's master and core instance groups (#9107)
RunJobFlow's uniform form, MasterInstanceType, SlaveInstanceType and
InstanceCount in place of InstanceGroups or InstanceFleets, made no
instance groups, so ListInstanceGroups listed none, ListInstances no
instances, and with runner-mode docker the cluster ran on its primary
node alone. It now makes the groups the API reference describes: "If
the value is 1, the same instance serves as both the master and core
and task node. If the value is greater than 1, one instance is the
master node and all others are core and task nodes."

That is a MASTER group of one MasterInstanceType instance and, for a
count above 1, a CORE group of the rest as SlaveInstanceType, both
ON_DEMAND. The master group is named "Master InstanceGroup", as in
DescribeJobFlows' sample response; no source names the core group, so
Floci names it "Core InstanceGroup". A request that gives
InstanceGroups or InstanceFleets keeps its own.

A request for more than one instance without SlaveInstanceType is
refused with a ValidationException, as JobFlowInstancesConfig says "all
three must be present"; a single instance needs none, as AWS runs one
without it. However many instances a cluster asks for, in this form or
any other, its core and task nodes are now built no further than
yarn-max-worker-nodes, where every one asked for was built before the
rest were dropped.
2026-11-20 15:03:53 -04:00
Niels Kootstra c9aad84192 fix(sns): refuse a topic policy that grants an action SNS does not have (#9080)
SetTopicAttributes and CreateTopic stored any Policy, so a topic policy
granting an action SNS does not have, such as sns:PublishBatch, was kept
and an AWS::SNS::TopicPolicy carrying one reached CREATE_COMPLETE. Both
now check every sns: Action of every statement against the list
AddPermission uses, ignoring case, and answer the same InvalidParameter
("Policy statement action out of service scope!"). A refused
SetTopicAttributes keeps the old policy and a refused CreateTopic creates
no topic. Receive, which AWS's former default topic policy granted, is
added to that list. Wildcards, NotAction, other services' actions and a
value that is not JSON are left unchecked.

Closes #8897
2026-11-20 15:00:04 -04:00
Hector Ventura 5cded523e3 feat(docker): fail Docker calls fast while the daemon is unreachable (#9047)
A circuit breaker sits under the retry layer of both Docker clients and
counts consecutive transport failures: an I/O error or an unusable
socket, never an HTTP response or a wait for a pooled connection. After
floci.docker.breaker-failure-threshold (3) of them it pings the daemon
off the caller's thread, over a one-connection transport of its own;
only when that ping fails too does every Docker call fail at once with
DockerUnavailableException, which the retry layer never replays. While
open it pings every floci.docker.breaker-probe-interval-seconds (5), and
the first answer closes it. Any HTTP status to the ping is an answer,
and a ping that never reaches the daemon neither opens nor closes the
breaker. A threshold of 0 turns it off.
2026-11-20 14:16:14 -04:00
Aniket Shukla 306bcf8c5b fix(core): route JSON services over Smithy RPC v2 CBOR (#8592)
* fix(core): share JSON dispatch with RPC v2 CBOR
* fix(core): adapt modeled blobs and timestamps for RPC v2 CBOR
* fix(core): preserve CBOR event streams and compact wire models
* test(paymentcryptography): avoid random CVV verification collisions
2026-11-20 14:09:47 -04:00
Murtuza Chhil 017e635edf feat(paymentcryptography): the AS2805 KEK validation (#9065)
GenerateAs2805KekValidation is served on the Payment Cryptography data
plane. Two AS2805 nodes prove they hold the same key encryption key: the
request form makes a random number with Single DES odd parity and returns
it enciphered under one variant of the key, and the response form
deciphers a number, inverts it and returns it enciphered under another
variant. The key is a Triple DES TR31_K0 key encryption key; the request
form needs Encrypt and the response form both Decrypt and Encrypt.

The AS2805 Triple DES check and the key lookup now live in
PaymentCryptographyKeyRules, shared with the key exchange, card
validation, authorization cryptogram and PIN operations.
2026-11-20 14:07:01 -04:00
mrfelek 29cd4a84ee feat(ecs): create the Cloud Map services of a Service Connect service's endpoints (#9022)
A Service Connect service that offers endpoints now has them in the
Cloud Map namespace it joined. CreateService and UpdateService create an
HTTP Cloud Map service for each services[] entry, named by its
discoveryName or else its portName, and one for a client configuration,
aws-ecs-sc.client.<UUID>.<service name>, described "Managed by" the ECS
service and tagged AmazonECSManaged=true. Each deployment reports them
as serviceConnectResources. UpdateService keeps, creates and deletes them
to match, turning Service Connect off or DeleteService deletes them all,
and a circuit-breaker rollback brings them back in line.

Discovery names are checked before anything is created, under a lock per
namespace: one outside ECS's naming rule, one named twice, one another
ECS service holds and one a Cloud Map service created outside ECS holds
are refused with ECS's messages, ClientException on CreateService and
InvalidParameterException on UpdateService. ECS only reuses or deletes
Cloud Map services it made. Cloud Map's duplicate-name check moves into
CloudMapService.findServiceByName, shared with the registrar.
2026-11-20 07:33:23 -04:00
Ignas 3ae5b8b6ea fix(elbv2): pass TCP health checks on an open connection (#9032)
A target group with a TCP health check was probed with an HTTP GET and
judged on the response code, so a target that accepts connections but
does not answer HTTP stayed unhealthy. A TCP check now opens a
connection to the target and passes once it is accepted, without
consulting the path or matcher, which AWS scopes to HTTP and HTTPS
checks. The ELB docs describe the TCP check.

Closes #9031
2026-11-20 07:32:37 -04:00
galsuchetzky-act a3c45a4ce2 fix(bedrock-agentcore): validate tag resource request maps (#9076)
AgentCore TagResource accepted any tags map. It now validates the map
before dispatch with the same rules create and update use: at most 50
entries, keys of 1 to 128 characters and values of 0 to 256 in the
AgentCore tag pattern. The handler opts into the strict tag payload
parser, so a malformed or non-object body is refused without changing
stored tags, while an empty map and an empty untag request stay valid.

Closes #7894
2026-11-20 07:18:43 -04:00
Allen Sanborn 704b5f1c3b fix(kms): keep import parameters valid across concurrent identical imports (#9004)
* fix(kms): keep import parameters valid across concurrent identical imports
* fix(kms): ImportKeyMaterial no longer re-enables a Disabled key
2026-11-20 07:11:09 -04:00
Priamo Germosen dc97ce5cb1 fix(iam): check Resource Groups requests on the groups the generated table gives them (#9074)
Resource Groups was built by hand: ResourceArnBuilder read a group from
the body's Group or GroupName, or CreateGroup's Name, the request
resources table held no Resource Groups operation, and nothing gave a
policy condition a group's tags. resource-groups moves from HAND_BUILT
to NAMESPACES, so the table gives each operation the group its Group
names, by its name or its ARN, and the ARN a tagging route carries;
CreateGroup, for which the Service Reference lists no resource type, is
checked on *, as AWS checks it. ResourceArnBuilder's Resource Groups
branch goes. ResourceGroupsStoredResourceArns answers a group's stored
tags, read in place from the group record the service stores whole. Only
Resource Groups' operations change in the table.
2026-11-20 07:03:52 -04:00
Jackson PriceandAndre Kurait ab7fc6f81f feat(dynamodb): update Kinesis destination precision (#9072)
* feat(dynamodb): update Kinesis destination precision
* fix(dynamodb): reuse validation for Kinesis precision updates

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-20 06:54:51 -04:00
Don HavelbergandDolev Hacohen 546065dc53 fix(lambda): queue throttled asynchronous invocations with backoff (#9071)
Co-authored-by: Dolev Hacohen <dolev.hacohen@forcepoint.com>
2026-11-20 06:54:32 -04:00
Priamo Germosen e8f16911d2 fix(iam): check EKS requests on the resources the generated table gives them (#9070)
EKS was built by hand: ResourceArnBuilder walked an EKS path, looked
each resource up through EksService, and checked a tagging route on the
caller's cluster named after the ARN's last segment; the request
resources table held no EKS operation, and nothing gave a policy
condition an EKS resource's tags. eks moves from HAND_BUILT to
NAMESPACES, so the table gives each operation the cluster its path
names, the node group, add-on or Fargate profile EksStoredResourceArns
finds by its cluster and name, the ARN a tagging route carries, and
parts of an ARN the request does not give open. CreateCluster, for which
the Service Reference lists no resource type, is checked on the cluster
its body names from a MEASURED entry quoting the EKS user guide's
example policy for creating a cluster. ResourceArnBuilder's EKS section
and its EksService dependency go. EksStoredResourceArns answers the
stored tags of a cluster, node group, Fargate profile, add-on, Pod
Identity association or access entry; EKS's tag changes take one lock
and give a cluster, node group or Fargate profile a new map, whose tags
field is now volatile, and a cluster is tagged only when its ARN is the
whole ARN the request names. Tag changes and tag reads find a cluster,
node group or Fargate profile through one lookup, and an ARN with a part
left open is not looked up. Read from its model, EKS tags only on
/tags/{resourceArn} with the ARN encoded, as the SDKs send it, so the
tagging tests that sent it unencoded now encode it. Only EKS's
operations change in the table.
2026-11-19 23:25:25 -04:00
Jackson PriceandAndre Kurait e50e7dac36 feat(s3vectors): support resource tagging (#9059)
S3 Vectors buckets and indexes now support TagResource, UntagResource and
ListTagsForResource through the shared tag routes. A tag call reads the
resource ARN in the request's Region, partition and account as the other
ARN operations do, merges tags by key, and holds the 50-tag limit under
the bucket lock. Create, replace and TagResource validate tags the same
way, with the service's not-found wording and modeled constraint errors.
Strict tag handlers reject trailing JSON before calling their service.

Adapted from AndreKurait/floci#815.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-19 22:14:23 -04:00
TATSUNO “Taz” Yasuhiro d37698ea71 feat(dynamodb): store WarmThroughput from CreateTable and UpdateTable (#9069)
* feat(dynamodb): store WarmThroughput from CreateTable and UpdateTable
2026-11-19 22:12:08 -04:00
Priamo Germosen 1a888867ad fix(iam): check STS requests on the resources the generated table gives them (#9033)
STS was built by hand: ResourceArnBuilder checked AssumeRole on the role
its RoleArn named and every other operation on *, IamEnforcementFilter
sent STS requests there by action, and the request resources table held
no STS operation. sts moves from HAND_BUILT to NAMESPACES, so the table
gives each operation what the Service Reference and botocore give it:
AssumeRole the role its RoleArn names, as before, GetFederationToken the
federated user its Name names and AssumeRoot the root user, where the
hand builder checked both on *, and the operations that act on no
resource type * as before. StsStoredResourceArns answers that a role IAM
holds in the account its ARN names is assumed there, as the handler
finds it, so a cross-account AssumeRole is checked on that role alone
and not also on the caller's role of that name. ResourceArnBuilder's STS
section and the filter's STS case go. Only STS's operations change in
the table.
2026-11-19 21:56:53 -04:00
rajp33 3f51fdec34 feat(rds): honor DeletionProtection on cluster restores and AWS::RDS::DBCluster (#9057)
RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime now read
DeletionProtection and set it on the new cluster before it is stored.

The AWS::RDS::DBCluster provisioner reads DeletionProtection, creates the
cluster with it, and applies a changed value on stack update. A stack
delete of a protected cluster is refused by DeleteDBCluster and reported
as the resource's DELETE_FAILED, as on AWS.

A restore, or a CloudFormation role attach, that fails after creating the
cluster goes through one cleanup that clears the flag and always attempts
the delete, adding any failure to the original error.

Closes #9056
2026-11-19 20:56:18 -04:00
Suja Shaj 3e1fe3c8b6 fix(cloudformation): resolve an RDS instance's previous template as it was deployed (#9058) 2026-11-19 20:55:19 -04:00
Andre Kurait a6a609d62f fix(ec2): report the network interface IPv6 address (#9027)
An ENI could have IPv6 addresses assigned while its top-level
ipv6Address was missing from CreateNetworkInterface and
DescribeNetworkInterfaces. The shared serializer now reports the first
assigned address there, keeps the ipv6AddressesSet list, and omits the
field when the interface has none.

Ported from Emanuel Aseghehey's AndreKurait/floci#1239.
2026-11-19 20:36:25 -04:00
Hector Ventura 2ab20905a2 chore(docker): raise the streaming pool default to 3072 connections (#9050)
* chore(docker): raise the streaming pool default to 3072 connections
2026-11-19 20:19:55 -04:00
rajp33 30503c4c2e fix(rds): persist DB cluster DeletionProtection and refuse to delete a protected cluster (#8985) 2026-11-19 19:53:59 -04:00
Andre Kurait 875794c538 fix(iam): select EC2 interface and endpoint authorization resources (#8892)
* fix(iam): select EC2 interface and endpoint authorization resources
2026-11-19 19:24:56 -04:00
Ignas f08cc57437 fix(elbv2): omit HTTP-only fields from TCP target groups (#9030) 2026-11-19 19:20:35 -04:00
rajp33 9f959a3f27 feat(iot): support SetV2LoggingOptions and GetV2LoggingOptions (#8945)
* feat(iot): support SetV2LoggingOptions and GetV2LoggingOptions
* fix(iot): keep omitted V2 logging options and require role and level on first set
* fix(iot): validate SetV2LoggingOptions log level and member types
* fix(iot): answer SetV2LoggingOptions with an empty body
* test(iot): cover V2 logging setup, updates, errors and account scoping in the SDK suite
* test(iot): sign V2 logging requests with the shared EnforcementFixtures.auth helper
* test(iot): cover V2 logging persistence and document eventConfigurations and verbose limits
* docs(iot): count the V2 logging routes in the service matrix
* fix(iot): reject a SetV2LoggingOptions body that is not a JSON object
* fix(iot): reject a blank roleArn in SetV2LoggingOptions
* fix(iot): serialize the SetV2LoggingOptions read-merge-write
* test(iot): share one IoT client builder in the SDK fixtures
* fix(iot): stop refusing a blank roleArn in SetV2LoggingOptions
* fix(iot): build the V2 log level refusal with SmithyValidationErrors
* refactor(iot): share IoT request body readers between logging and fleet indexing
2026-11-19 19:14:50 -04:00
Jeremy Chapeau b8632351e8 fix(sts): let a same-account trust policy that names a user grant AssumeRole (#8918)
A role's trust policy now reaches IAM enforcement through a
ResourcePolicyProvider, the path every other resource-based policy
takes, instead of a branch on sts:AssumeRole in the enforcement filter.
RoleTrustPolicyProvider answers an STS action on a role ARN with the
role's stored trust policy, each statement that names no Resource given
the role's ARN, and with the account in the role's ARN as its owner.
IAM actions on the role, such as iam:GetRole and iam:PassRole, get
nothing from it.

evaluateResourcePolicyFor already returns ALLOW_DIRECT_IAM_USER for an
Allow naming the caller's user ARN, so a same-account grant to a user
is unchanged, and AssumeRolePolicyEvaluator.grantsToIamUser and its
request-key helper are removed. Within the role's account, an Allow
naming a role session's role, or "*", now grants the call too, as any
same-account resource-based policy does. Across accounts the filter
needs the trust policy's Allow beside the caller's identity policy, so
it refuses an IAM user or a role session the trust policy does not
allow before STS does, with its own AccessDenied message;
AssumeRoleTrustConditionsIntegrationTest checks that message for those
callers.

The STS guide's sentence that the caller's identity policy must allow
sts:AssumeRole now names the same-account exception.
2026-11-19 19:10:54 -04:00
David Acevedo 3aba098ee8 feat(lambda): add a process executor for provided runtimes (#9006) 2026-11-19 19:07:32 -04:00
Oleksandr Nikolaichuk 99a13cf067 test(cloudformation): hold every resource type to the engine's property changes or an exempt row (#8988) 2026-11-19 18:53:42 -04:00
Niels Kootstra a25c0435ee fix(ec2): list the DynamoDB gateway endpoint service in DescribeVpcEndpointServices (#9016)
* fix(ec2): list the DynamoDB gateway endpoint service in DescribeVpcEndpointServices
2026-11-19 18:44:04 -04:00
galsuchetzky-act c1e7b240ea fix(lambda): keep MicroVM version update timestamps independent (#9021)
Each MicroVM image version now keeps its own updatedAt instead of
reporting the parent image's. Building another version leaves older
versions' timestamps alone, and a status update advances only the
version it changes. A stored version without the field reports its own
createdAt, including after a restart, and reading it does not rewrite
storage.

Closes #8616
2026-11-19 18:32:56 -04:00
galsuchetzky-act 683cb84080 fix(bedrock): report inference profile support in model metadata (#9020)
Derive INFERENCE_PROFILE support from existing system profile routes
while preserving regional ON_DEMAND support and request-filter
validation. Cover Get and List metadata through raw SDK strings,
including profile-only and unavailable regions.

Closes #8450
2026-11-19 18:26:50 -04:00
Joaquín Gamboa 1ffa5ed2c9 fix(cloudformation): pass a distribution's ViewerCertificate through (#8952)
* fix(cloudformation): pass a distribution's ViewerCertificate through
* fix(cloudformation): delete a replaced ACM certificate in the update cleanup
2026-11-19 18:26:08 -04:00
Jeremy Chapeau 3a9f529158 fix(sts): give AssumeRole's identity-based policies the sts:RoleSessionName and sts:ExternalId keys (#8922)
With IAM enforcement on, the caller's identity-based policy, permissions boundary, session
policy and SCPs were evaluated for sts:AssumeRole without the request's sts:RoleSessionName
and sts:ExternalId, which the role's trust policy already sees, so a condition on either never
matched. The Service Authorization Reference lists both among the condition keys of
AssumeRole. STS now joins the generated request condition key table, which reads them from the
AssumeRole form; an AssumeRole without ExternalId names no sts:ExternalId. AssumeRoleWithSAML
carries no session name member, so it is listed as not reading it from the request.

sts:SourceIdentity, sts:TransitiveTagKeys and the session tag keys are not read: Floci does not
model source identity or session tags, as the STS page already says.

Closes #8921
2026-11-19 17:17:17 -04:00
Murtuza Chhil 09125016fe feat(paymentcryptography): the modes and the keyed hash the reference names (#8984) 2026-11-19 13:33:35 -04:00
Priamo Germosen 66dbdd2935 fix(iam): check Aurora DSQL requests on the clusters they name, from the generated table (#9011)
Aurora DSQL was built by hand: ResourceArnBuilder read a cluster or
stream from its path, or a tagging route's ARN, IamEnforcementFilter
sent DSQL requests there without their operation, the request resources
table held no DSQL operation, and nothing gave a policy condition a
cluster's tags. dsql moves from HAND_BUILT to NAMESPACES, so the table
gives each operation the cluster or stream its path names, or the ARN
its modeled /tags/{resourceArn} carries, from botocore's REST model;
ListClusters, for which the Service Reference lists no resource type, is
checked on cluster/* from a MEASURED entry citing the AccessDenied
message AWS returned in #6328. ResourceArnBuilder's DSQL branch, with
the path and tagged-ARN helpers only it still used, and the filter's
DSQL case go, and the shared tags controller now serves DSQL's
tagging on its modeled route only, refusing the bare /tags. Only DSQL's
operations change in the table. DsqlStoredResourceArns answers a
cluster's stored tags; TagResource and UntagResource give the cluster a
new map under its lock, and its tags field is volatile.
2026-11-19 13:31:17 -04:00
Allen Sanborn 079d4a2813 fix(rds): store and describe Iops and StorageThroughput on DB instances (#8777)
CreateDBInstance and ModifyDBInstance accepted Iops and StorageThroughput but dropped them, and DescribeDBInstances returned neither, so a Terraform aws_db_instance that set iops or storage_throughput never converged. Both are now stored from Create and Modify. Describe reports Iops on io1, io2 and gp3 and StorageThroughput on gp3, with the RDS User Guide's gp3 baseline when an instance named neither (12,000 IOPS and 500 MiB/s from 400 GiB, 200 GiB for Oracle, never for SQL Server; 3,000 and 125 otherwise), and StorageThroughput 0 on every other type. Iops on a type without provisioned IOPS, Iops=0 aside, and StorageThroughput off gp3 are refused with InvalidParameterCombination, a create naming Iops and no type defaults to io1, and a type switch drops values the new type does not carry.
2026-11-19 13:02:39 -04:00
rajp33 623be62f3a fix(iot): keep MQTT persistent sessions across reconnects (#8915) 2026-11-19 13:01:44 -04:00
Priamo Germosen 56d8b9aedc fix(iam): check EventBridge Pipes requests on the pipes they name, from the generated table (#9000)
Pipes was built by hand: ResourceArnBuilder read a pipe's name from its
path or a tagging route's ARN, IamEnforcementFilter sent Pipes requests
there without their operation, the request resources table held no Pipes
operation, and nothing gave a policy condition a pipe's tags. pipes
moves from HAND_BUILT to NAMESPACES, so the table gives each operation
the pipe its path's Name names, or the ARN a tagging route carries, from
botocore's REST model, and ResourceArnBuilder's Pipes branch and the
filter's Pipes case go. Only Pipes' operations change in the table.
PipesStoredResourceArns answers a pipe's stored tags; TagResource and
UntagResource give the pipe a new map one call at a time, and its tags
field is volatile.
2026-11-19 12:17:15 -04:00
Jackson PriceandAndre Kurait d8a638e4af fix(cloudwatch): preserve weighted samples on public metric APIs (#8974)
* fix(cloudwatch): preserve weighted samples on public metric APIs
* fix(cloudwatch): index Query fields before weighted parsing
* fix(cloudwatch): include datum paths in weighted length errors

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-19 11:57:03 -04:00
Nick Lucas 9795119ce0 feat(lambda): support node selectors and tolerations for Kubernetes Lambda pods (#8967)
The Kubernetes Lambda executor built every pod without a nodeSelector or tolerations, so on a cluster whose node groups are all tainted the pods stayed Pending until the cold-start timeout. FLOCI_SERVICES_LAMBDA_KUBERNETES_NODE_SELECTOR takes key=value entries with label syntax for spec.nodeSelector, and an invalid entry fails the cold start rather than letting the pod land on nodes it was meant to avoid. FLOCI_SERVICES_LAMBDA_KUBERNETES_TOLERATIONS takes the tolerated taints in kubectl taint syntax (key=value:Effect, key:Effect, or a key alone for every effect), and an invalid entry is dropped with a warning, as an invalid label is. A repeated key now logs which value replaced which. The Helm chart, now 0.2.0, renders both from floci.lambda.kubernetes.nodeSelector and tolerations.

Closes #8992
2026-11-19 11:43:38 -04:00