Commit Graph
5764 Commits
Author SHA1 Message Date
Niels Kootstra f046df07aa fix(ec2): attach launch-created EBS volumes as block devices when the instance runs (#9438)
Restore the data volumes a launch creates from its block device mappings as guest block devices through the StartInstances restore hook, run before the instance is marked running so they exist before UserData. DetachVolume takes the per-volume lock attach and delete already take, and the restore re-reads each volume under it, so a detach during a restore removes the device afterwards.
2026-11-25 22:06:55 -04:00
Kenshin Okinaka bde90de4d4 fix(ses): word the v1 custom verification template create errors as SES does (#9440) 2026-11-25 21:59:59 -04:00
TATSUNO “Taz” Yasuhiro aeb4593696 feat(eventbridgev2): rotate webhook credentials (#9443) 2026-11-25 21:56:53 -04:00
Mahmoud Khalifa 2dd81154f1 fix(sqs): drop the cached RedrivePolicy when the queue's attributes change or it is deleted (#9463)
ReceiveMessage cached a queue's parsed RedrivePolicy and never dropped it, so a SetQueueAttributes change kept redriving under the old policy and a re-created queue inherited its predecessor's. The entry is now removed on SetQueueAttributes and DeleteQueue, and each entry keeps the policy text it was parsed from, so a receive reparses whenever the queue's current policy differs.

Closes #9461
2026-11-25 21:53:21 -04:00
Allen Sanborn ad8498a813 fix(ec2): honour DryRun on the transit gateway, Client VPN, key pair, launch template and describe calls (#9075) 2026-11-25 21:48:56 -04:00
Allen Sanborn 8a4880f7b3 fix(events): word not-found, already-exists and invalid-state errors as AWS does (#9295)
Word EventBridge's not-found, already-exists and invalid-state errors as AWS does, built in EventBridgeErrors: rules name their bus, event buses, archives and replays use "X does not exist." and "X already exists.", connection and api-destination describe and update name the failing call, and CancelReplay on a settled replay answers IllegalStatusException. StartReplay naming a missing archive now answers ValidationException. Paths with no recorded AWS answer keep Floci's text.
2026-11-25 21:47:04 -04:00
Andre Kurait 66d84afb16 test(cloudformation): cover unstored runtime properties and health replacement (#9408)
Pin two CloudFormation behaviours from #9123: a Route53 health check's HealthCheckConfig.EndpointType change requires replacement while a Port change does not, and the AgentCore runtime provisioner warns once per non-null HooksConfiguration or ResourceConfigurations without logging their values.
2026-11-25 21:43:25 -04:00
Priamo Germosen 5610fd44bd fix(mwaa): re-claim kept containers' VPC addresses safely at startup (#9472)
MwaaService re-claimed the VPC addresses that Airflow containers kept
across a restart hold when the service was first used, in its
@PostConstruct, and the Docker lookup there caught only a missing
container. Since #9466 startup calls the service to restore the
environments, so a Docker daemon that did not answer, with an
environment in a subnet, stopped Floci from starting.

The re-claim now runs when the startup restore begins, on the starting
thread, before startup goes on, so EC2 hands none of those addresses to
an instance. Each environment is re-claimed on its own: a Docker error
is logged and stops neither startup nor any other environment. That
environment's restore tries again before taking its containers over,
and fails, leaving it UNAVAILABLE, when it cannot either, rather than
taking a container over with an address EC2 may hand out. The container
is found under its current name or the one before the floci-aws- prefix,
as the takeover finds it.

Part of #5664.
2026-11-25 21:18:18 -04:00
Priamo Germosen fbd71963e8 chore(iam): refresh the generated tables from the Service Reference (#9481)
Regenerates iam-authorized-actions.json, iam-passed-roles.json,
iam-tag-on-create.json and iam-request-resources.json from the live
Service Reference, which has changed since they were vendored: Bedrock's
data retention storage actions and Elastic Load Balancing's proxies and
certificate associations are new, Bedrock's ListInferenceProfiles now has a
resource type, RestoreDBClusterFromS3 no longer passes its
role to rds-preview, and Redshift's two IdC application creates read their
request tags. Nothing else changes.

Elastic Load Balancing's new CreateProxy passes a role, so the passed-roles
generator now reads elasticloadbalancing, as PassedRoleNamespacesIntegrationTest
requires of a namespace Floci serves: CreateProxy is recorded as not read,
the pinned botocore not having the operation yet.
2026-11-25 19:23:29 -04:00
Priamo Germosen 0ed899bd59 fix(iam): give a role's tags to the policies an AssumeRole is checked against (#9474)
IAM's stored lookup answered no tags, so a role or user was never given its
aws:ResourceTag or iam:ResourceTag keys outside the IAM condition-key
table's fromTarget route, and an AssumeRole saw none of the role's tags:
a caller's policy allowing sts:AssumeRole on roles carrying a tag (the
guide's "Assume roles that have a specific tag") matched no role, and a
trust policy keyed on its own role's tags never matched.

IamStoredResourceArns.storedTags now gives the tags of the user or role an
ARN names, in the account it names, path included: the identity resources
iam:ResourceTag reads ("the tag attached to the identity resource (user or
role)"), which IAM and STS read aws:ResourceTag on alike. The trust policy
of an AssumeRole, and of the role a Step Functions Lambda task assumes, is
read with the role's tags under the keys the generated table gives the
role type, through IamConditionContextResolver.resourceTagKeys, which
resourceTags now shares.

A resource-tag key the generated IAM condition-key table does not read for
the action being checked is left out of its context
(IamConditionContextResolver.resourceTags(action, resource), from
IamConditionKeys.unreadTagPrefixes): the table reads none for iam:PassRole,
AWS warning that ResourceTag conditions with PassRole "do not have reliable
results", so a PassRole check still sees no role tags.
2026-11-25 18:46:34 -04:00
Priamo Germosen c829b397ab fix(mwaa): start environments again when Floci restarts (#9466)
Floci's shutdown removed every MWAA environment's Postgres and Airflow
containers, with their volumes, and nothing started them again, so after
a restart with persistent storage an environment reported AVAILABLE with
nothing behind its webserver URL.

Shutdown now keeps the volumes while the environments are stored to come
back, and Floci keeps the secrets the metadata database was set up with
(its password, the Fernet key and the admin password) in a store of its
own, which GetEnvironment never returns. Shutdown removes containers by
the IDs Floci holds and under the environments' names, so none outlives
it, the ones a restore had not reached yet included. At startup each
environment reports MAINTENANCE, or CREATING while it was being created,
and its containers come back in the background. Containers that outlived
Floci are taken over, their secrets read back from the Airflow
container. Otherwise new ones start on the kept volumes with the kept
secrets, so DAG runs, connections and variables are back, and the
startup script and requirements.txt run as at creation. Containers and
volumes named before the floci-aws- prefix are found too. The web proxy
comes back on the port WebserverUrl names, or on a new one when that
port is taken. The first DAG sync after the restore compares the DAG
volume with S3, so a DAG deleted while Floci was stopped is removed; the
sync reads every page of the S3 listing, so no DAG past the first
thousand reads as deleted. The readiness poller reports the environment
AVAILABLE once Airflow is healthy, or UNAVAILABLE when a container exits
first; one whose containers do not start is UNAVAILABLE, and tried again
at the next start.

An environment stored before Floci kept the secrets gets them back from
a container left under its name, or, with none left, new ones, as its
volumes went at the shutdown then; one whose volumes are still there is
left UNAVAILABLE rather than started on new ones. Secrets found or given
are kept before anything starts. When Docker cannot say which containers
or volumes are left, the environment's restore fails, removing nothing.

A DeleteEnvironment during the restore leaves the environment DELETING
until its containers have started, and the restore then removes it; one
still DELETING at the next start is removed then. A start that shutdown
overtakes removes its containers. A new environment starts on empty
volumes, so it never inherits a database set up with other secrets.

Part of #5664.
2026-11-25 17:23:27 -04:00
Priamo GermosenandAndre Kurait b012f4d6bf fix(iam): check VPC endpoint IDs in EC2 tag calls on their endpoint ARN (#9467)
CreateTags and DeleteTags checked a vpce- ID in their Resources list on `*`, because the generated table learns
each ID prefix from botocore's examples and botocore gives none for VPC endpoints. A grant on one endpoint was
refused and a deny on it never applied.

fetch_ec2_id_examples.py copies the identifier examples of the EC2 API reference's CreateVpcEndpoint page into
tools/aws/sources/ec2-id-examples.json, and the generator matches their XML paths to botocore's output shapes,
which gives VpcEndpointId the vpce- prefix. That prefix joins botocore's in the one prefix map and reads only the
tagging calls' generic list, so DeleteVpcEndpoints keeps its typed reader. The source names its namespace and
pages, and the shared source verifier checks it against the live page.

The regenerated table also takes in what the Service Reference added on 2026-11-25: CloudWatch's omni-slo,
experiment and lookup types, which its tag operations now act on, Elastic Load Balancing's proxy type and the
amplifygen3 namespace.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-25 17:22:55 -04:00
Kenshin Okinaka 1206d32a03 test(emr): stop the relay test blocking on a live relay's output (#9456)
EmrMetadataRelaysTest's awaitListening read a live relay's stdout to EOF when the relay missed its ten-second deadline, which a running relay never reaches and JUnit's timeout cannot interrupt. It now reads only what is buffered while the relay is alive, and everything once it has exited.
2026-11-25 16:12:19 -04:00
Jimmy Liu Jia be526ff56e fix(eventbridge): emit whole-second scheduled event times (#9455)
Closes #9450

A scheduled rule's Scheduled Event now carries its time to the second, as PutEvents events have since #8020, read from the scheduler's clock so a test can pin it. RuleSchedulerTest covers a cron and a rate rule.
2026-11-25 16:10:02 -04:00
Priamo Germosen 215e37eb48 fix(cloudtrail): name S3 denials as CloudTrail records the operation's data event (#9460)
IamEnforcementFilter named the CloudTrail data event of a denied S3 request
from a hand-written table keyed by the IAM action, so a request checked
under another operation's action took that operation's name: HeadBucket
was recorded as ListObjects, CopyObject, UploadPart and UploadPartCopy as
PutObject, GetObjectTorrent as GetObject, ListBuckets as a data event,
and ListObjectVersions, ListParts, DeleteObjects, AbortMultipartUpload and
the legal hold and retention calls were not recorded.

A denial is now recorded under the data event of the operation the request
matched, from src/main/resources/aws/cloudtrail-s3-data-events.json, which
tools/aws/regen_cloudtrail_s3_data_events.py generates from botocore's S3
model, the S3 user guide's data events table and its sentence naming the
event a call is recorded with (vendored by
tools/aws/fetch_cloudtrail_s3_data_events.py), and AWS's S3 service
reference. An operation the table for general purpose buckets lists is
recorded under its name or the one the guide gives it (PutObjectRetention
as PutObjectLockRetention), a versioned one under the version-less name
the table lists (ListObjectsV2 as ListObjects), and an operation it does
not list records no data event. readOnly is the service reference's, by
the reading iam-action-resources.json's readOnlyActions are vendored by,
in place of CloudTrailService's hand-written list.

The IAM data drift workflow runs on a pull request touching any of the six
new files, so the online check covers a change to the table alone.
2026-11-25 15:10:24 -04:00
galsuchetzky-act 208b07b54a fix(apigateway): paginate REST deployments (#9437)
Use the shared ID pager and response envelope for GetDeployments. Preserve unpaged internal reads, missing-parent responses and deployment metadata.

Closes #8603
2026-11-25 14:44:35 -04:00
James McMahon d5fdfbaa63 refactor: share data-channel routing with ECS Exec (#9432)
Move /v1/data-channel/:sessionId routing out of ECS Exec into a shared
DataChannelRouter in the ssmmessages package, with ECS Exec as a
DataChannelHandler behind it. Plain HTTP requests still fall through, an
unknown session still returns 404, and ECS Exec keeps its session token check
and streaming. AgentMessage moves with the route, and the service inventory
notes the new package.
2026-11-25 14:38:49 -04:00
Andre Kurait 2615a68276 test(codepipeline): wait for terminal worker cleanup (#9439)
CodePipelineRetryRollbackTest's awaitStatus now also waits for the run to leave activeRuns. A run saves its terminal status before its worker removes it from activeRuns, so a RetryStageExecution sent as soon as the run read Failed could be refused with ConflictException, failing retryingRollbackTargetStageDoesNotRunLaterStages intermittently. Every caller waits on a terminal status. No production change.
2026-11-25 14:37:51 -04:00
mrfelek 0dfa48e9fc feat(eks): give EKS Auto Mode Ingresses of the ALB class an Application Load Balancer (#9413)
Step 7c of #8914: while a cluster has EKS Auto Mode load balancing on, an Ingress whose IngressClass names the eks.amazonaws.com/alb controller, or that names no class while such a class is the default, gets an Application Load Balancer.

- Floci installs the IngressClassParams kind (eks.amazonaws.com/v1) while load balancing is on, through the shared applyAutoModeManifest step, and removes it once it is off.
- The load balancer is named k8s-<namespace>-<name>-<hash>, with the scheme and subnets of the class's IngressClassParams, else the alb.ingress.kubernetes.io/scheme annotation and the cluster's subnets, internal by default. Ingress names hash their kind, so a Service and an Ingress of one name don't collide.
- An HTTP listener on port 80 answers a fixed 404 or forwards to the Ingress's defaultBackend. Each rule's paths become listener rules in the Load Balancer Controller's order: the rules as listed, and within each, Exact paths first, then Prefix paths longest first, then ImplementationSpecific ones.
- Target groups sit on each backend Service's TCP NodePort, with the cluster's node registered and an HTTP health check at the healthcheck-path annotation's path.
- A changed scheme replaces the load balancer, changed subnets and health-check paths are applied, and an Ingress whose class names missing IngressClassParams keeps its load balancer as it is.
- The Services reconciler's ELBv2 lookups, node registration and kubectl calls move to EksAutoModeElb and EksAutoModeKubectl, shared with Ingresses.
2026-11-25 13:52:02 -04:00
andrei-fabricdata f1c2c44883 fix(verifiedpermissions): resolve action groups from the policy store schema (#9427)
AVP builds the action entities, with their memberOf action-group parents,
from the policy store's schema. Floci sent the sidecar only the entities in
the request, so a policy scoped with `action in NS::Action::"Group"` never
matched a member action and IsAuthorized returned DENY where AWS returns
ALLOW.

IsAuthorized, BatchIsAuthorized and their token variants now merge the
schema's action entities into the request entities before evaluation. The
schema's definition replaces a caller entity with the same identifier, since
IsAuthorized entities cannot include actions and IsAuthorizedWithToken accepts
an action entity with only its identifier. An unreadable stored schema is
logged and the request is evaluated without schema-derived actions.
2026-11-25 13:51:52 -04:00
Vũ Thế Huy 0d2ef89d0e feat(rds): load a zero-ETL integration's source into Redshift (#9353) 2026-11-25 13:51:36 -04:00
Priamo Germosen 42dadc4ed9 fix(athena): word GetQueryResults' refusals as Athena does by the query's state (#9454)
GetQueryResults refused the results of every query that had not succeeded
with "Query has not succeeded yet". Athena words the refusal by the
query's state: "Query has not yet finished. Current state: <state>" for
one still queued or running, "Query did not finish successfully. Final
query state: FAILED" for a failed one, and "Could not find results" for a
cancelled one, each an InvalidRequestException as before.
2026-11-25 12:08:41 -04:00
Priamo Germosen 4018e8d0b5 fix(athena): answer a query execution only in the Region it was started in (#9453)
Athena kept query executions by their id alone, so GetQueryExecution,
GetQueryResults and StopQueryExecution sent to one Region answered another
Region's execution, and ListQueryExecutions listed every Region's
executions of the workgroup. AWS keeps query executions per account and
Region. Each is now answered and listed only in the Region recorded for it
when it started; one stored before Floci recorded it is answered in every
Region, as it was. An id Athena holds none of in the Region gets AWS's
answer, InvalidRequestException "QueryExecution <id> was not found", in
place of "Query execution not found: <id>".
2026-11-25 11:00:27 -04:00
Priamo Germosen c843dcbdfc fix(opensearch): start domain containers again when Floci restarts (#9434)
Floci's shutdown removes every OpenSearch domain's container, and
nothing started them again, so after a restart with persistent storage
a domain reported an endpoint nothing answered on.

At startup, each domain goes back to Processing, and its container
comes back in the background. A container that outlived Floci, kept
running across the shutdown or left behind by a killed Floci, is kept:
found by the container ID the record names, started again if it
stopped, and its host port reserved again. Otherwise the domain gets a
new container on the data it kept, so its indices are back, and the
readiness poller reports it ready once it answers. A domain started
again keeps the storage its record names, whatever the data-volume
setting says then: the operator's volume, or bind-mounted directory,
whose path the record now keeps, or its own Floci-managed volume. With no Docker
daemon reachable, a domain has no container, as one created then has.

A domain deleted during its restore reads Deleted, keeps its name, and
is removed with its container and data once the restore's start is
through; one still Deleted at the next start is removed then. Each
removal is confirmed with Docker, and deleting again a domain whose
delete Docker kept the container of confirms it the same way, one
retry at a time, on the record still stored. A start that shutdown overtakes
removes its container.

Part of #5664.
2026-11-25 10:05:46 -04:00
Priamo Germosen 93cab8398d feat(iam): check Athena query executions and named queries on their workgroup (#9442)
The generated request-resources table reads the workgroup of an Athena
query execution or named query through its id (`through`), which no
service answered, so GetQueryExecution, GetQueryResults,
GetQueryRuntimeStatistics, StopQueryExecution, GetNamedQuery,
UpdateNamedQuery and DeleteNamedQuery were checked on `*`.
AthenaStoredResourceArns now answers it with the workgroup the stored query
execution or named query runs in, `primary` for one naming none, looked up
read-only; an id Athena holds none of names nothing.

Athena kept query executions by their id alone, so a request sent to one
Region could name another Region's execution. Each execution's Region is
now recorded beside it (query-regions.json), and an execution is checked
on its workgroup in the Region it was started in, whichever Region the
request is sent to: a grant on another Region's workgroup of the same
name does not reach it, and a deny on its own workgroup is not passed by
through another Region.
2026-11-25 09:49:34 -04:00
Priamo Germosen bf13478d03 refactor(iam): read Step Functions' Scheduler task permissions from the generated tables (#9436)
TaskPermissions built the schedule a Scheduler SDK task acts on by hand,
schedule/<group or default>/<name>, and its action from the API's name. Read
both as a direct Scheduler request is read: the schedule with
RequestResources.ofBody over the generated request-resources table and the
action with IamAuthorizedActions, with SchedulerService passed through
ControlServices so a request naming no group is checked on Scheduler's
default group. The hand-built ARN and its helper are gone; the checks are
the same.
2026-11-25 08:29:24 -04:00
James McMahon 66f80b6a26 fix(ssm): match the agent ec2messages wire format (#9431)
The stock SSM Agent polls ec2messages with the EC2WindowsMessageDeliveryService target prefix, which Floci answered with UnknownOperationException, and it reads a command payload and writes its reply as JSON text, where Floci added a Base64 layer. Floci now accepts that prefix alongside its existing one and exchanges the payload and reply as JSON text, so a stock agent can poll, run a command and report it.

Closes #9370
2026-11-25 07:52:39 -04:00
Andre Kurait d37e445df1 fix(ec2): share IPv6 count source validation (#9435)
Fold CreateNetworkInterface prefix combinations into the existing IPv6 source validator. Preserve its specific-address message and negative-count precedence across service and Query callers.

Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-25 07:43:21 -04:00
galsuchetzky-act ffc3bdffa1 fix(apigateway): paginate base path mappings (#9430) 2026-11-25 07:29:24 -04:00
Priamo Germosen c9a4443f50 feat(iam): read Transfer Family from the generated tables (#9420)
Move `transfer` from NOT_COVERED to NAMESPACES in
regen_iam_request_resources.py, so Transfer Family requests are checked on
the resources they name instead of `*`: a server by its ServerId, as
server/<id>, and a user by its ServerId and UserName, as
user/<server-id>/<name>, the ARNs the service mints, and a tag call on its
Arn. No other namespace's rows change.

The resource a create makes now leaves open a variable its response
answers when its request carries no member of that name, an id the service
mints: ImportCertificate's certificate took its CertificateId from the
certificate body it imports, and ImportHostKey's host key its HostKeyId
from the key body. Across the table only those two rows change.
2026-11-25 07:24:59 -04:00
galsuchetzky-act fbbaee3f93 feat(bedrock): include Nova Pro in the foundation model catalog (#9426)
The foundation-model seed had no Nova Pro, so GetFoundationModel answered ValidationException for amazon.nova-pro-v1:0. The catalog now carries it with the metadata its model card publishes: TEXT, IMAGE and VIDEO input, TEXT output, response streaming, ACTIVE lifecycle, and In-Region availability in us-east-1, us-gov-west-1, eu-west-2, ap-southeast-2, ap-southeast-3 and me-central-1. Its system-defined inference profiles are not seeded.

Closes #9078
2026-11-25 07:18:00 -04:00
TATSUNO “Taz” Yasuhiro 6a7428aabc feat(eventbridgev2): receive webhook events (#9424)
The webhook event sources #9321 added had a URL that answered nothing. A POST to it is now checked in the order AWS checks it: the method, the URL's host-bound token, the body size, the source's credential (a static token, Basic or an HMAC signature, read from its Secrets Manager secret and compared in constant time) and then the body, which must be one JSON value. A request that passes is published as an event on the source's bus with its listed headers as Metadata, and CONTENT_BASED deduplication drops a repeat within five minutes.
2026-11-25 07:09:43 -04:00
Jimmy Liu Jia bc98bbbb23 fix(s3): block SSE-C writes for new and configured buckets (#9414) 2026-11-25 07:09:21 -04:00
mrfelek 017b687567 feat(eks): give an EKS Auto Mode cluster its node pools, default node class and Auto Mode node label (#9425) 2026-11-25 06:56:14 -04:00
Niels Kootstra 47e554680b feat(sts): verify web identity tokens from OIDC providers registered in IAM (#9217)
AssumeRoleWithWebIdentity verified only tokens from issuers Floci knows, such as its own EKS clusters, so a token from an OIDC provider registered with CreateOpenIDConnectProvider could not be verified. For a registered https issuer, the provider is read in the role's account, the token's key comes from the issuer's jwks_uri, and aud must name one of the provider's client IDs. An issuer whose keys cannot be fetched answers InvalidIdentityToken with AWS's message, and a token naming no key ID is refused with InvalidIdentityToken too.

Closes #7942
2026-11-25 06:55:39 -04:00
Jimmy Liu Jia b57af59bf8 fix(ec2): honor block device delete-on-termination updates (#9422)
ModifyInstanceAttribute accepted BlockDeviceMapping entries without changing the attached volume's DeleteOnTermination flag, and DescribeInstanceAttribute returned no mappings. Each requested mapping is now resolved to an attached volume by device name or volume ID and checked before any flag changes, an omitted DeleteOnTermination defaults to true as the API reference says, and DescribeInstanceAttribute returns the instance's block device mappings.

Closes #9384
2026-11-25 06:52:10 -04:00
Andre Kurait 87ff8135a9 feat(ec2): retain IPv6 launch metadata and allocation properties (#9418) 2026-11-25 06:50:02 -04:00
Hector Ventura 0f5d2c8886 test: run the EKS auto mode classes nightly and wait for a PgBouncer login (#9423)
EksAutoModeBlockStorageDockerIntegrationTest and EksAutoModeNlbDockerIntegrationTest each start a k3s node, so they become DockerNightlyIntegrationTest classes behind the nightly.checks.enabled guard, and a change under services/eks/ still runs them through the nightly selection. RdsPgBouncerDockerNightlyIntegrationTest waited for the pooler's port with a socket probe, which Docker publishes before PgBouncer listens, so the wait now completes a JDBC login and SELECT 1 for up to 30 seconds.
2026-11-25 06:49:14 -04:00
Kenshin Okinaka 354e5b9ea9 fix(ses): make v1 UpdateCustomVerificationEmailTemplate a partial update (#9419) 2026-11-25 06:46:17 -04:00
Kenshin Okinaka 1d74e9adc8 fix(ses): answer a paused account with the AWS message and order (#9417)
A send while account sending is paused now answers AWS's message, "Sending is paused for this account.", on v1 and v2, in place of "Account sending is disabled." The codes are unchanged. v2 SendEmail with Raw content, v2 SendBulkEmail and v1 SendBulkTemplatedEmail check the sender before refusing a paused account, as AWS does, so an unverified sender gets MessageRejected first. Every other send still refuses a paused account ahead of every check.
2026-11-25 06:45:59 -04:00
Priamo Germosen 732001a90f fix(kinesisanalytics): start Flink clusters again when Floci restarts (#9390)
Floci's shutdown removes every application's Flink cluster, and nothing
started them again, so after a restart with persistent storage an
application still reported RUNNING with no cluster and no job behind
it.

At startup, each application that was RUNNING or still STARTING goes
back to STARTING, and its cluster starts in the background. A cluster
that outlived Floci is kept when its JobManager, TaskManager and job
still run. Otherwise what survives of it is removed, under the current
or the old floci- names, and the application gets a new cluster, as
StartApplication starts one, in the application's own account, and the
readiness poller runs its job afresh and reports it RUNNING. An
application whose cluster cannot be started goes back to READY, from
which StartApplication starts it again. An application stopped while
its restore is starting the cluster is STOPPING, as AWS reports a stop
in progress, until the restore has removed that cluster by its
containers' IDs, and READY then. StartApplication and DeleteApplication
refuse it meanwhile, so no second start runs under the cluster's names.
One still STOPPING at the next start has what survives of its cluster
removed before it turns READY. Each removal is confirmed with Docker:
while Docker keeps the cluster, the application stays STOPPING and the
cluster stays named and tracked, for shutdown and the next start.
Records stored under the keys of older builds move onto their current
keys first, so no application is restored twice. A start that shutdown
overtakes removes its containers.

Part of #5664.
2026-11-25 06:40:37 -04:00
Joaquín Gamboa a0123f8f69 feat(cloudfront): distribution tenants for multi-tenant distributions (#9398) 2026-11-24 23:40:15 -04:00
Andre Kurait b3c8db3022 fix(iam): read EC2 resource tags in the ARN scope (#9412)
EC2 resource-tag conditions read the tags of the resource an ARN names in the caller's account and Region, and a foreign ARN kept the caller's earlier tags. Ec2StoredResourceArns now answers storedTags for the resource in the ARN's account and Region, with the caller's account for an account-less image or snapshot ARN, so the shared resource-tag reader fills the table's keys for every EC2 type, other services' requests naming an EC2 ARN included. withEc2ResourceContext keeps only the generated record keys.

Ported from Emanuel Aseghehey's original change.
2026-11-24 23:19:17 -04:00
Priamo Germosen 74430d7d40 feat(iam): read Transcribe from the generated tables (#9388)
Move `transcribe` from NOT_COVERED to NAMESPACES in
regen_iam_request_resources.py, so Transcribe requests are checked on the
resources they name instead of `*`: a transcription job by its
TranscriptionJobName and a vocabulary by its VocabularyName, each by name.
The Service Reference lists no resource type for StartTranscriptionJob or
CreateVocabulary, which stay on `*`. No other namespace's rows change.
2026-11-24 22:26:15 -04:00
Andre Kurait ba6a81a0d5 fix(elbv2): honor disabled Lambda target health checks (#9407) 2026-11-24 22:19:19 -04:00
mrfelek 01a42399b0 fix(kinesis): honour DryRun on PutRecord, PutRecords, GetShardIterator, GetRecords and SubscribeToShard (#9409)
Kinesis's PutRecord, PutRecords, GetShardIterator, GetRecords and SubscribeToShard take DryRun, and Floci ignored it, so a dry-run PutRecord wrote the record. Each now makes the checks AWS makes for a dry run (the model constraints, the stream or consumer and the iterator, but not the shard) and answers DryRunOperationException, writing nothing. DryRun is read as Kinesis's deserializer reads it, a string such as "yes" included, through JsonBooleanCoercion.fromJson, which KMS now shares.

Part of #8220
2026-11-24 22:05:59 -04:00
mrfelek b85b0a8966 fix(eks): authenticate EKS Auto Mode nodes through their EC2 access entry (#9399)
Worker authentication accepts the node role's EC2 entry and names the node by
its session name, the instance ID. The entry is also made after an
authentication-mode change while compute is on, and never for a cluster being
deleted. CreateCluster makes it together with the cluster record, and
DeleteCluster removes it before the record, both under the same lock, so a
failed or concurrent create or delete leaves none behind. A client-token retry
makes the entry only for a request that changes Auto Mode or the
authentication mode, and a failed create keeps its own error when the entry
cleanup fails too.
2026-11-24 22:04:04 -04:00
Andre Kurait 8216c2b382 fix(redshift): preserve frontend state after an error Sync (#9401)
A query pipelined after Sync but before the previous ReadyForQuery could lose its prepared statement and portal during error recovery. The next frontend cycle now starts once Sync is registered or already queued, while its pending response stays the backend ownership barrier. A failed backend cycle is tracked apart from frontend discard mode, so a failed owned COPY transaction still rolls back at Sync, and the SQL needed for user-change audit events is kept.
2026-11-24 22:02:22 -04:00
Hector Ventura 0b232e7f06 test: run the Docker end-to-end classes nightly and on pull requests that change their service (#9310) 2026-11-24 21:04:04 -04:00
Jimmy Liu Jia b504a2e9c2 fix(rds): omit Aurora instance storage modifications (#9400)
DescribeValidDBInstanceModifications offered four instance storage types for an Aurora record with no cluster identifier, while ModifyDBInstance discards a requested storage type for any Aurora engine. The valid-modifications path now applies the same Aurora check and returns no storage options for it.

Closes #9294
2026-11-24 21:00:04 -04:00