The configuration of a CustomContentVisual
.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"ContentType" : String
,
"ContentUrl" : String
,
"ImageScaling" : String
,
"Interactions" : VisualInteractionOptions
}
YAML
ContentType: String
ContentUrl: String
ImageScaling: String
Interactions:
VisualInteractionOptions
Properties
ContentType
-
The content type of the custom content visual. You can use this to have the visual render as an image.
Required: No
Type: String
Allowed values:
IMAGE | OTHER_EMBEDDED_CONTENT
Update requires: No interruption
ContentUrl
-
The input URL that links to the custom content that you want in the custom visual.
Required: No
Type: String
Minimum:
1
Maximum:
2048
Update requires: No interruption
ImageScaling
-
The sizing options for the size of the custom content visual. This structure is required when the
ContentType
of the visual is'IMAGE'
.Required: No
Type: String
Allowed values:
FIT_TO_HEIGHT | FIT_TO_WIDTH | DO_NOT_SCALE | SCALE_TO_VISUAL
Update requires: No interruption
Interactions
-
The general visual interactions setup for a visual.
Required: No
Type: VisualInteractionOptions
Update requires: No interruption