DataSourceArgs

data class DataSourceArgs(val awsAccountId: Output<String>? = null, val credentials: Output<DataSourceCredentialsArgs>? = null, val dataSourceId: Output<String>? = null, val name: Output<String>? = null, val parameters: Output<DataSourceParametersArgs>? = null, val permissions: Output<List<DataSourcePermissionArgs>>? = null, val sslProperties: Output<DataSourceSslPropertiesArgs>? = null, val tags: Output<Map<String, String>>? = null, val type: Output<String>? = null, val vpcConnectionProperties: Output<DataSourceVpcConnectionPropertiesArgs>? = null) : ConvertibleToJava<DataSourceArgs>

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

Constructors

Link copied to clipboard
constructor(awsAccountId: Output<String>? = null, credentials: Output<DataSourceCredentialsArgs>? = null, dataSourceId: Output<String>? = null, name: Output<String>? = null, parameters: Output<DataSourceParametersArgs>? = null, permissions: Output<List<DataSourcePermissionArgs>>? = null, sslProperties: Output<DataSourceSslPropertiesArgs>? = null, tags: Output<Map<String, String>>? = null, type: Output<String>? = null, vpcConnectionProperties: Output<DataSourceVpcConnectionPropertiesArgs>? = null)

Properties

Link copied to clipboard
val awsAccountId: Output<String>? = null

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>? = null

An identifier for the data source.

Link copied to clipboard
val name: Output<String>? = null

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

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>>? = null

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 type: Output<String>? = null

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

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.

Functions

Link copied to clipboard
open override fun toJava(): DataSourceArgs