DataSource

class DataSource : KotlinCustomResource

Resource for managing QuickSight Data Source

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.quicksight.DataSource;
import com.pulumi.aws.quicksight.DataSourceArgs;
import com.pulumi.aws.quicksight.inputs.DataSourceParametersArgs;
import com.pulumi.aws.quicksight.inputs.DataSourceParametersS3Args;
import com.pulumi.aws.quicksight.inputs.DataSourceParametersS3ManifestFileLocationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new DataSource("default", DataSourceArgs.builder()
.dataSourceId("example-id")
.parameters(DataSourceParametersArgs.builder()
.s3(DataSourceParametersS3Args.builder()
.manifestFileLocation(DataSourceParametersS3ManifestFileLocationArgs.builder()
.bucket("my-bucket")
.key("path/to/manifest.json")
.build())
.build())
.build())
.type("S3")
.build());
}
}

Import

A QuickSight data source can be imported using the AWS account ID, and data source ID separated by a slash (/) e.g.,

$ pulumi import aws:quicksight/dataSource:DataSource example 123456789123/my-data-source-id

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) of the data source

Link copied to clipboard
val awsAccountId: Output<String>

The ID for the AWS account that the data source is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

Link copied to clipboard

The credentials Amazon QuickSight uses to connect to your underlying source. Currently, only credentials based on user name and password are supported. See Credentials below for more details.

Link copied to clipboard
val dataSourceId: Output<String>

An identifier for the data source.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

A name for the data source, maximum of 128 characters.

Link copied to clipboard

The parameters used to connect to this data source (exactly one).

Link copied to clipboard

A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val type: Output<String>

The type of the data source. See the AWS Documentation for the complete list of valid values. The following arguments are optional:

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source. See VPC Connection Properties below for more details.