Data Source Args
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());
}
}
Content copied to clipboard
Import
A QuickSight data source can be imported using the AWS account ID, and data source ID name separated by a slash (/
) e.g.,
$ pulumi import aws:quicksight/dataSource:DataSource example 123456789123/my-data-source-id
Content copied to clipboard
Constructors
Link copied to clipboard
fun DataSourceArgs(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)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
The type of the data source. See the AWS Documentation for the complete list of valid values.