Skip to content
v2.278.0

StaticFileS3SourceOptionsProperty Struct ​

The structure that contains the Amazon S3 location to download the static file from.

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 staticFileS3SourceOptionsProperty: quicksight.CfnAnalysis.StaticFileS3SourceOptionsProperty = {
  bucketName: 'bucketName',
  objectKey: 'objectKey',
  region: 'region',
};
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_s3_source_options_property = quicksight.CfnAnalysis.StaticFileS3SourceOptionsProperty(
    bucket_name="bucketName",
    object_key="objectKey",
    region="region"
)
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.*;

StaticFileS3SourceOptionsProperty staticFileS3SourceOptionsProperty = StaticFileS3SourceOptionsProperty.builder()
        .bucketName("bucketName")
        .objectKey("objectKey")
        .region("region")
        .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 staticFileS3SourceOptionsProperty = new StaticFileS3SourceOptionsProperty {
    BucketName = "bucketName",
    ObjectKey = "objectKey",
    Region = "region"
};
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"

staticFileS3SourceOptionsProperty := &StaticFileS3SourceOptionsProperty{
	BucketName: jsii.String("bucketName"),
	ObjectKey: jsii.String("objectKey"),
	Region: jsii.String("region"),
}

Properties ​

bucketNamestringbucket_namestrbucketNameStringBucketNamestringBucketName*string required #
The name of the Amazon S3 bucket.
objectKeystringobject_keystrobjectKeyStringObjectKeystringObjectKey*string required #
The identifier of the static file in the Amazon S3 bucket.
regionstringregionstrregionStringRegionstringRegion*string required #
The Region of the Amazon S3 account that contains the bucket.