Module aws_lambda_powertools.utilities.parser.models.cloudformation_custom_resource
Classes
class CloudFormationCustomResourceBaseModel (**data: Any)
-
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
Expand source code
class CloudFormationCustomResourceBaseModel(BaseModel): request_type: str = Field(..., alias="RequestType") service_token: str = Field(..., alias="ServiceToken") response_url: HttpUrl = Field(..., alias="ResponseURL") stack_id: str = Field(..., alias="StackId") request_id: str = Field(..., alias="RequestId") logical_resource_id: str = Field(..., alias="LogicalResourceId") resource_type: str = Field(..., alias="ResourceType") resource_properties: Union[Dict[str, Any], BaseModel, None] = Field(None, alias="ResourceProperties")
Ancestors
- pydantic.main.BaseModel
- pydantic.utils.Representation
Subclasses
- CloudFormationCustomResourceCreateModel
- CloudFormationCustomResourceDeleteModel
- CloudFormationCustomResourceUpdateModel
Class variables
var logical_resource_id : str
var request_id : str
var request_type : str
var resource_properties : Union[Dict[str, Any], pydantic.main.BaseModel, ForwardRef(None)]
var resource_type : str
var response_url : pydantic.networks.HttpUrl
var service_token : str
var stack_id : str
class CloudFormationCustomResourceCreateModel (**data: Any)
-
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
Expand source code
class CloudFormationCustomResourceCreateModel(CloudFormationCustomResourceBaseModel): request_type: Literal["Create"] = Field(..., alias="RequestType")
Ancestors
- CloudFormationCustomResourceBaseModel
- pydantic.main.BaseModel
- pydantic.utils.Representation
Class variables
var request_type : Literal['Create']
class CloudFormationCustomResourceDeleteModel (**data: Any)
-
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
Expand source code
class CloudFormationCustomResourceDeleteModel(CloudFormationCustomResourceBaseModel): request_type: Literal["Delete"] = Field(..., alias="RequestType") physical_resource_id: str = Field(..., alias="PhysicalResourceId")
Ancestors
- CloudFormationCustomResourceBaseModel
- pydantic.main.BaseModel
- pydantic.utils.Representation
Class variables
var physical_resource_id : str
var request_type : Literal['Delete']
class CloudFormationCustomResourceUpdateModel (**data: Any)
-
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
Expand source code
class CloudFormationCustomResourceUpdateModel(CloudFormationCustomResourceBaseModel): request_type: Literal["Update"] = Field(..., alias="RequestType") physical_resource_id: str = Field(..., alias="PhysicalResourceId") old_resource_properties: Union[Dict[str, Any], BaseModel, None] = Field(None, alias="OldResourceProperties")
Ancestors
- CloudFormationCustomResourceBaseModel
- pydantic.main.BaseModel
- pydantic.utils.Representation
Class variables
var old_resource_properties : Union[Dict[str, Any], pydantic.main.BaseModel, ForwardRef(None)]
var physical_resource_id : str
var request_type : Literal['Update']