Bedrock Runtime > Structures > GuardrailImageBlock GuardrailImageBlock¶ Structure Class¶ GuardrailImageBlock dataclass ¶ Contain an image which user wants guarded. This block is accepted by the guardrails independent API. Attributes¶ format instance-attribute ¶ format: str The format details for the file type of the image blocked by the guardrail. source class-attribute instance-attribute ¶ source: GuardrailImageSource = field(repr=False) The image source (image bytes) details of the image blocked by the guardrail.