ImageMetadataProperty Struct
Metadata information about an uploaded image file.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesweb as workspacesweb } from 'aws-cdk-lib';
const imageMetadataProperty: workspacesweb.CfnUserSettings.ImageMetadataProperty = {
fileExtension: 'fileExtension',
lastUploadTimestamp: 'lastUploadTimestamp',
mimeType: 'mimeType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_workspacesweb as workspacesweb
image_metadata_property = workspacesweb.CfnUserSettings.ImageMetadataProperty(
file_extension="fileExtension",
last_upload_timestamp="lastUploadTimestamp",
mime_type="mimeType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.workspacesweb.*;
ImageMetadataProperty imageMetadataProperty = ImageMetadataProperty.builder()
.fileExtension("fileExtension")
.lastUploadTimestamp("lastUploadTimestamp")
.mimeType("mimeType")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WorkSpacesWeb;
var imageMetadataProperty = new ImageMetadataProperty {
FileExtension = "fileExtension",
LastUploadTimestamp = "lastUploadTimestamp",
MimeType = "mimeType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
imageMetadataProperty := &ImageMetadataProperty{
FileExtension: jsii.String("fileExtension"),
LastUploadTimestamp: jsii.String("lastUploadTimestamp"),
MimeType: jsii.String("mimeType"),
}
Properties
fileExtensionstringfile_extensionstrfileExtensionStringFileExtensionstringFileExtension*stringrequired#The file extension of the image.
lastUploadTimestampstringlast_upload_timestampstrlastUploadTimestampStringLastUploadTimestampstringLastUploadTimestamp*stringrequired#The timestamp when the image was last uploaded.
The MIME type of the image.