Optionalopts: ComponentResourceOptionsEvery alarm this component created, in declaration order.
Exists so a dashboard can render one widget per alarm without restating a
single threshold — declareServiceDashboard annotates a widget with the
alarm's ARN and CloudWatch reads the metric and the threshold line off the
alarm itself. Adding a fourth alarm here therefore adds a widget to every
service's dashboard with no second edit site.
Length varies: slow-response is opt-in, so a service that sets no
response budget contributes two entries rather than three.
OptionalaliasOptionaldeploymentThis app's dedicated execution role. Hang per-workload grants off it —
AuroraWorkloadUser, ValkeyWorkloadUser, bucket policies — so one
lambda's access can never be assumed by another.
OptionalprovisionedReadonlyurnThe stable logical URN used to distinctly address a resource, both before and after deployments.
ProtectedgetRetrieves the data produces by initialize. The data is
immediately available in a derived class's constructor after the
super(...) call to ComponentResource.
Returns the provider for the given module member, if one exists.
ProtectedinitializeCan be overridden by a subclass to asynchronously initialize data for this component automatically when constructed. The data will be available immediately for subclass constructors to use. To access the data use getData.
Optionalopts: ComponentResourceOptionsOptionalname: stringOptionaltype: stringProtectedregisterRegisters synthetic outputs that a component has initialized, usually by allocating other child sub-resources and propagating their resulting property values.
Component resources can call this at the end of their constructor to indicate that they are done creating child resources. This is not strictly necessary as this will automatically be called after the initialize method completes.
Optionaloutputs: Inputs | Promise<Inputs> | Output<Inputs>StaticisReturns true if the given object is a CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
Provisions a Lambda function and its related resources