Skip to content

SpotInstanceStateFault

Source code in docs_src/capo_ec2/types/spot_instance_state_fault.py
class SpotInstanceStateFault(TypedDict, closed=True):
    code: NotRequired["capo_ec2.types.string.String"]
    """<p>The reason code for the Spot Instance state change.</p>"""
    message: NotRequired["capo_ec2.types.string.String"]
    """<p>The message for the Spot Instance state change.</p>"""

code instance-attribute

code: NotRequired[String]

The reason code for the Spot Instance state change.

message instance-attribute

message: NotRequired[String]

The message for the Spot Instance state change.