Skip to content

CloudFormationClient.signal_resource

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Sends a signal to the specified resource with a success or failure status. You can use the SignalResource operation in conjunction with a creation policy or update policy. CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource operation is useful in cases where you want to send...

Install and imports

python -m pip install "rboto[cloudformation]==0.4.0"
from rboto import CloudFormationClient
from rboto_cloudformation.types import (
    ResourceSignalStatus,
)

Signature

async def signal_resource(
    *,
    stack_name: str,
    logical_resource_id: str,
    unique_id: str,
    status: ResourceSignalStatus,
) -> None: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
stack_name Yes The stack name or unique stack ID that includes the resource that you want to signal.
logical_resource_id Yes The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in the template.
unique_id Yes A unique ID of the signal. When you signal Amazon EC2 instances or Auto Scaling groups, specify the instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as signaling a wait condition), each signal requires a different unique ID.
status Yes The status of the signal, which is either success or failure. A failure signal causes CloudFormation to immediately fail the stack creation or update.

Output

None.

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

ResourceSignalStatus

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

No modeled service errors for this operation.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model