# S3ParametersProperty

The parameters for S3.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 s3ParametersProperty: quicksight.CfnDataSource.S3ParametersProperty = {
  manifestFileLocation: {
    bucket: 'bucket',
    key: 'key',
  },

  // the properties below are optional
  roleArn: 'roleArn',
};
```

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

s3_parameters_property = quicksight.CfnDataSource.S3ParametersProperty(
    manifest_file_location=quicksight.CfnDataSource.ManifestFileLocationProperty(
        bucket="bucket",
        key="key"
    ),

    # the properties below are optional
    role_arn="roleArn"
)
```

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.*;

S3ParametersProperty s3ParametersProperty = S3ParametersProperty.builder()
        .manifestFileLocation(ManifestFileLocationProperty.builder()
                .bucket("bucket")
                .key("key")
                .build())

        // the properties below are optional
        .roleArn("roleArn")
        .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 s3ParametersProperty = new S3ParametersProperty {
    ManifestFileLocation = new ManifestFileLocationProperty {
        Bucket = "bucket",
        Key = "key"
    },

    // the properties below are optional
    RoleArn = "roleArn"
};
```

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"

s3ParametersProperty := &S3ParametersProperty{
	ManifestFileLocation: &ManifestFileLocationProperty{
		Bucket: jsii.String("bucket"),
		Key: jsii.String("key"),
	},

	// the properties below are optional
	RoleArn: jsii.String("roleArn"),
}
```

## Properties

- `manifestFileLocation`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSource.ManifestFileLocationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSource.ManifestFileLocationProperty.html) (required) — Location of the Amazon S3 manifest file.

  This is NULL if the manifest file was uploaded into Quick Sight.

- `roleArn`: string — Use the `RoleArn` structure to override an account-wide role for a specific S3 data source.

  For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then use `RoleArn` to bypass the account-wide role and allow S3 access for the single S3 data source that is specified in the structure, even if the account-wide role forbidding S3 access is still active.
