A template can now create an EMR Serverless application. It was not
served, so the stack reported CREATE_COMPLETE with nothing behind it.
The provisioner goes through the services the EMR Serverless API uses,
so a stack and a direct call see the same application, and it does what
AWS's own resource handler does:
- The properties are read as the handler's model validation reads them,
against the registry schema, now in the vendored property types; an
Architecture outside its enum and a read-only ApplicationId or Arn
are refused.
- Ref is the application id; Fn::GetAtt gives ApplicationId and Arn.
- A create sends every property to CreateApplication, the Key/Value
lists of InitialCapacity and LogTypeMap as the API's maps.
- An update sends UpdateApplication the settings the template changed
and drives the tags to the template's, removing any other. A dropped
setting stays as it is, but for InitialCapacity, which the handler
sends as an empty map, and so clears.
- Name and Type are create-only: a change replaces the application, and
the old one is deleted once the update commits.
- A later resource's failure puts back the settings and tags the update
changed; a failure of the update itself puts back what it had changed
by then, nothing when UpdateApplication refused it, and a restore that
fails keeps its snapshot for ContinueUpdateRollback.
- Neither an update nor a delete stops a STARTED application, so one
the API refuses fails the resource, as on AWS.
The vendored create-only properties and schema surface also take AWS's
new AWS::CertificateManager::Certificate properties, RootHierarchyType
and CertificateUsage, which their drift checks on this change asked
for; the ACM provisioner accepts and ignores both.