Commit Graph
4872 Commits
Author SHA1 Message Date
Priamo Germosen b0625347d8 feat(dns): answer Cloud Map and Route 53 names when Floci runs natively (#8522)
The embedded DNS server only started when Floci ran in Docker, so a
natively running Floci left <service>.<namespace>, Route 53 private
zone records and its own names unresolvable, both for the containers it
launches and for the host.

Natively it now starts up to two listeners. On a host with a docker0
bridge it listens on that bridge's address, port 53, the address
host-gateway points at, and hands it to the containers it launches as
their resolver, as it does from Docker. Port 53 needs root or
CAP_NET_BIND_SERVICE; without it Floci logs how to grant it and the
containers keep resolving through Docker. floci.dns.bridge-listener-enabled
turns it off. With floci.dns.host-port set it also listens on 127.0.0.1
at that port for the host's own resolver; that listener is never handed
to containers, and it refuses names Floci does not hold rather than
forwarding them, so a host resolver that routes a domain to Floci cannot
get a lookup back. Each listener answers Floci's own names with its own
address.

Startup now waits, up to five seconds, for the listener containers are
given to bind or fail, in Docker as well as natively, so a container
launched right after startup is not created without Floci's resolver.

Closes #2556
2026-11-15 23:39:48 -04:00
Priamo Germosen 9d65db843b fix(emr-serverless): resolve a custom image as its application starts (#8542)
EMR Serverless resolves a custom image's digest either for each workload
or once, at the application's start: "Custom images are resolved to a
digest at application start; that digest is used for all jobs until the
application restarts". The user guide's table makes that the default for
EMR 7.13 and earlier (applicationLevelDigestResolution = true) and
resolution per workload the default from 7.14. Floci resolved every
custom image for each run, whatever the release or the setting.

Where an image configuration's applicationLevelDigestResolution is true,
or left unset on 7.13 or earlier, the application now reads the digest
of its image in Floci's ECR as it starts, gives it to the image
configuration as its resolvedImageDigest, and each run pulls the image by
that digest until the application starts again, an update meanwhile
notwithstanding; a job run's image configurations carry it. An image
outside ECR, or one Floci's ECR does not hold, has no digest to read and
is resolved for each run, as before, as is one in another account's
repository, which Floci does not check the application may pull; any
other answer from Floci's ECR fails the start, leaving the application
as it was. An update that turns a running application's image to
resolution per workload ends its pin, and a stopped application reports
no digest. EcrRegistryManager gains ecrImage, the repository and the tag
or digest an image URI names.
2026-11-15 23:02:40 -04:00
Priamo Germosen b31b76e4aa fix(stepfunctions): let a .sync cleanup pass over only a job that is gone (#8540)
When a .sync Task's wait ends early, Step Functions "will make a
best-effort attempt to cancel the task". Floci's EMR Serverless undo
already passes over only the answers that say the application or run is
gone or past undoing, and fails the Task with any other. Its three
siblings passed over every failure: the EMR step's cancel, the ECS
tasks' stop and the child execution's abort.

Each now passes over only its service's answer for a job that is gone or
past undoing, logged as before: EMR's InvalidRequestException for a
cluster that is gone or a release that cannot cancel steps (a step it
will not cancel comes back FAILED in an answer that succeeds), ECS's
InvalidParameterException for a task it does not know, and Step
Functions' ExecutionDoesNotExist; a task already stopped and a child
already ended are answered without an error. Any other refusal fails the
state with the integration's error (EMR.<name>, ECS.<code>,
StepFunctions.<code>) and the service's message, the ECS one once every
task has been asked to stop, and any other failure is raised.
2026-11-15 22:00:35 -04:00
Priamo Germosen f15c14979e fix(emr): give a cluster's instance groups and fleets its states (#8526)
A cluster's instance groups and fleets reported RUNNING, with all their
capacity, from its creation until it was TERMINATED, whatever state the
cluster itself was in. InstanceGroupState and InstanceFleetState have
PROVISIONING, BOOTSTRAPPING and TERMINATING too, and the Management
Guide's events end an instance fleet's provisioning with "Provisioning
for instance fleet ... is complete ... The instance fleet now has
On-Demand capacity of Num".

No source says when each applies, so they now follow the cluster's state,
Floci's reading: PROVISIONING while it is STARTING, with nothing running
or provisioned yet, BOOTSTRAPPING with every instance up for its bootstrap
actions, RUNNING while it runs or waits, and TERMINATING as it ends, the
instances still running. One added later takes the state its cluster's
others are in. ListInstances gives each instance its group's or fleet's
state, lists those being provisioned, and filters by InstanceStates per
instance. A cluster terminated while it is STARTING keeps listing the
instances it was provisioning, still PROVISIONING and none of them
running, until it is TERMINATED, so the same instances are listed
throughout.
2026-11-15 20:51:10 -04:00
Andre Kurait e340c552b0 fix(cloudwatch): reject metric values that would be stored lossily (#8520) 2026-11-15 20:17:39 -04:00
Priamo Germosen b46507dbec fix(cloudformation): give resource-tag conditions the tags of the stack, stack set or change set a request names (#8527)
The generated request resources give CloudFormation's stack, stackset and
changeset types aws:ResourceTag/ keys, but CloudFormationStoredResourceArns
did not answer storedTags, so a condition on their tags saw none. It now
answers from CloudFormationService.storedTags, which reads the live stack, or
the change set, under the ARN in the account and Region it names, and
StackSetService.storedTags, which reads the stack set under the ARN in the
account it names, a pre-multi-account one of the default account in place;
each matched on the whole ARN, reading only.
2026-11-15 20:12:12 -04:00
Vũ Thế Huy bcca1bb8d3 feat(redshift): add external schemas over Kinesis Data Streams (#8457) 2026-11-15 20:01:10 -04:00
mrfelek cf4e1101a9 fix(s3vectors): check S3 Vectors requests under IAM enforcement (#8518)
Under IAM enforcement no S3 Vectors request was checked: its model was
not among the vendored REST routes and the s3vectors namespace's request
resources were not read, so every call went through. regen_rest_routes.py
now vendors its routes and the request-resources and tag-on-create
generators read the namespace, so a vector bucket call is checked on the
bucket its vectorBucketName or vectorBucketArn names, an index or vector
call on the index its bucket and indexName or its indexArn names, and
ListVectorBuckets on *. Nothing in IAM is written by hand for it.

The IAM tests of REST services (CloudFront, EMR Serverless, S3 Tables,
S3 Vectors) sign and send their requests through one shared
SignedRestRequests helper.
2026-11-15 19:59:56 -04:00
Jackson PriceandAndre Kurait b0a4cc41cb feat(s3tables): expose bucket encryption configuration (#8523)
S3 Tables now serves GetTableBucketEncryption, returning the encryption
configuration CreateTableBucket stored, a configured KMS key ARN
included. A bucket created without one, or loaded from an older
snapshot, reports AES256. It is configuration readback only: Floci does
not encrypt table data or use the KMS key, and updating or deleting a
bucket's encryption configuration is not implemented.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-15 19:56:31 -04:00
Vũ Thế Huy 7a98f47742 feat(redshift-serverless): export the audit logs of a namespace to CloudWatch Logs (#8333) 2026-11-15 19:54:04 -04:00
Andre Kurait 6fa18cc99e test(emr): right-size tiny word-count fixtures (#8525)
* test(emr): right-size tiny word-count fixtures
* test(emr): share single-task streaming fixture arguments
2026-11-15 19:53:58 -04:00
Jackson PriceandAndre Kurait dc7948013d feat(s3tables): expose bucket storage class configuration (#8524)
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-15 19:51:38 -04:00
Tyler Webb 63124253f2 fix(apigatewayv2): resolve body, stage and context sources in HTTP_PROXY parameter mapping (#8062)
HTTP_PROXY request parameter mappings on HTTP APIs now read $request.body, $request.body.<JSONPath>, $stageVariables.<name> and $context.<name>, the sources the AWS service integration subtypes already read, resolved by ContextValueResolver for both integration types. A header mapping that carries a control character is refused with 502 before anything reaches the backend, and an overwrite:path reads each embedded source expression whole, bracketed JSONPath selectors included.

Signed-off-by: Tyler Webb <tyler.webb@verkada.com>
2026-11-15 19:36:07 -04:00
Priamo Germosen 0999528349 feat(glue): serve federated S3 Tables catalogs on Glue's Iceberg REST endpoint (#8516) 2026-11-15 19:33:21 -04:00
Mohith 722472e76b fix(apigateway): page GetAuthorizers with limit and position (#8495)
API Gateway's GetAuthorizers now pages with limit and position instead
of returning every authorizer at once: authorizers come back sorted by
id, at most limit of them (25 by default, capped at 500, refused below
1), with position set to the id the next page starts after, and an
unknown position is refused with BadRequestException as GetUsage and
GetDocumentationParts refuse one. GetAuthorizers and
GetDocumentationParts share one id-cursor page helper returning
PaginatedResult, and the page-size rule all three paged calls use is
named resolvePageSize.

Closes #8439
2026-11-15 19:21:34 -04:00
Priamo Germosen bca36ce5b5 fix(scheduler): give resource-tag conditions the tags of the schedule group a request names (#8517)
The generated request resources give Scheduler's schedule-group type
aws:ResourceTag/ keys, but SchedulerService did not answer storedTags, so a
condition on a schedule group's tags saw none. SchedulerService.storedTags
now reads the one group entry in the account and Region the ARN names and
gives its tags, matched on the whole ARN, reading only; a group stored before
storage was account-aware is read in place for the default account, and the
default group has none until a request stores it.

Tagging and untagging now put a new tag map in place of the group's, taking
turns on the group, and the field is volatile, so the lookup, and the
existing tag listing, always copies one whole set nothing changes after.
2026-11-15 19:10:14 -04:00
Priamo Germosen 73f2c348b6 fix(emr): check the step limits the API reference and the guide give (#8519)
EMR's documentation sets four limits on steps that Floci did not check:
StepConcurrencyLevel "a minimum of 1 step and a maximum of 256 steps"
(ModifyCluster; "The maximum value is 256" for RunJobFlow); "only 256
steps can be RUNNING or PENDING at any given time"; an ActionOnFailure
other than CONTINUE added while the level is above 1, where "The step is
not submitted and the action fails with a message that the ActionOnFailure
setting is not valid"; and CancelSteps, "Available only in Amazon EMR
versions 4.8.0 and later, excluding version 5.0.0", with "A maximum of 256
steps ... in each CancelSteps request".

Each is now refused in the error code its operation's model points at:
ValidationException from RunJobFlow and AddJobFlowSteps, which declare no
InvalidRequestException, as Floci's other refusals of theirs, and
InvalidRequestException from ModifyCluster and CancelSteps. No source
gives AWS's messages, so they are Floci's.
2026-11-15 19:06:53 -04:00
Andre Kurait 8783ab032b test(emr): avoid retaining closed tar buffers in image fixtures (#8521)
* test(emr): avoid retaining tar buffers in image mocks
* test(emr): document the copy stub verification boundary
2026-11-15 19:00:31 -04:00
Jackson PriceandAndre Kurait f3a0595f50 fix(cloudfront): report stale issued store versions as failed preconditions (#8514)
UpdateKeyValueStore and DeleteKeyValueStore answered every If-Match that
did not match the store's control-plane ETag with InvalidIfMatchVersion
(400). A stale version Floci issued, one that a comment update has since
rotated, now fails with PreconditionFailed (412); a missing or malformed
version keeps InvalidIfMatchVersion. A refused request leaves the store
and its data plane unchanged, and the CloudFront overview and the
key-value-store section of the docs describe the same statuses.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-15 18:39:09 -04:00
mrfelek e1c3242978 fix(autoscaling): register instances with a Classic Load Balancer on attach and deregister them on detach (#8496)
* fix(autoscaling): register instances with a Classic Load Balancer on attach and deregister them on detach
* fix(autoscaling): put members back in what they left when a detach is refused
* test(autoscaling): share the attachment tests' groups in one fixture
2026-11-15 18:29:22 -04:00
Andre Kurait 065d7194b0 fix(ci): distribute slow classes sharing a test profile (#8511) 2026-11-15 18:20:50 -04:00
Jackson PriceandAndre Kurait ac6f28a73b fix(ec2): skip raw block cleanup for logical root volumes (#8508)
EC2 deleted a terminated instance's root volume through the raw
block-device helper, though a root has no raw backing: it is the
container's own file system. Volume deletion now takes the same root
check that already skips the detach, so termination and reconciliation
remove a root's metadata and tags without calling the helper, while
data volumes keep their backing-storage cleanup. Failed-launch rollback
records the launch's root volume ids before terminating, so a root that
DeleteOnTermination=false kept, or that reconciliation detached first,
is deleted the same way.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-15 18:17:50 -04:00
Priamo Germosen 0fccd475b7 fix(batch): put a job's container on its compute environment's VPC network (#8509) 2026-11-15 18:09:00 -04:00
mrfelek ca032c1a03 test(logs): capture the overflow test's records through LogCapture.capture (#8504)
* test(logs): capture the overflow test's records through LogCapture.capture
2026-11-15 17:57:08 -04:00
Andre Kurait 5d40c565d4 fix(ci): prepare Cargo sidecar images before HTTP requests (#8512) 2026-11-15 17:56:14 -04:00
Priamo Germosen 160c45bf2d fix(s3tables): give resource-tag conditions the tags of the bucket or table a request names (#8505)
The generated request resources give S3 Tables' TableBucket and Table types
aws:ResourceTag/ keys, but S3TablesStoredResourceArns did not answer
storedTags, so a condition on a table bucket's or a table's tags saw none.
S3TablesService.storedTags now reads the one bucket entry in the account and
Region the ARN names and gives the bucket's tags, or a table's, matched on
the whole ARN, reading only, a bucket stored before storage was account-aware
read in place for the default account, as Secrets Manager's lookup reads one;
S3TablesStoredResourceArns answers it.
2026-11-15 17:45:24 -04:00
Priamo Germosen 9f7ac3b6a5 feat(glue): serve Glue catalogs and the federated S3 Tables catalog (#8503) 2026-11-15 17:44:58 -04:00
Priamo Germosen 2b372cc0fc fix(iam): apply the permissions boundary a delegation registers (#8465)
A delegation request's RolePermissionRestrictionArns was stored, echoed and
counted, and nothing applied it, so a role created with delegated credentials
carried no boundary where AWS forces one. The partner guide says long-term
permissions "limit the permissions of any roles that are created or managed
through temporary access" and are "implemented as IAM permissions boundaries",
so a partner's cap did not reach the roles it exists to cap.

The member is also not an input. It is absent from CreateDelegationRequest and
appears only in the DelegationRequest output shape, where
GetDelegationRequest's own example reports it empty, because AWS fills it from
the partner's registration rather than from a request. Those boundaries are
registered by emailing AWS, with no API at all, under ARNs shaped
arn:aws:iam::partner:policy/permission_boundary/<partner_domain>/<policy_name>_<date>,
which carry the word partner where an account id goes. So no caller can create
one, no account holds one, and the only way this emulator can hold what AWS
holds out of band is to be handed it.

It is handed it by configuration. services.iam.partner-permission-boundaries-path
names a JSON file of partner account id to an object of boundary ARN to policy
document, which is the shape of the registration it stands in for. Unset, which
is the default, registers nothing: a request reports no restriction, a role
created with delegated credentials carries only the boundary its call asks for,
and nothing moves for a deployment that configures no file. A file that cannot
be read registers nothing rather than failing startup, an unreadable
registration being the same situation as a partner that never onboarded.

From there the chain is the one the guide describes. A request a registered
partner files reports those ARNs on itself, GetDelegatedAccessToken carries them
onto the delegated session, and CreateRole with that session takes one as the
role's boundary. The session is minted in the partner's account and used in the
customer's, so the lookup spans accounts, which is what findSessionAnyAccount is
for.

A registered document is read as a boundary and as nothing else. One reader
answers a boundary ARN, taking the registration ahead of the store, so GetPolicy
does not answer these ARNs, no Attach call can attach one as an identity policy,
no list reports one, and a policy stored under the same ARN cannot shadow the
cap. Every write that sets a boundary accepts a registered ARN without requiring
it as a policy of the account, the create and the two puts alike, so one ARN
behaves the same way wherever a boundary is set.

The cap also stays where it was put. The credentials a delegation issued cannot
replace or remove the boundary they gave a role, since the guide limits roles
"created or managed through temporary access" and the registration is immutable,
and iam:PermissionsBoundary publishes the boundary the write will apply rather
than the one the call asked for, so a policy conditioned on it is told the value
the role ends up with. Both refusal and reading are this emulator's own, no
source wording either.

A stack's roles are capped too. CloudFormation provisions after the request
returns, on a background executor, so the caller cannot be read when the role is
created and the cap travels with the stack instead: CreateStack and UpdateStack
record the boundary the caller's delegation registers, the dispatcher puts it in
the provisioning context, and the role provisioner prefers it to the template's
PermissionsBoundary, the same precedence a direct CreateRole has. An update
records it as well, the guide capping roles "created or managed through temporary
access". Every existing caller of the context and the dispatcher keeps its
signature, the new component and overload defaulting to no cap.

Two readings here are this emulator's own, both documented. A delegation's cap
beats a PermissionsBoundary the CreateRole call names, since the cap is what the
customer registered rather than a choice of the caller. And where a request
names several boundaries, the first is applied, a role carrying one. Only a
boundary still registered is applied, so a request stored before the
registration changed cannot bound a role by a document nobody can read.

Nothing new is refused and no code or status moves: with no registration the
behaviour is what it was, and with one the role simply carries the boundary AWS
would have given it.
2026-11-15 17:43:55 -04:00
Priamo Germosen d51af1ecff fix(docker): hold Lambda extension and exit-watch streams on the streaming pool (#8498)
A Lambda extension's exec and the container's exit watcher each hold a
Docker connection for the container's whole lifetime, and both still ran
on the control-plane client. Enough warm containers, especially with
extensions, could fill that pool and stall every create, start, stop and
remove call, the failure the streaming split was made to prevent.

Both now use the @StreamingDocker client. The exit watcher's inspect is
a short call and stays on the control-plane client, with its retries.
The streaming transport now replays a container wait that fails before
the daemon answers, as the control-plane one does, so a stale socket
does not spend one of the watcher's re-arms. Exec starts and log and
attach streams are still never replayed.

Each live Lambda container now holds its log follow, its exit watcher and
one exec per extension on the streaming pool, so its default rises from
512 to 2048 to cover the 500 containers the runtime API port range allows
with two extensions each. The control-plane default stays at 1024.

Closes #2224
2026-11-15 17:42:28 -04:00
Priamo Germosen ec9c19ff62 feat(emr): run a cluster's bootstrap actions on its core and task nodes (#8502)
Bootstrap actions "run on cluster after Amazon EMR launches the
instance", on every node, and "If you add nodes to a running cluster,
bootstrap actions also run on those nodes in the same way". Floci ran
them once, as on the primary node, and every node ran from the image they
left, so an action's branch for the core or task nodes never ran.

Where a cluster's core and task nodes run in containers of their own,
each now runs the actions too, in a bootstrap container of its own beside
the primary node's, as that node: its node files say CORE or TASK, the
cluster's relay answers its instance metadata as that node, its output
goes under its own instance id, and the container is kept as the image
the node runs from, so it holds what its own actions installed. A node a
resize adds runs them before it starts, and one that leaves takes its
image with it, so one added again runs them again.

AWS terminates a node whose action fails and says only that "If too many
instances fail their bootstrap actions, then Amazon EMR terminates the
cluster. If just a few instances fail, Amazon EMR attempts to reallocate
the failed instances and continue". Floci runs a node's actions again
once, in a fresh container, and a second failure ends the cluster with
BOOTSTRAP_FAILURE and a message of Floci's after the primary node's, as
no source gives AWS's words or an error code for a core or task node.
2026-11-15 17:41:55 -04:00
Andre Kurait 84c06d59e7 fix(cloudwatch): accept validated console metric publication (#8499)
CloudWatch's console target (CloudWatchVersion20130116.) now serves
PutMetricData, which it used to answer with UnsupportedOperation. It
accepts a nonempty MetricData array whose datums carry a finite numeric
Value or a complete StatisticValues set with a positive SampleCount,
string dimensions and a valid timestamp, and checks the whole batch
before storing anything: a malformed or conflicting datum, or a member
the handler does not parse such as Values, Counts or StorageResolution,
refuses the request without a partial write. Signature validation and
IAM checks are the same as on the SDK prefix.
2026-11-15 16:27:48 -04:00
Andre Kurait e257640516 test(lambda): remove redundant throws from ZIP fixture helpers (#8506)
Thirteen test helpers that only return LambdaCodeFixtures.nodeJsZip or
nodeJsZipBase64 with their own handler source drop the throws Exception
they kept after moving onto the shared fixture, which declares no
checked exception.
2026-11-15 16:24:21 -04:00
Jackson PriceandAndre Kurait d5f6ae23a4 fix(lambda): await idle capacity before comparing restored pool status (#8501)
ProvisionedConcurrencyPoolTest's restart case compared the status get()
and list() report right after the configuration turned READY, while its
two initializers could still be adding their handles to the idle queue,
so the two snapshots could disagree on the available count. It now
waits until both requested environments are available before comparing.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-15 16:21:49 -04:00
Hector Ventura c1c8b84a1f feat(stepfunctions): evaluate the execution role on Map's S3 reads and writes (#7725)
Under IAM enforcement, a Distributed Map's S3 calls are now authorized as its execution role, which has to exist and to trust Step Functions. An ItemReader needs s3:GetObject on the object it reads or s3:ListBucket on the bucket it lists, offering s3:prefix when the request has one, as a direct listing does. A ResultWriter needs s3:PutObject on each object it writes: SUCCEEDED_0.json, manifest.json, and FAILED_0.json when a child failed. Every key is evaluated before the first write, so a refusal leaves no partial export. Each is evaluated in the bucket's own partition, and the bucket's policy can grant or deny it.

A refusal fails with States.ItemReaderFailed or States.ResultWriterFailed, and an execution role refused outright with States.Permissions, so Retry and Catch on the Map apply. A refused reader runs no child; a refused writer fails the Map run after its children, as any writer failure does. The multipart actions and s3:GetObject the CDK grants a ResultWriter are not needed, since Floci writes each file in one PutObject. PARQUET and MANIFEST make no S3 call and keep their answer. Credentials on a Map or inside its reader or writer are not read. A mocked execution is evaluated on these calls too, since a test case cannot mock a Map and its S3 calls stay real, and with enforcement off nothing changes.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-11-15 16:15:48 -04:00
Priamo Germosen 58c267e621 fix(codebuild): put a VPC project's build container on its VPC's network (#8491) 2026-11-15 16:07:48 -04:00
Matheus Oliveira 1fea61f88b fix(ec2): report actual deleteOnTermination for instance network interfaces (#7940)
DescribeInstances reported deleteOnTermination=true for every network
interface attachment. It now reports what the interface carries: an
interface RunInstances creates defaults to true, a caller-supplied one
to false, and an explicit NetworkInterface.1.DeleteOnTermination is
honoured. Asking for true on a supplied interface is refused with
InvalidParameterCombination before anything launches, as AWS does, and
a launch-created interface sent false is kept as a standalone record, so
it returns to available when its instance terminates instead of being
deleted with it. DescribeInstances and DescribeNetworkInterfaces read
the same value, and both build an implicit interface through one helper.

Closes #7838
2026-11-15 15:50:01 -04:00
Andre Kurait 65e737ff2c test(ecs): forward SIGTERM to image-pull fixtures (#8497)
EcsImagePullDockerIntegrationTest's fixture runs sleep 120 as the
container's PID 1, which ignores SIGTERM, so every task stop waited out
Docker's kill timeout. The fixture's task definition now sets
linuxParameters.initProcessEnabled, which runs the container with
docker run --init, so the stop ends as soon as the signal arrives. The
assertions are unchanged.
2026-11-15 15:29:09 -04:00
Priamo Germosen 8f538679e3 fix(stepfunctions): check CloudFormation tasks from the generated request resources (#8487)
TaskPermissions decided a Step Functions aws-sdk:cloudformation task by six
hand-written operation sets and looked stacks up through four handler methods
of its own. With CloudFormation now read from iam-request-resources.json, a
task goes through the generic requestPermissions, as the same request made
directly is checked: CloudFormationStoredResourceArns, from the handler's
storedResourceArns(), finds the stack or the stack set a name names, and a
request naming none, whatever the task's input is, is checked on *, as the
direct request is. The operations checked are the ones the table reads; one
the handler does not serve is then its own UnknownAction.

So a change set named by its ARN alone, a describeStackResources by
PhysicalResourceId alone and a request with no StackName are checked on *,
a stack or stack set CloudFormation does not hold with its id open, and a
stack id it does not hold as given. The six sets, the arm's own lookups and
the handler and service methods only they used are gone.
2026-11-15 15:21:19 -04:00
Jackson Price c895a7f9ad test(lambdaweb): remove redundant ZIP fixture wrapper (#8493) 2026-11-15 15:19:54 -04:00
galsuchetzky-act db36808d38 fix(bedrock): serialize guardrail name creation (#8484)
CreateGuardrail now runs under the service lock every other guardrail
writer already holds, so its name check and write can no longer overlap
another create: of two concurrent creates with the same name, the second
gets ConflictException instead of storing a second guardrail.

The new concurrency test and BedrockGuardrailLifecycleConcurrencyTest
stage their races through ParkingStoreAssertions instead of their own
threads and waits.

Closes #8483
2026-11-15 15:14:48 -04:00
jibin-jusdb fdbcbb68ec feat(elasticache): IncreaseReplicaCount, DecreaseReplicaCount and TestFailover (#7881)
* feat(elasticache): IncreaseReplicaCount, DecreaseReplicaCount and TestFailover
* fix(elasticache): refuse a replica count change or failover without a ReplicationGroupId
* fix(elasticache): number a group's members so a decrease keeps the primary
2026-11-15 15:13:56 -04:00
mrfelek edb42cebf1 test: capture log records through LogCapture.capture (#8492) 2026-11-15 15:01:50 -04:00
Priamo Germosen 8206115dc8 feat(athena): run Iceberg CREATE TABLE, DML and VACUUM through Glue's Iceberg REST catalog (#8488) 2026-11-15 14:52:36 -04:00
Andre Kurait dbfe6e0769 fix(cloudwatch): bound inflated metric request bodies (#8490) 2026-11-15 14:51:29 -04:00
Jackson PriceandAndre Kurait b13db563c9 fix(testing): retain region while polling executions (#8482)
StepFunctionsExecutions.runInRegion polled its execution through the
unsigned describe helper, so every poll after StartExecution went to the
default Region. It now polls with the same Region-scoped Authorization
header as its other calls. The regional and unsigned paths share one
DescribeExecution request and its status check, and
StepFunctionsExecutionsTest pins the Region on every poll for each
terminal status and that both unsigned helpers still send no
Authorization header.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-15 14:50:44 -04:00
Andre Kurait 42ead66324 fix(ecs): quiesce task producers before container teardown (#8214) 2026-11-15 14:46:26 -04:00
Koushik Dutta 07ef865dfa fix(dsql): allow explicit NULL in ALTER TABLE ADD COLUMN (#8489)
DSQL's statement checker listed NULL among the column constraints that
ALTER TABLE ADD COLUMN refuses, so an explicit nullable marker, which
Laravel's schema builder writes for every nullable column, was rejected
with 0A000. A bare NULL now passes through to PostgreSQL; NOT NULL,
DEFAULT and the other column constraints are still refused.

Closes #8485
2026-11-15 14:43:51 -04:00
Jackson Price be18211c98 test(lambda): share Node.js ZIP fixtures across services (#8434) 2026-11-15 14:26:55 -04:00
Oleksandr Nikolaichuk f534c1c431 fix(cloudformation): replace a DynamoDB table when the engine says its create-only properties changed (#8480) 2026-11-15 14:21:04 -04:00
Matheus André ea594d8d2a feat(ec2): CreateSnapshot, DeleteSnapshot and CopySnapshot for EBS volumes (#8360)
EC2 now serves CreateSnapshot, DeleteSnapshot and CopySnapshot for EBS
volumes. CreateSnapshot takes the volume's size and encryption, is owned
by the caller and accepts snapshot tags from TagSpecification.
DeleteSnapshot removes the snapshot and its tags, and refuses with
InvalidSnapshot.InUse while a registered AMI uses it. CopySnapshot copies
from SourceRegion into the request's Region as a new snapshot, encrypted
when the source is, when Encrypted=true or when the destination's
encryption by default says so, without the source's tags. All three
honor DryRun, keeping the error the real call would give.

An unsigned, unversioned CopySnapshot now routes to EC2, since Floci's
ElastiCache does not serve it. RegisterImage builds its snapshot records
through the same helper.

Closes #7943
2026-11-15 14:14:27 -04:00