# StaticFileS3SourceOptionsProperty

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

- Source: Generated at build time
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `bucketName`: string (required) — The name of the Amazon S3 bucket.

- `objectKey`: string (required) — The identifier of the static file in the Amazon S3 bucket.

- `region`: string (required) — The Region of the Amazon S3 account that contains the bucket.
