Interface CfnManagedLoginBranding.AssetTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnManagedLoginBranding.AssetTypeProperty.Jsii$Proxy
- Enclosing class:
CfnManagedLoginBranding
@Stability(Stable)
public static interface CfnManagedLoginBranding.AssetTypeProperty
extends software.amazon.jsii.JsiiSerializable
An image file from a managed login branding style in a user pool.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
AssetTypeProperty assetTypeProperty = AssetTypeProperty.builder()
.category("category")
.colorMode("colorMode")
.extension("extension")
// the properties below are optional
.bytes("bytes")
.resourceId("resourceId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnManagedLoginBranding.AssetTypePropertystatic final classAn implementation forCfnManagedLoginBranding.AssetTypeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetBytes()The image file, in Base64-encoded binary.The category that the image corresponds to in your managed login configuration.The display-mode target of the asset: light, dark, or browser-adaptive.The file type of the image file.default StringThe ID of the asset.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCategory
The category that the image corresponds to in your managed login configuration.Managed login has asset categories for different types of logos, backgrounds, and icons.
- See Also:
-
getColorMode
The display-mode target of the asset: light, dark, or browser-adaptive.For example, Amazon Cognito displays a dark-mode image only when the browser or application is in dark mode, but displays a browser-adaptive file in all contexts.
- See Also:
-
getExtension
The file type of the image file.- See Also:
-
getBytes
The image file, in Base64-encoded binary.- See Also:
-
getResourceId
The ID of the asset.- See Also:
-
builder
-