StaticFileSourceProperty Struct
The source of the static file.
| 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 staticFileSourceProperty: quicksight.CfnAnalysis.StaticFileSourceProperty = {
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
static_file_source_property = 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.*;
StaticFileSourceProperty staticFileSourceProperty = StaticFileSourceProperty.builder()
.s3Options(StaticFileS3SourceOptionsProperty.builder()
.bucketName("bucketName")
.objectKey("objectKey")
.region("region")
.build())
.urlOptions(StaticFileUrlSourceOptionsProperty.builder()
.url("url")
.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 staticFileSourceProperty = 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"
staticFileSourceProperty := &StaticFileSourceProperty{
S3Options: &StaticFileS3SourceOptionsProperty{
BucketName: jsii.String("bucketName"),
ObjectKey: jsii.String("objectKey"),
Region: jsii.String("region"),
},
UrlOptions: &StaticFileUrlSourceOptionsProperty{
Url: jsii.String("url"),
},
}
Properties
s3OptionsoptionalIResolvable | CfnAnalysis.s3_optionsoptionaltyping.Union[IResolvable, StaticFileS3SourceOptionsProperty]s3OptionsoptionalIResolvableS3OptionsoptionalIResolvableS3Optionsoptionalinterface{} #The structure that contains the Amazon S3 location to download the static file from.
urlOptionsoptionalIResolvable | CfnAnalysis.url_optionsoptionaltyping.Union[IResolvable, StaticFileUrlSourceOptionsProperty]urlOptionsoptionalIResolvableUrlOptionsoptionalIResolvableUrlOptionsoptionalinterface{} #The structure that contains the URL to download the static file from.