Data Source Args
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
Properties
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.
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.
An identifier for the data source.
The parameters used to connect to this data source (exactly one).
A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
The type of the data source. See the AWS Documentation for the complete list of valid values. The following arguments are optional:
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.