Commit Graph
2902 Commits
Author SHA1 Message Date
Hector Ventura 5fffd9f3a8 refactor(docker): read the Docker host override from floci.docker.host-override (#10025)
The Docker host override every container Floci starts relies on was
read from the Lambda section by core classes. floci.docker.host-override
(env FLOCI_DOCKER_HOST_OVERRIDE) is now the key, read through
EmulatorConfig.effectiveDockerHostOverride() by DockerHostResolver and
TlsProxyServer. It wins when set and not blank; otherwise the former
floci.services.lambda.docker-host-override still applies, giving every
reader the value it gave before, and its first use logs a deprecation
warning. The docs say which key wins and that the self-signed TLS
certificate does not name the override.
2026-12-02 23:24:29 -04:00
Allen Sanborn 2a2c51abe5 fix(application-autoscaling): accept scheduled actions on every dimension with AWS validation (floci-ws2dh) (#10034) 2026-12-02 23:21:20 -04:00
Jimmy Liu Jia cf07da1eeb fix(ec2): enforce security group rule quotas (#9929) 2026-12-02 23:12:59 -04:00
Jackson PriceandAndre Kurait 161872029e fix(cloudformation): keep included S3 snippets with their change set (#10033)
CreateChangeSet now stores the template with its AWS::Include snippets
merged beside the submitted one, and DescribeChangeSet and
ExecuteChangeSet use that copy, so overwriting or deleting the S3
object after creation no longer changes the preview or what deploys. A
new change set reads the current object, UsePreviousTemplate included,
and a snippet that can't be read at creation fails the change set with
the reason in StatusReason. Creating a change set retries at most three
times when the stack changes under it, then answers ServiceUnavailable.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-02 22:48:40 -04:00
Jimmy Liu Jia cf8d4bd68f feat(glue): search federated catalog tables (#10038) 2026-12-02 22:47:46 -04:00
Tomoki Odaka b922f1be4b feat(cognito): federate SAML 2.0 identity providers through /oauth2/authorize (#9910)
A SAML provider registered with CreateIdentityProvider now signs users
in through /oauth2/authorize, as OIDC and Google providers do. Floci
sends an unsigned AuthnRequest to the metadata's SingleSignOnService
and accepts the response at /saml2/idpresponse, on a custom domain and
on Floci's host, when its signature verifies with a metadata
certificate, it answers the request Floci sent, and its issuer,
audience, time window and bearer confirmation hold. The user is
reconciled as <ProviderName>_<NameID>, its attributes mapped by SAML
attribute name, and the client gets a Cognito authorization code.

The signature check moves to core/common/SamlSignatures, shared with
AssumeRoleWithSAML, and both now read an assertion's elements from
their parents' own children, so nothing placed inside a signature,
which its digest leaves out, is read.
2026-12-02 22:32:41 -04:00
Hector Ventura 1fcfedf08e fix(stepfunctions): check the tags Scheduler, ECS, EMR, CloudFormation and DynamoDB tasks create resources with (#10022)
A Step Functions task calling Scheduler, ECS, EMR, CloudFormation or
DynamoDB createTable was checked for its action and the roles it passes
but never for the tags it sends. Every arm now goes through
RequestChecks, so a runTask, createCluster, createStack family call or
createTable with tags needs the tag-on-create and tagging permissions
the generated tables give a direct call, and a request without tags is
checked exactly as before.

An ecs:runTask task now launches its tasks with the tags it is checked
for, building its request through the new EcsService.runTaskRequest
that the EventBridge and Scheduler targets share. RunTask with
propagateTags TASK_DEFINITION now gives a task the task definition's
tags beside the request's own, the request's value winning on a shared
key, instead of dropping the request's tags, and RunTask and StartTask
refuse a request whose merged tags would exceed 50 before any task
launches.
2026-12-02 22:05:47 -04:00
Jackson PriceandAndre Kurait 6ae5ab98e3 docs(ec2): show how to find interface VPC endpoint network interfaces (#10031)
The DescribeNetworkInterfaces entry now lists the network interfaces of
interface VPC endpoints, and the guide shows the AWS CLI call that
finds them by the requester-managed and interface-type filters.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-02 22:04:39 -04:00
TATSUNO “Taz” Yasuhiro b8b5f38776 feat(eventbridgev2): fill PutEvents event group and deduplication ids (#10027)
A PutEvents event carried EventGroupId and DeduplicationId in its
SystemMetadata only when the entry gave them. Both are now always set:
DeduplicationId is the given value or a random UUID, and EventGroupId is
the given value or that DeduplicationId. SystemMetadata follows AWS's
key order, aws:IngestionTime always has three fraction digits, and a
FIFO dead-letter queue takes the event's EventGroupId instead of a
random group of its own.
2026-12-02 22:01:04 -04:00
thejrose1984 3a37423474 fix(apigateway): send WebSocket AWS integrations with an sqs:path URI to SQS (#9860) 2026-12-02 21:59:55 -04:00
Priamo Germosen 324910b4dc feat(cloudwatch): estimate quantiles and spreads of histograms in PromQL (#10029)
histogram_quantile, histogram_fraction, histogram_stddev and
histogram_stdvar follow Prometheus v3.16. A native histogram's quantile
is found from the lowest bucket below 0.5 or for a NaN sum and from the
highest otherwise, interpolated exponentially (Go's Log2 and Exp2) or
linearly in the zero bucket, which reaches only to zero when one side
has no buckets; NaN observations give the NaN-result and skew infos.
The fraction interpolates each bound the same way, and the variance
takes each bucket at the geometric mean of its bounds, Kahan-summed.

Float series with an le label are classic histograms, grouped by their
other labels: BucketQuantile and BucketFraction sort, coalesce and raise
falling counts, with the forced-monotonicity info merged over samples
as Prometheus merges it. A malformed or NaN le (read as Go's ParseFloat
reads it) and a native histogram of a classic one's labels are left out
with Prometheus's warnings. quantile, quantile_over_time and
histogram_quantile warn of a quantile outside 0 to 1.

log2 now takes Go's own Log of the fraction rather than Java's Math.log,
which differed in the last bit for some inputs and so moved a quantile
interpolated through it. Shortest number formatting writes the one digit
Go writes for the smallest subnormals (5e-324, where Java's toString
gives 4.9E-324), in the API's numbers and in annotations alike.

Part of #7030.
2026-12-02 21:45:00 -04:00
Jimmy Liu Jia 99a1fef5cf fix(glue): reject unsupported catalog-scoped operations (#10020) 2026-12-02 21:40:04 -04:00
Hector Ventura f610e43bc6 fix(cloudformation): accept SES configuration set tags and options (#10021)
AWS::SES::ConfigurationSet accepted only Name, so a template with Tags
or any option property, including a CDK app with a Tags.of(...) aspect,
ended CREATE_FAILED. The provisioner now accepts Tags and every option
property, validates their shapes against the registry schema and passes
the values to SES. An in-place update writes only the options and tag
keys the stack owns, a tag change is checked against the final set
before anything is written, and a failed update rolls back only what it
changed. Boolean options are read through the shared
resolveOptionalBoolean.
2026-12-02 21:36:36 -04:00
rajp33 758f80673a fix(rds): let rds_replication members use the logical slot functions over SQL (#10007) 2026-12-02 21:23:55 -04:00
XuJian c633ae21cd feat(iot): search thing groups in the AWS_ThingGroups index (#10006) 2026-12-02 21:13:33 -04:00
XuJian 5470b03f4b feat(quicksight): add group, membership and namespace APIs (#10010)
Adds CreateGroup, DescribeGroup, ListGroups, DeleteGroup,
CreateGroupMembership, ListGroupMemberships, DeleteGroupMembership and
ListNamespaces. Groups and memberships are namespace-scoped records in
the account-aware store, a membership records the member's user ARN,
and DeleteUser and DeleteGroup remove the memberships they leave behind
by ARN in one atomic write. ListNamespaces reports default plus every
namespace holding a user or a group, since namespaces are implicit
here. The list operations share the module's pagination.

Closes #9836
2026-12-02 21:06:17 -04:00
Priamo Germosen 83209f39f6 feat(cloudwatch): take rates and resets of native histograms in PromQL (#10018)
rate, increase and delta of a histogram's range follow Prometheus
v3.16's histogramRate: the last histogram at the range's coarsest
schema less the first, each histogram before a counter reset added
back for a counter (the first taken as empty when the second follows a
reset), then extrapolated with the float path's factor, the count
standing in for the value. A counter reset is detected as
FloatHistogram.DetectReset detects one: a fall in the count, the zero
bucket or any bucket at the newer schema above the zero threshold, a
finer schema or a smaller zero threshold.

irate and idelta take the last two samples of either kind, resets and
changes count floats and histograms in time order, and a range of both
kinds has no rate with Prometheus's mixed-samples warning. Histograms
keep no counter reset hint, as the guide says rate treats every
histogram alike, so delta and idelta of histograms give Prometheus's
"this native histogram metric is not a gauge" warning.

Part of #7030.
2026-12-02 18:22:46 -04:00
Priamo Germosen 8705f7b1fe feat(cloudwatch): add, scale and aggregate native histograms in PromQL (#10015)
Histogram samples now take part in arithmetic and aggregation as
Prometheus v3.16 lets them: a histogram is added to or taken from
another, multiplied by a float or divided by one, negated, and compared
with == and !=; two histograms are first brought to the coarser schema,
merging the finer one's buckets, and to the larger zero threshold, which
takes the buckets it then covers. Any other pairing keeps nothing, with
Prometheus's "incompatible sample types encountered for binary operator"
info between two vectors.

sum and avg add histograms with Kahan compensation (PromQlHistogramSum,
a port of KahanAdd on Floci's dense buckets), avg falling back to a
running mean when the sum overflows, and so do sum_over_time and
avg_over_time; a group or a range holding both floats and histograms has
no result and gets Prometheus's "encountered a mix of histograms and
floats" warning, which responses now carry under warnings. A computed
histogram is counted against the query's memory once, as a label set
is, and a data point whose buckets reach past the bucket of infinite
observations carries no sample.

Part of #7030.
2026-12-02 17:10:20 -04:00
Priamo Germosen 7efb8cef00 fix(iam): check Amazon MSK by its generated routes, resources and passed roles (#9973)
Under enforcement a REST route no vendored model names runs unchecked, and Amazon MSK was among them: any caller could
create, describe, update or delete a cluster or a configuration. MSK's model routes are vendored
(regen_rest_routes.MODELS), so each request is checked as its operation's action, and kafka joins the generated tables
of request resources, passed roles and tags on create: a cluster, configuration, replicator, VPC connection or topic by
the ARN its path or body gives, CreateReplicator's and CreateChannel's service execution roles passed to kafka, and the
tags a create carries.

A JSON request carries a body member by its botocore locationName where one renames it, as MSK's do (Name is name on the
wire, ConfigurationInfo.Arn is configurationInfo.arn), and MSK's handler reads that name, so regen_iam_request_resources
names each body member path it reads as the request carries it (wire_named): a create is checked on the configuration or
cluster of the name MSK makes, and a body naming another under the botocore spelling too is checked on the one MSK
reads. GuardDuty's CreateFilter name and UpdatePublishingDestination destinationProperties, and API Gateway v2's portal
members, are read as their requests carry them too.

CreateClusterV2 names the configuration its brokers start from two structures deep (provisioned.configurationInfo.arn),
of a type the Service Reference lists for it, and the table read ARN members at most one structure deep, so
regen_iam_request_resources._nested_arns now reads too the members ending in Arn or Arns, holding a string, of a
top-level structure's structures, from botocore alone. 107 operations of other namespaces gain such a row; each ARN is
checked as one of the operation's types where it fits one and dropped where it does not, as one level deep already is,
so most (a KMS key, a role or a bucket naming no type of the action) change nothing. Those that do: Glue's CreateCatalog
and UpdateCatalog on their target catalog, EC2's RunInstances on the resource group a capacity reservation target names,
and Amazon Managed Service for Prometheus' CreateScraper on its workspace and EKS cluster and UpdateScraper on its
workspace. A create checks the tags it carries on what it makes alone, which the table marks by the type its name gives
past its verb; CreateClusterV2's subject, ClusterV2, names no type, so with_made now reads a subject named with a
version that names none without it, and CreateClusterV2 makes a cluster as CreateCluster does: a tagged create needs
kafka:TagResource on the new cluster, not on the configuration it names. A resource the request names by its ARN, or the
service's default a row stands for, exists already, so with_made never counts it as one the create makes, as no such row
of the table was: Glue's tagged CreateCatalog needs glue:TagResource on the catalog it makes, not on the Redshift
catalog it targets. That marks the created row of 95 creates across 38 namespaces; where the created row does not
resolve, the tag check still falls back to every resource the request names, so only a create naming an existing
resource of one of its types by ARN checks its tags on less.

MskStoredResourceArns answers the tags MSK holds on a cluster, read in place in the ARN's account, which an
aws:ResourceTag condition reads where the Service Reference gives the key (a cluster, not a configuration); a tag MSK
keeps with no value is read as an empty one, so it never fails the check.

AWS tags no MSK configuration: CreateConfiguration takes no tags, AWS::MSK::Configuration has none, the Service
Authorization Reference gives a configuration no aws:ResourceTag key and TagResource only assessment, cluster and
vpc-connection, and AWS's evaluation suite notes that TagResource rejects a configuration ARN ("Invalid input resource
arn"). Floci tagged them since #2366, so TagResource, UntagResource and ListTagsForResource now refuse a configuration's
ARN with that BadRequestException, as AWS does, and floci.services.msk.configuration-tags
(FLOCI_SERVICES_MSK_CONFIGURATION_TAGS, off by default) keeps the earlier tagging for state or scripts relying on it;
IAM checks those calls on '*', as no type of the action fits a configuration.

A namespace the table reads is served on its tag routes only at the ARN its path encodes, as Backup's and the others'
are, so MskControllerIntegrationTest's tag calls send the ARN encoded, as the SDKs do, rather than with its '/' raw.

The tables also take the RDS cluster group types (cluster-group, cluster-group-snapshot, cluster-group-auto-backup) AWS
added to the Service Reference on 2026-12-02, on its tagging and restore actions, which the online verify gate reads.

IamRestRouteEnforcementIntegrationTest checks that with no grant a configuration's read is refused, that a grant on one
configuration reads it and refuses another, that an aws:ResourceTag condition reads a cluster's tags, that a cluster
holding a tag with no value is refused rather than answered with a 500, and that CreateConfiguration is checked on the
configuration of the name MSK reads, a body naming another under the botocore spelling too included; that a deny on the
configuration CreateClusterV2 names refuses the create, and that a tagged one needs kafka:TagResource on its new cluster
alone; MskServiceTest and MskControllerIntegrationTest check that a configuration's tag calls are refused unless
configuration-tags is on; IamRequestResourceEnforcementIntegrationTest checks that a deny on the catalog Glue's
CreateCatalog targets refuses it and a deny on tagging that catalog does not refuse a tagged one;
test_regen_iam_request_resources checks the wire names a JSON body path is read by the path read two structures deep,
the type a create named with a version makes, and that no resource named by ARN is made.
2026-12-02 16:20:07 -04:00
Priamo Germosen 6d2160108b feat(cloudwatch): query OTLP exponential histograms as native histograms (#10014)
Exponential histogram data points become native histogram samples, as
Prometheus's OTLP translator converts them: a scale above 8 is lowered to
8 by merging buckets, a scale below -4 carries no sample, OTLP bucket i
is bucket i + 1, and the zero threshold is Prometheus's 1e-128. Their
series carry __type__="histogram" and __temporality__, the labels the
user guide's "Querying histogram metrics" reads; __type__ is dropped
wherever the metric name is, as Prometheus drops it.

A series keeps its float samples apart from its histogram samples, so
the functions that do not mention native histograms ignore them, as
Prometheus's documentation says. histogram_count, histogram_sum and
histogram_avg read them; count, group, count_values (with Prometheus's
text form of a histogram), count_over_time, present_over_time,
last_over_time, timestamp and the label functions take them; min, max,
stddev, stdvar, quantile, topk and bottomk skip them with Prometheus's
"ignored histogram in <op> aggregation" info, placed as Prometheus places
it, returned under infos. The API writes histogram samples under
histogram and histograms as Prometheus does, with bucket bounds from
Prometheus's own table, and now writes numbers below 1e-6 and from 1e21
with an exponent, as Prometheus's MarshalFloat does.

Part of #7030.
2026-12-02 16:11:15 -04:00
Priamo Germosen aba7912fb2 feat(cloudwatch): serve PromQL range queries (#10002)
QueryMetrics over a range, GET and POST /api/v1/query_range: the query
evaluated at each step from start to end, both included, answered as a
matrix in order of the series' labels, a scalar as a series with no
labels. Parameters are checked in the order and with the messages of
Prometheus 3.0's API (start, end, end before start, step as seconds or a
duration, zero or negative step, 11,000 points per series), then against
the guide's 30-day range. A range query and a subquery share one step
evaluator, and a range query's result keeps its memory charge as an
instant query's does.

The guide's per-account concurrency limits now apply to every PromQL
endpoint: 30 query and 30 discovery requests of an account at once, one
past that refused with a 429.

A query's parse and type errors now carry Prometheus's `invalid parameter
"query": ` prefix on both query endpoints. Folds in two leftovers of the
Jackson 3 move: PromQlSeries uses stringNode, and OtlpMetricsDecoder no
longer catches an IOException nothing throws.

Part of #7030.
2026-12-02 14:57:28 -04:00
Jimmy Liu Jia df3fe5ce38 feat(logs): support stats, ispresent and like in Insights queries (#9925) 2026-12-02 14:48:14 -04:00
Jackson PriceandAndre Kurait fbd845c33c fix(codedeploy): return the compute platform for deployment groups (#9993)
GetDeploymentGroup and BatchGetDeploymentGroups returned each group
without its computePlatform, so SDK callers read null. Both reads now
fill it from the group's application when the group has none stored,
which covers new groups and ones saved before alike, and a stored value
still wins.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-02 14:04:05 -04:00
Allen Sanborn cf5dd0e3cf fix(apigateway): reject unknown UpdateMethod patch paths and CUSTOM auth without an authorizer (#9999) 2026-12-02 14:03:59 -04:00
XuJian 35b760918c fix(s3): ListBuckets filters the buckets by prefix and bucket-region (#9887)
ListBuckets read prefix and bucket-region only to decide whether to
render each bucket's BucketRegion, so the list was never narrowed. Both
parameters now filter the listed buckets before the page is cut, so a
continuation token resumes the filtered list, and a sent prefix, empty
included, comes back as the response's Prefix. A bucket-region outside
the Regions AWS publishes, or other than the Region the request reached
(for a presigned request, the one its credential names), is refused
with InvalidArgument as AWS answers it.

Closes #9858
2026-12-02 11:57:42 -04:00
Priamo Germosen 253e988b63 feat(cloudwatch): serve PromQL instant queries (#9990)
Part 2 of #7030. QueryMetrics (/api/v1/query) evaluates a PromQL
expression at one time over the stored OTLP metrics: a Prometheus 3.0
parser and a float engine with selectors, range selectors, subqueries,
the offset and @ modifiers, operators with vector matching, aggregations
and every non-experimental function but those of native histograms.

A result holds at most 500 series, truncated with the user guide's
warning, and every selector must name a metric. The guide's scan limits
and execution timeout bound the read, now shared with discovery, and a
query holds at most Prometheus's default 50,000,000 samples in memory.
2026-12-02 11:54:35 -04:00
Kenshin Okinaka 2352e27016 fix(athena): answer Trino's from_iso8601_timestamp on DuckDB (#9981) 2026-12-02 11:38:08 -04:00
Hector Ventura aca8c5129f fix(ses): cap the part count and nesting of the MIME messages Floci parses (#9996)
SES raw sends, the SMTP relay and EKS bootstrap user data parse
client-supplied MIME with mime4j, and the 0.8.12 the Quarkus BOM manages
caps neither the part count nor the nesting depth, so a message of a
huge number of tiny parts made the emulator build an object graph for
every part. mime4j is now managed at 0.8.15, and MimeMessages, the one
place Floci parses client-supplied MIME, pins its limits: SES's quota of
500 MIME parts, and mime4j's defaults of 64 levels of nesting, 16,384
header fields and 1 MB of header bytes.

Over a limit, a raw send is refused with InvalidParameterValue
(BadRequestException on v2) "Raw message could not be parsed.", a
simple send whose assembled attachments exceed it is refused rather
than sent unscreened, the relay skips the message, and EKS reads the
user data as non-multipart.
2026-12-02 10:56:24 -04:00
Vũ Thế Huy 850c12d2d1 feat(glue): wire Spark ETL jobs to Floci Redshift connections and S3 staging (#9638) 2026-12-02 09:04:31 -04:00
Ignas 2bb2a85e28 feat(route53): resolve public aliases to regional API Gateway custom domains (#9979)
A public Route 53 alias resolves only when a DNS record source claims
its target, and API Gateway had none, so an alias to a regional custom
domain's regionalDomainName returned REFUSED. ApiGatewayDnsRecordSource
now answers such an alias with the receiving listener's address, as
ElbV2DnsRecordSource does for an Application Load Balancer. The target
must name exactly one stored domain, in any account or Region, and the
alias's hosted zone ID must be that domain's regionalHostedZoneId; a
mismatch or an ambiguous name is REFUSED, and AAAA gets NOERROR with no
addresses.

Closes #9978
2026-12-02 08:56:42 -04:00
XuJian 9673300913 feat(quicksight): list and delete registered users (#9987) 2026-12-02 08:53:51 -04:00
Rashen Anupama 3fe3faa37e feat(iot): serve thing connectivity from MQTT session history (#9974)
GetThingConnectivityData now answers for a registered thing from the
MQTT broker's account- and Region-scoped session history: whether it is
connected, the last event's timestamp in epoch seconds and the
disconnect reason, with no session details for a thing that has never
connected. With connectivity indexing off it answers
InvalidRequestException with AWS's message, and includeSocketInformation
is accepted without the socket fields Floci doesn't track.

Closes #9933
2026-12-02 08:52:13 -04:00
Jackson PriceandAndre Kurait f7ac903d91 docs(elbv2): clarify target group health check intervals (#9983)
The ELB guide now gives the 5 to 300 second range CreateTargetGroup and
ModifyTargetGroup accept for HealthCheckIntervalSeconds, and says a
ModifyTargetGroup that omits it keeps the target group's current
interval.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-02 08:45:09 -04:00
Priamo Germosen e0254217be feat(cloudwatch): serve PromQL series and label discovery (#9984)
Part 1 of #7030. GetSeries (/api/v1/series) and GetLabels (/api/v1/labels,
/api/v1/label/<name>/values) answer over the metrics the OTLP endpoint
ingests, with the labels, selector syntax, limits and Prometheus envelope
the CloudWatch user guide's PromQL pages give. Regular expressions are
RE2's, as Prometheus's are.

The guide's "IAM permissions for PromQL" table is vendored by a new fetcher
and read by the authorized-actions generator, so the operations are checked
as cloudwatch:ListMetrics, and QueryMetrics carries cloudwatch:ListMetrics
as a companion every request needs, which the enforcement filter checks.
@IamOperation can name a method's operation.

The OTLP 40 KB metadata limit counts the resource and scope schema URLs,
which PromQL reads as labels of the series.
2026-12-02 08:40:21 -04:00
Andre Kurait a144aa4175 fix(cloudformation): preserve legacy S3 noncurrent expiration (#9967)
CloudFormation dropped an S3 lifecycle rule's deprecated
NoncurrentVersionExpirationInDays, so the stack succeeded but S3 held no
noncurrent expiration. The resolved days are now sent as NoncurrentDays
when the structured NoncurrentVersionExpiration property is absent.
Parameter updates and moves between the legacy and structured forms keep
the bucket and replace its retention settings.
2026-12-02 08:34:22 -04:00
Allen Sanborn ae8eb09f4b feat(ec2): add Ubuntu 26.04 amd64 and arm64 AMIs to the image catalog (#9969) 2026-12-02 07:08:38 -04:00
mrfelek 9583227886 feat(eks): keep user pods off a cluster's control plane where real nodes run them (#9966)
EKS runs no pod on a cluster's control plane, but Floci's k3s node is
both the control plane and the stand-in for the nodes Floci doesn't run,
so an Auto Mode cluster whose image catalog gives its nodes a real
kubelet still ran its workloads on the control plane. The node now
carries node-role.kubernetes.io/control-plane:NoSchedule, which
cluster-critical pods tolerate, where real nodes run user pods: an Auto
Mode cluster whose user-pod NodePools launch only architectures with a
self-registering image. A cluster with an active managed node group, or
with neither node groups nor Auto Mode, runs user pods on the node as
before, unless control-plane-runs-pods-without-nodes is false, which
leaves them Pending as on EKS. The taint is decided and written under
one lock per cluster, and Auto Mode's pass moves it with the NodePools.
2026-12-02 06:52:30 -04:00
Priamo Germosen 03e1a53d2e fix(iam): read the passed roles and creation tags of REST services Floci already routes (#9962)
regen_iam_passed_roles.py left Access Analyzer, Bedrock, CloudFront, FIS, GuardDuty and Macie out as "REST routes no
rule maps yet", and regen_iam_tag_on_create.py Inspector2 the same, but the request-resources table has read their
vendored REST routes since Floci began routing their requests by operation, so the reason no longer held: a request
passing a role to one of them needed no iam:PassRole, and an Inspector2 create's tags needed no inspector2:TagResource.

They move into each generator's NAMESPACES, and the generic rules read them with no correction: 23 role-passing
operations (Bedrock's model customization, evaluation, import and invocation jobs, agents, flows and knowledge bases;
FIS's experiment templates; GuardDuty's malware protection plans and scans; CloudFront's realtime log configs, from the
RoleARN of each endpoint in the XML body; Access Analyzer's policy generation and Macie's reveal configuration) and five
Inspector2 creates. Each operation is read whether or not Floci serves it, so one Floci adds is checked from the start.
No entry moves.

Floci's CloudFront parser took the first EndPoints anywhere in a realtime log config's body, and every child of it as an
endpoint, while the role is read from the request's own EndPoints, at the <member> botocore serializes each as, so an
<EndPoint>, or an EndPoints nested in another element ahead of the request's own, passed a role unchecked; the parser
now reads the <member> elements of the request's own EndPoints alone, as AWS's deserializer reads no other. IAM reads
the role of every KinesisStreamConfig's every RoleARN and none from a body where one holds elements, so an endpoint
holding more than one KinesisStreamConfig, or a config more than one RoleARN or StreamARN, or an ARN holding elements,
is refused with InvalidArgument rather than saved from one the check did not read. The request-resources table, which
leaves a passed role's member out of the resources a request names, is regenerated with the new passed roles: Bedrock's
evaluation, customization and invocation jobs, agents, flows and knowledge bases and FIS's experiment templates no
longer take their role's ARN as one of their resources.

OpenSearch stays out: AssociatePackage's role is AssociationConfiguration.KeyStoreAccessOption.KeyAccessRoleArn of the
opensearch client's request, while the Service Reference lists only the es client for it, so the generic rule finds no
role member; its reason now says so.

The Service Reference now also lists operations pinned botocore 1.44.14 does not model yet (SageMaker's model monitor
configs, IAM's workload identity creates); both tables are synced with them unread, as the generators record such an
operation.

IamPassRoleEnforcementIntegrationTest checks that creating and updating an FIS experiment template, a GuardDuty malware
protection plan and a CloudFront realtime log config each needs iam:PassRole on its role for the service it is passed
to, and that a realtime log endpoint under another element than <member>, or in an EndPoints nested ahead of the
request's own, saves no role, that a RoleARN holding an element, or doubled ahead of one, is refused, and that a body in
another charset than the UTF-8 both the check and the handler read saves no role.
2026-12-02 02:24:34 -04:00
Allen Sanborn 994bc2eff2 feat(config): add configuration aggregator operations (#9963)
AWS Config had no configuration aggregator operations, so Terraform's
aws_config_configuration_aggregator failed on create.
PutConfigurationAggregator, DescribeConfigurationAggregators and
DeleteConfigurationAggregator are now served, with aggregators stored
per account and Region. A second Put with the same name updates in
place, keeping the ARN and CreationTime. The source and region rules
refuse with AWS's messages, Describe pages 100 at a time, and an
unknown name is NoSuchConfigurationAggregatorException. Tags given on
the first Put work with the tagging operations, and IAM checks an
aggregator against its stored ARN and tags.

Closes #7019
2026-12-01 23:49:53 -04:00
Priamo Germosen 2e1f9d2ffc feat(iam): build access denied messages from the decision record (#9964)
The last step of #7887. A request a policy refused was answered with
"User is not authorized to perform: <action>" for every service but S3,
and the services that did name the policy type (S3, Athena's statements,
Lambda's network connectors) asked a second path, firstRefusal, which
re-ran the evaluation one policy type at a time.

The evaluator's DecisionRecord now carries the refusal an access denied
message names, worked out in the same decide() pass: the first policy
type that refuses, by its explicit deny or the allow it lacks, in the
order AWS was recorded naming them for lambda:PassNetworkConnector
(#6699): organization levels, identity policies, permissions boundary,
session policy. A resource policy's explicit deny comes first and its
missing allow across accounts last, as S3 names them (#9281). The SCP walk
keeps the first level that refuses.

AccessDeniedMessages.reason builds the phrase from that refusal, naming
the managed policy that holds the denying statement, or the boundary, by
its ARN. firstRefusal is gone. The enforcement filter explains each
decision instead of only evaluating it, and every policy refusal now
answers in the IAM User Guide's format, "User: <caller> is not
authorized to perform: <action> on resource: <resource> because no
identity-based policy allows the <action> action", in each protocol's
envelope. Refusals no policy made keep the old sentence.

Closes #7887
2026-12-01 23:49:10 -04:00
Andre Kurait 6c74189064 feat(elbv2): add an optional local health probe interval ceiling (#9961)
FLOCI_SERVICES_ELBV2_MAX_HEALTH_CHECK_INTERVAL_MILLIS caps the interval
Floci schedules target health probes at, for faster local health
transitions. The default 0 keeps each target group's requested interval;
a positive value lowers only the scheduled interval, leaving the API
settings, probe timeouts and healthy and unhealthy thresholds as the
target group has them. A negative value is refused at startup when
ELBv2 is enabled, before any runtime is restored.
2026-12-01 23:46:36 -04:00
Jackson PriceandAndre Kurait 98158aacff feat(cloudformation): provision CodeDeploy deployment configurations (#9940)
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-01 23:45:19 -04:00
Hector Ventura 7a50d75d10 feat(sns): retry HTTP and HTTPS deliveries by the subscription delivery policy (#9960)
An http or https notification was posted once and dropped on any
failure. It is now retried, as SNS does, when the endpoint answers 5xx
or 429 or cannot be reached, following the effective delivery policy:
the subscription's healthyRetryPolicy, the topic's
defaultHealthyRetryPolicy when overrides are disabled or the
subscription sets none, and otherwise the default of 3 retries 20
seconds apart. The no-delay, pre-backoff, backoff and post-backoff
phases, the delay targets and the backoff function are honoured, and
retries are scheduled rather than slept on a thread.

Any other answer is a permanent failure. A notification that fails
permanently or runs out of retries goes to the subscription's
RedrivePolicy dead-letter queue when one is set. Pending retries are
bounded per message by the policy, as on AWS, and a reset, shutdown,
Unsubscribe or DeleteTopic cancels them.
2026-12-01 23:39:57 -04:00
Hector Ventura 1067c9a823 chore(docker): pin the k3s, Redpanda and SQL Server image defaults (#9959) 2026-12-01 23:18:27 -04:00
TATSUNO “Taz” Yasuhiro 05e47455a1 feat(eventbridgev2): retry a failed Lambda invocation and dead-letter it (#9955)
A subscriber with a Lambda target now applies its RetryPolicy and
OnFailureConfiguration. A failed invocation, a function error or a
function that does not exist, is retried after about 0.5 s and then four
times longer each time, until MaxRetryAttempts is used up or the next
retry would start after MaxEventAgeInSeconds from the event's ingestion;
a FIFO subscriber's later batches wait meanwhile. The batch then goes to
the OnFailureConfiguration queue as one record. Pending retries are kept
in memory, and a reset or deleting the subscriber drops them.

CreateSubscriber and UpdateSubscriber refuse an OnFailureConfiguration
queue of another Region or account, or an ARN outside the model's queue
pattern. A FIFO dead-letter queue gets the first event's group id and
event id as its message group and deduplication ids.
2026-12-01 23:17:36 -04:00
Dmitri Samoilov ab6a3b3dd7 fix(eventbridge): evaluate anything-but prefix, suffix, equals-ignore-case and wildcard objects (#9906) 2026-12-01 23:02:58 -04:00
mrfelek 5bc31a1ef4 feat(eks): honour pods' zone topology spread constraints in EKS Auto Mode's room and launches (#9894)
EKS Auto Mode ignored pods' zone topology spread constraints: withoutRoom
counted a node in any zone as room for a pod the scheduler then refused
for its skew, and a new node went to the first zone that fit, so pods
that must spread kept getting nodes in one zone.

Auto Mode now reads each DoNotSchedule zone constraint and checks the
skew as the scheduler does, counting only pods on nodes the pod's node
selector and required affinity accept, over the zones the pool can
launch in. Room counts only in a zone the spread allows, and a spreading
pod's node goes to the allowed zone with the fewest matching pods, a
group sharing one node of the type that holds it. Pods without a spread
are placed as before.

Part of #8914
2026-12-01 22:42:27 -04:00
Daniël van Ziel 6fa713efd5 fix(bedrock): seed the inference profiles of Claude Sonnet 4.6, including global (#9956) 2026-12-01 22:40:27 -04:00
Ignas 9e5ab0c3ca fix(rds): give the PostgreSQL master user rds_superuser with ADMIN OPTION (#9953)
The master user joined rds_superuser without ADMIN OPTION. From
PostgreSQL 16, CREATEROLE no longer lets a role add members to a role
it holds no ADMIN OPTION on, so the master could not GRANT rds_superuser
to another role, which RDS documents a member of rds_superuser can do.
The master now joins rds_superuser WITH ADMIN OPTION, on initialization
and again after a snapshot restore.

Closes #9952
2026-12-01 22:35:07 -04:00
Jonathan Morley 3f351fa0ca fix(cloudformation): create an RDS DB cluster in the subnet group its template names (#9944)
AWS::RDS::DBCluster read DBSubnetGroupName only to decide whether an
update replaces the cluster, and created the cluster with no subnet
group, so it and its members always landed in the default group and the
default VPC. With FLOCI_SERVICES_RDS_ENDPOINTS_IN_VPC=true their
endpoints were then served where clients in the declared VPC could not
reach them.

The cluster is now created in the group the template names, a Ref to an
AWS::RDS::DBSubnetGroup or a group's name, as CreateDBCluster places it.
A group that does not exist fails the resource with CreateDBCluster's
DBSubnetGroupNotFoundFault message, and a change of group replaces the
cluster into the new one, as the property is create-only.

Closes #9938
2026-12-01 22:32:11 -04:00