ImageStaticFileProperty Struct
A static file that contains an image.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const imageStaticFileProperty: quicksight.CfnAnalysis.ImageStaticFileProperty = {
staticFileId: 'staticFileId',
// the properties below are optional
source: {
s3Options: {
bucketName: 'bucketName',
objectKey: 'objectKey',
region: 'region',
},
urlOptions: {
url: 'url',
},
},
};
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_quicksight as quicksight
image_static_file_property = quicksight.CfnAnalysis.ImageStaticFileProperty(
static_file_id="staticFileId",
# the properties below are optional
source=quicksight.CfnAnalysis.StaticFileSourceProperty(
s3_options=quicksight.CfnAnalysis.StaticFileS3SourceOptionsProperty(
bucket_name="bucketName",
object_key="objectKey",
region="region"
),
url_options=quicksight.CfnAnalysis.StaticFileUrlSourceOptionsProperty(
url="url"
)
)
)
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.quicksight.*;
ImageStaticFileProperty imageStaticFileProperty = ImageStaticFileProperty.builder()
.staticFileId("staticFileId")
// the properties below are optional
.source(StaticFileSourceProperty.builder()
.s3Options(StaticFileS3SourceOptionsProperty.builder()
.bucketName("bucketName")
.objectKey("objectKey")
.region("region")
.build())
.urlOptions(StaticFileUrlSourceOptionsProperty.builder()
.url("url")
.build())
.build())
.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.QuickSight;
var imageStaticFileProperty = new ImageStaticFileProperty {
StaticFileId = "staticFileId",
// the properties below are optional
Source = new StaticFileSourceProperty {
S3Options = new StaticFileS3SourceOptionsProperty {
BucketName = "bucketName",
ObjectKey = "objectKey",
Region = "region"
},
UrlOptions = new StaticFileUrlSourceOptionsProperty {
Url = "url"
}
}
};
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"
imageStaticFileProperty := &ImageStaticFileProperty{
StaticFileId: jsii.String("staticFileId"),
// the properties below are optional
Source: &StaticFileSourceProperty{
S3Options: &StaticFileS3SourceOptionsProperty{
BucketName: jsii.String("bucketName"),
ObjectKey: jsii.String("objectKey"),
Region: jsii.String("region"),
},
UrlOptions: &StaticFileUrlSourceOptionsProperty{
Url: jsii.String("url"),
},
},
}
Properties
sourceoptionalIResolvable | CfnAnalysis.sourceoptionaltyping.Union[IResolvable, StaticFileSourceProperty]sourceoptionalIResolvableSourceoptionalIResolvableSourceoptionalinterface{} #The source of the image static file.
staticFileIdstringstatic_file_idstrstaticFileIdStringStaticFileIdstringStaticFileId*string required #The ID of the static file that contains an image.