Skip to content
v2.278.0

S3ParametersProperty Struct ​

The parameters for S3.

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

  // the properties below are optional
  roleArn: 'roleArn',
};
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
// 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();
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"
};
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 ​

manifestFileLocationIResolvable | CfnDataSource.ManifestFileLocationPropertymanifest_file_locationtyping.Union[IResolvable, ManifestFileLocationProperty]manifestFileLocationIResolvableManifestFileLocationIResolvableManifestFileLocationinterface{} required #
Location of the Amazon S3 manifest file.

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

roleArnoptionalstringrole_arnoptionalstrroleArnoptionalStringRoleArnoptionalstringRoleArnoptional*string #
Use the `RoleArn` structure to override an account-wide role for a specific S3 data source.
notes

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.