aws.quicksight.DataSource
Explore with Pulumi AI
Resource for managing QuickSight Data Source
Example Usage
S3 Data Source
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const _default = new aws.quicksight.DataSource("default", {
    dataSourceId: "example-id",
    name: "My Cool Data in S3",
    parameters: {
        s3: {
            manifestFileLocation: {
                bucket: "my-bucket",
                key: "path/to/manifest.json",
            },
        },
    },
    type: "S3",
});
import pulumi
import pulumi_aws as aws
default = aws.quicksight.DataSource("default",
    data_source_id="example-id",
    name="My Cool Data in S3",
    parameters={
        "s3": {
            "manifest_file_location": {
                "bucket": "my-bucket",
                "key": "path/to/manifest.json",
            },
        },
    },
    type="S3")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/quicksight"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := quicksight.NewDataSource(ctx, "default", &quicksight.DataSourceArgs{
			DataSourceId: pulumi.String("example-id"),
			Name:         pulumi.String("My Cool Data in S3"),
			Parameters: &quicksight.DataSourceParametersArgs{
				S3: &quicksight.DataSourceParametersS3Args{
					ManifestFileLocation: &quicksight.DataSourceParametersS3ManifestFileLocationArgs{
						Bucket: pulumi.String("my-bucket"),
						Key:    pulumi.String("path/to/manifest.json"),
					},
				},
			},
			Type: pulumi.String("S3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var @default = new Aws.Quicksight.DataSource("default", new()
    {
        DataSourceId = "example-id",
        Name = "My Cool Data in S3",
        Parameters = new Aws.Quicksight.Inputs.DataSourceParametersArgs
        {
            S3 = new Aws.Quicksight.Inputs.DataSourceParametersS3Args
            {
                ManifestFileLocation = new Aws.Quicksight.Inputs.DataSourceParametersS3ManifestFileLocationArgs
                {
                    Bucket = "my-bucket",
                    Key = "path/to/manifest.json",
                },
            },
        },
        Type = "S3",
    });
});
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")
            .name("My Cool Data in S3")
            .parameters(DataSourceParametersArgs.builder()
                .s3(DataSourceParametersS3Args.builder()
                    .manifestFileLocation(DataSourceParametersS3ManifestFileLocationArgs.builder()
                        .bucket("my-bucket")
                        .key("path/to/manifest.json")
                        .build())
                    .build())
                .build())
            .type("S3")
            .build());
    }
}
resources:
  default:
    type: aws:quicksight:DataSource
    properties:
      dataSourceId: example-id
      name: My Cool Data in S3
      parameters:
        s3:
          manifestFileLocation:
            bucket: my-bucket
            key: path/to/manifest.json
      type: S3
S3 Data Source with IAM Role ARN
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const current = aws.getCallerIdentity({});
const currentGetPartition = aws.getPartition({});
const currentGetRegion = aws.getRegion({});
const example = new aws.s3.BucketV2("example", {});
const exampleBucketObjectv2 = new aws.s3.BucketObjectv2("example", {
    bucket: example.bucket,
    key: "manifest.json",
    content: pulumi.jsonStringify({
        fileLocations: [{
            URIPrefixes: [pulumi.all([example.id, currentGetRegion, currentGetPartition]).apply(([id, currentGetRegion, currentGetPartition]) => `https://${id}.s3-${currentGetRegion.name}.${currentGetPartition.dnsSuffix}`)],
        }],
        globalUploadSettings: {
            format: "CSV",
            delimiter: ",",
            textqualifier: "\"",
            containsHeader: true,
        },
    }),
});
const exampleRole = new aws.iam.Role("example", {
    name: "example",
    assumeRolePolicy: JSON.stringify({
        Version: "2012-10-17",
        Statement: [{
            Action: "sts:AssumeRole",
            Effect: "Allow",
            Principal: {
                Service: "quicksight.amazonaws.com",
            },
            Condition: {
                StringEquals: {
                    "aws:SourceAccount": current.then(current => current.accountId),
                },
            },
        }],
    }),
});
const examplePolicy = new aws.iam.Policy("example", {
    name: "example",
    description: "Policy to allow QuickSight access to S3 bucket",
    policy: pulumi.jsonStringify({
        Version: "2012-10-17",
        Statement: [
            {
                Action: ["s3:GetObject"],
                Effect: "Allow",
                Resource: pulumi.interpolate`${example.arn}/${exampleBucketObjectv2.key}`,
            },
            {
                Action: ["s3:ListBucket"],
                Effect: "Allow",
                Resource: example.arn,
            },
        ],
    }),
});
const exampleRolePolicyAttachment = new aws.iam.RolePolicyAttachment("example", {
    policyArn: examplePolicy.arn,
    role: exampleRole.name,
});
const exampleDataSource = new aws.quicksight.DataSource("example", {
    dataSourceId: "example-id",
    name: "manifest in S3",
    parameters: {
        s3: {
            manifestFileLocation: {
                bucket: example.arn,
                key: exampleBucketObjectv2.key,
            },
            roleArn: exampleRole.arn,
        },
    },
    type: "S3",
});
import pulumi
import json
import pulumi_aws as aws
current = aws.get_caller_identity()
current_get_partition = aws.get_partition()
current_get_region = aws.get_region()
example = aws.s3.BucketV2("example")
example_bucket_objectv2 = aws.s3.BucketObjectv2("example",
    bucket=example.bucket,
    key="manifest.json",
    content=pulumi.Output.json_dumps({
        "fileLocations": [{
            "URIPrefixes": [example.id.apply(lambda id: f"https://{id}.s3-{current_get_region.name}.{current_get_partition.dns_suffix}")],
        }],
        "globalUploadSettings": {
            "format": "CSV",
            "delimiter": ",",
            "textqualifier": "\"",
            "containsHeader": True,
        },
    }))
example_role = aws.iam.Role("example",
    name="example",
    assume_role_policy=json.dumps({
        "Version": "2012-10-17",
        "Statement": [{
            "Action": "sts:AssumeRole",
            "Effect": "Allow",
            "Principal": {
                "Service": "quicksight.amazonaws.com",
            },
            "Condition": {
                "StringEquals": {
                    "aws:SourceAccount": current.account_id,
                },
            },
        }],
    }))
example_policy = aws.iam.Policy("example",
    name="example",
    description="Policy to allow QuickSight access to S3 bucket",
    policy=pulumi.Output.json_dumps({
        "Version": "2012-10-17",
        "Statement": [
            {
                "Action": ["s3:GetObject"],
                "Effect": "Allow",
                "Resource": pulumi.Output.all(
                    arn=example.arn,
                    key=example_bucket_objectv2.key
).apply(lambda resolved_outputs: f"{resolved_outputs['arn']}/{resolved_outputs['key']}")
,
            },
            {
                "Action": ["s3:ListBucket"],
                "Effect": "Allow",
                "Resource": example.arn,
            },
        ],
    }))
example_role_policy_attachment = aws.iam.RolePolicyAttachment("example",
    policy_arn=example_policy.arn,
    role=example_role.name)
example_data_source = aws.quicksight.DataSource("example",
    data_source_id="example-id",
    name="manifest in S3",
    parameters={
        "s3": {
            "manifest_file_location": {
                "bucket": example.arn,
                "key": example_bucket_objectv2.key,
            },
            "role_arn": example_role.arn,
        },
    },
    type="S3")
package main
import (
	"encoding/json"
	"fmt"
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/quicksight"
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{}, nil)
		if err != nil {
			return err
		}
		currentGetPartition, err := aws.GetPartition(ctx, &aws.GetPartitionArgs{}, nil)
		if err != nil {
			return err
		}
		currentGetRegion, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil)
		if err != nil {
			return err
		}
		example, err := s3.NewBucketV2(ctx, "example", nil)
		if err != nil {
			return err
		}
		exampleBucketObjectv2, err := s3.NewBucketObjectv2(ctx, "example", &s3.BucketObjectv2Args{
			Bucket: example.Bucket,
			Key:    pulumi.String("manifest.json"),
			Content: example.ID().ApplyT(func(id string) (pulumi.String, error) {
				var _zero pulumi.String
				tmpJSON0, err := json.Marshal(map[string]interface{}{
					"fileLocations": []map[string]interface{}{
						map[string]interface{}{
							"URIPrefixes": []string{
								fmt.Sprintf("https://%v.s3-%v.%v", id, currentGetRegion.Name, currentGetPartition.DnsSuffix),
							},
						},
					},
					"globalUploadSettings": map[string]interface{}{
						"format":         "CSV",
						"delimiter":      ",",
						"textqualifier":  "\"",
						"containsHeader": true,
					},
				})
				if err != nil {
					return _zero, err
				}
				json0 := string(tmpJSON0)
				return pulumi.String(json0), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"Version": "2012-10-17",
			"Statement": []map[string]interface{}{
				map[string]interface{}{
					"Action": "sts:AssumeRole",
					"Effect": "Allow",
					"Principal": map[string]interface{}{
						"Service": "quicksight.amazonaws.com",
					},
					"Condition": map[string]interface{}{
						"StringEquals": map[string]interface{}{
							"aws:SourceAccount": current.AccountId,
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		exampleRole, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
			Name:             pulumi.String("example"),
			AssumeRolePolicy: pulumi.String(json1),
		})
		if err != nil {
			return err
		}
		examplePolicy, err := iam.NewPolicy(ctx, "example", &iam.PolicyArgs{
			Name:        pulumi.String("example"),
			Description: pulumi.String("Policy to allow QuickSight access to S3 bucket"),
			Policy: pulumi.All(example.Arn, exampleBucketObjectv2.Key, example.Arn).ApplyT(func(_args []interface{}) (string, error) {
				exampleArn := _args[0].(string)
				key := _args[1].(string)
				exampleArn1 := _args[2].(string)
				var _zero string
				tmpJSON2, err := json.Marshal(map[string]interface{}{
					"Version": "2012-10-17",
					"Statement": []map[string]interface{}{
						map[string]interface{}{
							"Action": []string{
								"s3:GetObject",
							},
							"Effect":   "Allow",
							"Resource": fmt.Sprintf("%v/%v", exampleArn, key),
						},
						map[string]interface{}{
							"Action": []string{
								"s3:ListBucket",
							},
							"Effect":   "Allow",
							"Resource": exampleArn1,
						},
					},
				})
				if err != nil {
					return _zero, err
				}
				json2 := string(tmpJSON2)
				return json2, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicyAttachment(ctx, "example", &iam.RolePolicyAttachmentArgs{
			PolicyArn: examplePolicy.Arn,
			Role:      exampleRole.Name,
		})
		if err != nil {
			return err
		}
		_, err = quicksight.NewDataSource(ctx, "example", &quicksight.DataSourceArgs{
			DataSourceId: pulumi.String("example-id"),
			Name:         pulumi.String("manifest in S3"),
			Parameters: &quicksight.DataSourceParametersArgs{
				S3: &quicksight.DataSourceParametersS3Args{
					ManifestFileLocation: &quicksight.DataSourceParametersS3ManifestFileLocationArgs{
						Bucket: example.Arn,
						Key:    exampleBucketObjectv2.Key,
					},
					RoleArn: exampleRole.Arn,
				},
			},
			Type: pulumi.String("S3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var current = Aws.GetCallerIdentity.Invoke();
    var currentGetPartition = Aws.GetPartition.Invoke();
    var currentGetRegion = Aws.GetRegion.Invoke();
    var example = new Aws.S3.BucketV2("example");
    var exampleBucketObjectv2 = new Aws.S3.BucketObjectv2("example", new()
    {
        Bucket = example.Bucket,
        Key = "manifest.json",
        Content = Output.JsonSerialize(Output.Create(new Dictionary<string, object?>
        {
            ["fileLocations"] = new[]
            {
                new Dictionary<string, object?>
                {
                    ["URIPrefixes"] = new[]
                    {
                        Output.Tuple(example.Id, currentGetRegion, currentGetPartition).Apply(values =>
                        {
                            var id = values.Item1;
                            var currentGetRegion = values.Item2;
                            var currentGetPartition = values.Item3;
                            return $"https://{id}.s3-{currentGetRegion.Apply(getRegionResult => getRegionResult.Name)}.{currentGetPartition.Apply(getPartitionResult => getPartitionResult.DnsSuffix)}";
                        }),
                    },
                },
            },
            ["globalUploadSettings"] = new Dictionary<string, object?>
            {
                ["format"] = "CSV",
                ["delimiter"] = ",",
                ["textqualifier"] = "\"",
                ["containsHeader"] = true,
            },
        })),
    });
    var exampleRole = new Aws.Iam.Role("example", new()
    {
        Name = "example",
        AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary<string, object?>
        {
            ["Version"] = "2012-10-17",
            ["Statement"] = new[]
            {
                new Dictionary<string, object?>
                {
                    ["Action"] = "sts:AssumeRole",
                    ["Effect"] = "Allow",
                    ["Principal"] = new Dictionary<string, object?>
                    {
                        ["Service"] = "quicksight.amazonaws.com",
                    },
                    ["Condition"] = new Dictionary<string, object?>
                    {
                        ["StringEquals"] = new Dictionary<string, object?>
                        {
                            ["aws:SourceAccount"] = current.Apply(getCallerIdentityResult => getCallerIdentityResult.AccountId),
                        },
                    },
                },
            },
        }),
    });
    var examplePolicy = new Aws.Iam.Policy("example", new()
    {
        Name = "example",
        Description = "Policy to allow QuickSight access to S3 bucket",
        PolicyDocument = Output.JsonSerialize(Output.Create(new Dictionary<string, object?>
        {
            ["Version"] = "2012-10-17",
            ["Statement"] = new[]
            {
                new Dictionary<string, object?>
                {
                    ["Action"] = new[]
                    {
                        "s3:GetObject",
                    },
                    ["Effect"] = "Allow",
                    ["Resource"] = Output.Tuple(example.Arn, exampleBucketObjectv2.Key).Apply(values =>
                    {
                        var arn = values.Item1;
                        var key = values.Item2;
                        return $"{arn}/{key}";
                    }),
                },
                new Dictionary<string, object?>
                {
                    ["Action"] = new[]
                    {
                        "s3:ListBucket",
                    },
                    ["Effect"] = "Allow",
                    ["Resource"] = example.Arn,
                },
            },
        })),
    });
    var exampleRolePolicyAttachment = new Aws.Iam.RolePolicyAttachment("example", new()
    {
        PolicyArn = examplePolicy.Arn,
        Role = exampleRole.Name,
    });
    var exampleDataSource = new Aws.Quicksight.DataSource("example", new()
    {
        DataSourceId = "example-id",
        Name = "manifest in S3",
        Parameters = new Aws.Quicksight.Inputs.DataSourceParametersArgs
        {
            S3 = new Aws.Quicksight.Inputs.DataSourceParametersS3Args
            {
                ManifestFileLocation = new Aws.Quicksight.Inputs.DataSourceParametersS3ManifestFileLocationArgs
                {
                    Bucket = example.Arn,
                    Key = exampleBucketObjectv2.Key,
                },
                RoleArn = exampleRole.Arn,
            },
        },
        Type = "S3",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.AwsFunctions;
import com.pulumi.aws.inputs.GetCallerIdentityArgs;
import com.pulumi.aws.inputs.GetPartitionArgs;
import com.pulumi.aws.inputs.GetRegionArgs;
import com.pulumi.aws.s3.BucketV2;
import com.pulumi.aws.s3.BucketObjectv2;
import com.pulumi.aws.s3.BucketObjectv2Args;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.iam.Policy;
import com.pulumi.aws.iam.PolicyArgs;
import com.pulumi.aws.iam.RolePolicyAttachment;
import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
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 static com.pulumi.codegen.internal.Serialization.*;
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) {
        final var current = AwsFunctions.getCallerIdentity();
        final var currentGetPartition = AwsFunctions.getPartition();
        final var currentGetRegion = AwsFunctions.getRegion();
        var example = new BucketV2("example");
        var exampleBucketObjectv2 = new BucketObjectv2("exampleBucketObjectv2", BucketObjectv2Args.builder()
            .bucket(example.bucket())
            .key("manifest.json")
            .content(example.id().applyValue(id -> serializeJson(
                jsonObject(
                    jsonProperty("fileLocations", jsonArray(jsonObject(
                        jsonProperty("URIPrefixes", jsonArray(String.format("https://%s.s3-%s.%s", id,currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),currentGetPartition.applyValue(getPartitionResult -> getPartitionResult.dnsSuffix()))))
                    ))),
                    jsonProperty("globalUploadSettings", jsonObject(
                        jsonProperty("format", "CSV"),
                        jsonProperty("delimiter", ","),
                        jsonProperty("textqualifier", "\""),
                        jsonProperty("containsHeader", true)
                    ))
                ))))
            .build());
        var exampleRole = new Role("exampleRole", RoleArgs.builder()
            .name("example")
            .assumeRolePolicy(serializeJson(
                jsonObject(
                    jsonProperty("Version", "2012-10-17"),
                    jsonProperty("Statement", jsonArray(jsonObject(
                        jsonProperty("Action", "sts:AssumeRole"),
                        jsonProperty("Effect", "Allow"),
                        jsonProperty("Principal", jsonObject(
                            jsonProperty("Service", "quicksight.amazonaws.com")
                        )),
                        jsonProperty("Condition", jsonObject(
                            jsonProperty("StringEquals", jsonObject(
                                jsonProperty("aws:SourceAccount", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
                            ))
                        ))
                    )))
                )))
            .build());
        var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()
            .name("example")
            .description("Policy to allow QuickSight access to S3 bucket")
            .policy(Output.tuple(example.arn(), exampleBucketObjectv2.key(), example.arn()).applyValue(values -> {
                var exampleArn = values.t1;
                var key = values.t2;
                var exampleArn1 = values.t3;
                return serializeJson(
                    jsonObject(
                        jsonProperty("Version", "2012-10-17"),
                        jsonProperty("Statement", jsonArray(
                            jsonObject(
                                jsonProperty("Action", jsonArray("s3:GetObject")),
                                jsonProperty("Effect", "Allow"),
                                jsonProperty("Resource", String.format("%s/%s", exampleArn,key))
                            ), 
                            jsonObject(
                                jsonProperty("Action", jsonArray("s3:ListBucket")),
                                jsonProperty("Effect", "Allow"),
                                jsonProperty("Resource", exampleArn1)
                            )
                        ))
                    ));
            }))
            .build());
        var exampleRolePolicyAttachment = new RolePolicyAttachment("exampleRolePolicyAttachment", RolePolicyAttachmentArgs.builder()
            .policyArn(examplePolicy.arn())
            .role(exampleRole.name())
            .build());
        var exampleDataSource = new DataSource("exampleDataSource", DataSourceArgs.builder()
            .dataSourceId("example-id")
            .name("manifest in S3")
            .parameters(DataSourceParametersArgs.builder()
                .s3(DataSourceParametersS3Args.builder()
                    .manifestFileLocation(DataSourceParametersS3ManifestFileLocationArgs.builder()
                        .bucket(example.arn())
                        .key(exampleBucketObjectv2.key())
                        .build())
                    .roleArn(exampleRole.arn())
                    .build())
                .build())
            .type("S3")
            .build());
    }
}
resources:
  example:
    type: aws:s3:BucketV2
  exampleBucketObjectv2:
    type: aws:s3:BucketObjectv2
    name: example
    properties:
      bucket: ${example.bucket}
      key: manifest.json
      content:
        fn::toJSON:
          fileLocations:
            - URIPrefixes:
                - https://${example.id}.s3-${currentGetRegion.name}.${currentGetPartition.dnsSuffix}
          globalUploadSettings:
            format: CSV
            delimiter: ','
            textqualifier: '"'
            containsHeader: true
  exampleRole:
    type: aws:iam:Role
    name: example
    properties:
      name: example
      assumeRolePolicy:
        fn::toJSON:
          Version: 2012-10-17
          Statement:
            - Action: sts:AssumeRole
              Effect: Allow
              Principal:
                Service: quicksight.amazonaws.com
              Condition:
                StringEquals:
                  aws:SourceAccount: ${current.accountId}
  examplePolicy:
    type: aws:iam:Policy
    name: example
    properties:
      name: example
      description: Policy to allow QuickSight access to S3 bucket
      policy:
        fn::toJSON:
          Version: 2012-10-17
          Statement:
            - Action:
                - s3:GetObject
              Effect: Allow
              Resource: ${example.arn}/${exampleBucketObjectv2.key}
            - Action:
                - s3:ListBucket
              Effect: Allow
              Resource: ${example.arn}
  exampleRolePolicyAttachment:
    type: aws:iam:RolePolicyAttachment
    name: example
    properties:
      policyArn: ${examplePolicy.arn}
      role: ${exampleRole.name}
  exampleDataSource:
    type: aws:quicksight:DataSource
    name: example
    properties:
      dataSourceId: example-id
      name: manifest in S3
      parameters:
        s3:
          manifestFileLocation:
            bucket: ${example.arn}
            key: ${exampleBucketObjectv2.key}
          roleArn: ${exampleRole.arn}
      type: S3
variables:
  current:
    fn::invoke:
      function: aws:getCallerIdentity
      arguments: {}
  currentGetPartition:
    fn::invoke:
      function: aws:getPartition
      arguments: {}
  currentGetRegion:
    fn::invoke:
      function: aws:getRegion
      arguments: {}
Create DataSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataSource(name: string, args: DataSourceArgs, opts?: CustomResourceOptions);@overload
def DataSource(resource_name: str,
               args: DataSourceArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def DataSource(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               data_source_id: Optional[str] = None,
               parameters: Optional[DataSourceParametersArgs] = None,
               type: Optional[str] = None,
               aws_account_id: Optional[str] = None,
               credentials: Optional[DataSourceCredentialsArgs] = None,
               name: Optional[str] = None,
               permissions: Optional[Sequence[DataSourcePermissionArgs]] = None,
               ssl_properties: Optional[DataSourceSslPropertiesArgs] = None,
               tags: Optional[Mapping[str, str]] = None,
               vpc_connection_properties: Optional[DataSourceVpcConnectionPropertiesArgs] = None)func NewDataSource(ctx *Context, name string, args DataSourceArgs, opts ...ResourceOption) (*DataSource, error)public DataSource(string name, DataSourceArgs args, CustomResourceOptions? opts = null)
public DataSource(String name, DataSourceArgs args)
public DataSource(String name, DataSourceArgs args, CustomResourceOptions options)
type: aws:quicksight:DataSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DataSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DataSourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DataSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataSourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampledataSourceResourceResourceFromQuicksightdataSource = new Aws.Quicksight.DataSource("exampledataSourceResourceResourceFromQuicksightdataSource", new()
{
    DataSourceId = "string",
    Parameters = new Aws.Quicksight.Inputs.DataSourceParametersArgs
    {
        AmazonElasticsearch = new Aws.Quicksight.Inputs.DataSourceParametersAmazonElasticsearchArgs
        {
            Domain = "string",
        },
        Athena = new Aws.Quicksight.Inputs.DataSourceParametersAthenaArgs
        {
            WorkGroup = "string",
        },
        Aurora = new Aws.Quicksight.Inputs.DataSourceParametersAuroraArgs
        {
            Database = "string",
            Host = "string",
            Port = 0,
        },
        AuroraPostgresql = new Aws.Quicksight.Inputs.DataSourceParametersAuroraPostgresqlArgs
        {
            Database = "string",
            Host = "string",
            Port = 0,
        },
        AwsIotAnalytics = new Aws.Quicksight.Inputs.DataSourceParametersAwsIotAnalyticsArgs
        {
            DataSetName = "string",
        },
        Databricks = new Aws.Quicksight.Inputs.DataSourceParametersDatabricksArgs
        {
            Host = "string",
            Port = 0,
            SqlEndpointPath = "string",
        },
        Jira = new Aws.Quicksight.Inputs.DataSourceParametersJiraArgs
        {
            SiteBaseUrl = "string",
        },
        MariaDb = new Aws.Quicksight.Inputs.DataSourceParametersMariaDbArgs
        {
            Database = "string",
            Host = "string",
            Port = 0,
        },
        Mysql = new Aws.Quicksight.Inputs.DataSourceParametersMysqlArgs
        {
            Database = "string",
            Host = "string",
            Port = 0,
        },
        Oracle = new Aws.Quicksight.Inputs.DataSourceParametersOracleArgs
        {
            Database = "string",
            Host = "string",
            Port = 0,
        },
        Postgresql = new Aws.Quicksight.Inputs.DataSourceParametersPostgresqlArgs
        {
            Database = "string",
            Host = "string",
            Port = 0,
        },
        Presto = new Aws.Quicksight.Inputs.DataSourceParametersPrestoArgs
        {
            Catalog = "string",
            Host = "string",
            Port = 0,
        },
        Rds = new Aws.Quicksight.Inputs.DataSourceParametersRdsArgs
        {
            Database = "string",
            InstanceId = "string",
        },
        Redshift = new Aws.Quicksight.Inputs.DataSourceParametersRedshiftArgs
        {
            Database = "string",
            ClusterId = "string",
            Host = "string",
            Port = 0,
        },
        S3 = new Aws.Quicksight.Inputs.DataSourceParametersS3Args
        {
            ManifestFileLocation = new Aws.Quicksight.Inputs.DataSourceParametersS3ManifestFileLocationArgs
            {
                Bucket = "string",
                Key = "string",
            },
            RoleArn = "string",
        },
        ServiceNow = new Aws.Quicksight.Inputs.DataSourceParametersServiceNowArgs
        {
            SiteBaseUrl = "string",
        },
        Snowflake = new Aws.Quicksight.Inputs.DataSourceParametersSnowflakeArgs
        {
            Database = "string",
            Host = "string",
            Warehouse = "string",
        },
        Spark = new Aws.Quicksight.Inputs.DataSourceParametersSparkArgs
        {
            Host = "string",
            Port = 0,
        },
        SqlServer = new Aws.Quicksight.Inputs.DataSourceParametersSqlServerArgs
        {
            Database = "string",
            Host = "string",
            Port = 0,
        },
        Teradata = new Aws.Quicksight.Inputs.DataSourceParametersTeradataArgs
        {
            Database = "string",
            Host = "string",
            Port = 0,
        },
        Twitter = new Aws.Quicksight.Inputs.DataSourceParametersTwitterArgs
        {
            MaxRows = 0,
            Query = "string",
        },
    },
    Type = "string",
    AwsAccountId = "string",
    Credentials = new Aws.Quicksight.Inputs.DataSourceCredentialsArgs
    {
        CopySourceArn = "string",
        CredentialPair = new Aws.Quicksight.Inputs.DataSourceCredentialsCredentialPairArgs
        {
            Password = "string",
            Username = "string",
        },
        SecretArn = "string",
    },
    Name = "string",
    Permissions = new[]
    {
        new Aws.Quicksight.Inputs.DataSourcePermissionArgs
        {
            Actions = new[]
            {
                "string",
            },
            Principal = "string",
        },
    },
    SslProperties = new Aws.Quicksight.Inputs.DataSourceSslPropertiesArgs
    {
        DisableSsl = false,
    },
    Tags = 
    {
        { "string", "string" },
    },
    VpcConnectionProperties = new Aws.Quicksight.Inputs.DataSourceVpcConnectionPropertiesArgs
    {
        VpcConnectionArn = "string",
    },
});
example, err := quicksight.NewDataSource(ctx, "exampledataSourceResourceResourceFromQuicksightdataSource", &quicksight.DataSourceArgs{
	DataSourceId: pulumi.String("string"),
	Parameters: &quicksight.DataSourceParametersArgs{
		AmazonElasticsearch: &quicksight.DataSourceParametersAmazonElasticsearchArgs{
			Domain: pulumi.String("string"),
		},
		Athena: &quicksight.DataSourceParametersAthenaArgs{
			WorkGroup: pulumi.String("string"),
		},
		Aurora: &quicksight.DataSourceParametersAuroraArgs{
			Database: pulumi.String("string"),
			Host:     pulumi.String("string"),
			Port:     pulumi.Int(0),
		},
		AuroraPostgresql: &quicksight.DataSourceParametersAuroraPostgresqlArgs{
			Database: pulumi.String("string"),
			Host:     pulumi.String("string"),
			Port:     pulumi.Int(0),
		},
		AwsIotAnalytics: &quicksight.DataSourceParametersAwsIotAnalyticsArgs{
			DataSetName: pulumi.String("string"),
		},
		Databricks: &quicksight.DataSourceParametersDatabricksArgs{
			Host:            pulumi.String("string"),
			Port:            pulumi.Int(0),
			SqlEndpointPath: pulumi.String("string"),
		},
		Jira: &quicksight.DataSourceParametersJiraArgs{
			SiteBaseUrl: pulumi.String("string"),
		},
		MariaDb: &quicksight.DataSourceParametersMariaDbArgs{
			Database: pulumi.String("string"),
			Host:     pulumi.String("string"),
			Port:     pulumi.Int(0),
		},
		Mysql: &quicksight.DataSourceParametersMysqlArgs{
			Database: pulumi.String("string"),
			Host:     pulumi.String("string"),
			Port:     pulumi.Int(0),
		},
		Oracle: &quicksight.DataSourceParametersOracleArgs{
			Database: pulumi.String("string"),
			Host:     pulumi.String("string"),
			Port:     pulumi.Int(0),
		},
		Postgresql: &quicksight.DataSourceParametersPostgresqlArgs{
			Database: pulumi.String("string"),
			Host:     pulumi.String("string"),
			Port:     pulumi.Int(0),
		},
		Presto: &quicksight.DataSourceParametersPrestoArgs{
			Catalog: pulumi.String("string"),
			Host:    pulumi.String("string"),
			Port:    pulumi.Int(0),
		},
		Rds: &quicksight.DataSourceParametersRdsArgs{
			Database:   pulumi.String("string"),
			InstanceId: pulumi.String("string"),
		},
		Redshift: &quicksight.DataSourceParametersRedshiftArgs{
			Database:  pulumi.String("string"),
			ClusterId: pulumi.String("string"),
			Host:      pulumi.String("string"),
			Port:      pulumi.Int(0),
		},
		S3: &quicksight.DataSourceParametersS3Args{
			ManifestFileLocation: &quicksight.DataSourceParametersS3ManifestFileLocationArgs{
				Bucket: pulumi.String("string"),
				Key:    pulumi.String("string"),
			},
			RoleArn: pulumi.String("string"),
		},
		ServiceNow: &quicksight.DataSourceParametersServiceNowArgs{
			SiteBaseUrl: pulumi.String("string"),
		},
		Snowflake: &quicksight.DataSourceParametersSnowflakeArgs{
			Database:  pulumi.String("string"),
			Host:      pulumi.String("string"),
			Warehouse: pulumi.String("string"),
		},
		Spark: &quicksight.DataSourceParametersSparkArgs{
			Host: pulumi.String("string"),
			Port: pulumi.Int(0),
		},
		SqlServer: &quicksight.DataSourceParametersSqlServerArgs{
			Database: pulumi.String("string"),
			Host:     pulumi.String("string"),
			Port:     pulumi.Int(0),
		},
		Teradata: &quicksight.DataSourceParametersTeradataArgs{
			Database: pulumi.String("string"),
			Host:     pulumi.String("string"),
			Port:     pulumi.Int(0),
		},
		Twitter: &quicksight.DataSourceParametersTwitterArgs{
			MaxRows: pulumi.Int(0),
			Query:   pulumi.String("string"),
		},
	},
	Type:         pulumi.String("string"),
	AwsAccountId: pulumi.String("string"),
	Credentials: &quicksight.DataSourceCredentialsArgs{
		CopySourceArn: pulumi.String("string"),
		CredentialPair: &quicksight.DataSourceCredentialsCredentialPairArgs{
			Password: pulumi.String("string"),
			Username: pulumi.String("string"),
		},
		SecretArn: pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	Permissions: quicksight.DataSourcePermissionArray{
		&quicksight.DataSourcePermissionArgs{
			Actions: pulumi.StringArray{
				pulumi.String("string"),
			},
			Principal: pulumi.String("string"),
		},
	},
	SslProperties: &quicksight.DataSourceSslPropertiesArgs{
		DisableSsl: pulumi.Bool(false),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	VpcConnectionProperties: &quicksight.DataSourceVpcConnectionPropertiesArgs{
		VpcConnectionArn: pulumi.String("string"),
	},
})
var exampledataSourceResourceResourceFromQuicksightdataSource = new DataSource("exampledataSourceResourceResourceFromQuicksightdataSource", DataSourceArgs.builder()
    .dataSourceId("string")
    .parameters(DataSourceParametersArgs.builder()
        .amazonElasticsearch(DataSourceParametersAmazonElasticsearchArgs.builder()
            .domain("string")
            .build())
        .athena(DataSourceParametersAthenaArgs.builder()
            .workGroup("string")
            .build())
        .aurora(DataSourceParametersAuroraArgs.builder()
            .database("string")
            .host("string")
            .port(0)
            .build())
        .auroraPostgresql(DataSourceParametersAuroraPostgresqlArgs.builder()
            .database("string")
            .host("string")
            .port(0)
            .build())
        .awsIotAnalytics(DataSourceParametersAwsIotAnalyticsArgs.builder()
            .dataSetName("string")
            .build())
        .databricks(DataSourceParametersDatabricksArgs.builder()
            .host("string")
            .port(0)
            .sqlEndpointPath("string")
            .build())
        .jira(DataSourceParametersJiraArgs.builder()
            .siteBaseUrl("string")
            .build())
        .mariaDb(DataSourceParametersMariaDbArgs.builder()
            .database("string")
            .host("string")
            .port(0)
            .build())
        .mysql(DataSourceParametersMysqlArgs.builder()
            .database("string")
            .host("string")
            .port(0)
            .build())
        .oracle(DataSourceParametersOracleArgs.builder()
            .database("string")
            .host("string")
            .port(0)
            .build())
        .postgresql(DataSourceParametersPostgresqlArgs.builder()
            .database("string")
            .host("string")
            .port(0)
            .build())
        .presto(DataSourceParametersPrestoArgs.builder()
            .catalog("string")
            .host("string")
            .port(0)
            .build())
        .rds(DataSourceParametersRdsArgs.builder()
            .database("string")
            .instanceId("string")
            .build())
        .redshift(DataSourceParametersRedshiftArgs.builder()
            .database("string")
            .clusterId("string")
            .host("string")
            .port(0)
            .build())
        .s3(DataSourceParametersS3Args.builder()
            .manifestFileLocation(DataSourceParametersS3ManifestFileLocationArgs.builder()
                .bucket("string")
                .key("string")
                .build())
            .roleArn("string")
            .build())
        .serviceNow(DataSourceParametersServiceNowArgs.builder()
            .siteBaseUrl("string")
            .build())
        .snowflake(DataSourceParametersSnowflakeArgs.builder()
            .database("string")
            .host("string")
            .warehouse("string")
            .build())
        .spark(DataSourceParametersSparkArgs.builder()
            .host("string")
            .port(0)
            .build())
        .sqlServer(DataSourceParametersSqlServerArgs.builder()
            .database("string")
            .host("string")
            .port(0)
            .build())
        .teradata(DataSourceParametersTeradataArgs.builder()
            .database("string")
            .host("string")
            .port(0)
            .build())
        .twitter(DataSourceParametersTwitterArgs.builder()
            .maxRows(0)
            .query("string")
            .build())
        .build())
    .type("string")
    .awsAccountId("string")
    .credentials(DataSourceCredentialsArgs.builder()
        .copySourceArn("string")
        .credentialPair(DataSourceCredentialsCredentialPairArgs.builder()
            .password("string")
            .username("string")
            .build())
        .secretArn("string")
        .build())
    .name("string")
    .permissions(DataSourcePermissionArgs.builder()
        .actions("string")
        .principal("string")
        .build())
    .sslProperties(DataSourceSslPropertiesArgs.builder()
        .disableSsl(false)
        .build())
    .tags(Map.of("string", "string"))
    .vpcConnectionProperties(DataSourceVpcConnectionPropertiesArgs.builder()
        .vpcConnectionArn("string")
        .build())
    .build());
exampledata_source_resource_resource_from_quicksightdata_source = aws.quicksight.DataSource("exampledataSourceResourceResourceFromQuicksightdataSource",
    data_source_id="string",
    parameters={
        "amazon_elasticsearch": {
            "domain": "string",
        },
        "athena": {
            "work_group": "string",
        },
        "aurora": {
            "database": "string",
            "host": "string",
            "port": 0,
        },
        "aurora_postgresql": {
            "database": "string",
            "host": "string",
            "port": 0,
        },
        "aws_iot_analytics": {
            "data_set_name": "string",
        },
        "databricks": {
            "host": "string",
            "port": 0,
            "sql_endpoint_path": "string",
        },
        "jira": {
            "site_base_url": "string",
        },
        "maria_db": {
            "database": "string",
            "host": "string",
            "port": 0,
        },
        "mysql": {
            "database": "string",
            "host": "string",
            "port": 0,
        },
        "oracle": {
            "database": "string",
            "host": "string",
            "port": 0,
        },
        "postgresql": {
            "database": "string",
            "host": "string",
            "port": 0,
        },
        "presto": {
            "catalog": "string",
            "host": "string",
            "port": 0,
        },
        "rds": {
            "database": "string",
            "instance_id": "string",
        },
        "redshift": {
            "database": "string",
            "cluster_id": "string",
            "host": "string",
            "port": 0,
        },
        "s3": {
            "manifest_file_location": {
                "bucket": "string",
                "key": "string",
            },
            "role_arn": "string",
        },
        "service_now": {
            "site_base_url": "string",
        },
        "snowflake": {
            "database": "string",
            "host": "string",
            "warehouse": "string",
        },
        "spark": {
            "host": "string",
            "port": 0,
        },
        "sql_server": {
            "database": "string",
            "host": "string",
            "port": 0,
        },
        "teradata": {
            "database": "string",
            "host": "string",
            "port": 0,
        },
        "twitter": {
            "max_rows": 0,
            "query": "string",
        },
    },
    type="string",
    aws_account_id="string",
    credentials={
        "copy_source_arn": "string",
        "credential_pair": {
            "password": "string",
            "username": "string",
        },
        "secret_arn": "string",
    },
    name="string",
    permissions=[{
        "actions": ["string"],
        "principal": "string",
    }],
    ssl_properties={
        "disable_ssl": False,
    },
    tags={
        "string": "string",
    },
    vpc_connection_properties={
        "vpc_connection_arn": "string",
    })
const exampledataSourceResourceResourceFromQuicksightdataSource = new aws.quicksight.DataSource("exampledataSourceResourceResourceFromQuicksightdataSource", {
    dataSourceId: "string",
    parameters: {
        amazonElasticsearch: {
            domain: "string",
        },
        athena: {
            workGroup: "string",
        },
        aurora: {
            database: "string",
            host: "string",
            port: 0,
        },
        auroraPostgresql: {
            database: "string",
            host: "string",
            port: 0,
        },
        awsIotAnalytics: {
            dataSetName: "string",
        },
        databricks: {
            host: "string",
            port: 0,
            sqlEndpointPath: "string",
        },
        jira: {
            siteBaseUrl: "string",
        },
        mariaDb: {
            database: "string",
            host: "string",
            port: 0,
        },
        mysql: {
            database: "string",
            host: "string",
            port: 0,
        },
        oracle: {
            database: "string",
            host: "string",
            port: 0,
        },
        postgresql: {
            database: "string",
            host: "string",
            port: 0,
        },
        presto: {
            catalog: "string",
            host: "string",
            port: 0,
        },
        rds: {
            database: "string",
            instanceId: "string",
        },
        redshift: {
            database: "string",
            clusterId: "string",
            host: "string",
            port: 0,
        },
        s3: {
            manifestFileLocation: {
                bucket: "string",
                key: "string",
            },
            roleArn: "string",
        },
        serviceNow: {
            siteBaseUrl: "string",
        },
        snowflake: {
            database: "string",
            host: "string",
            warehouse: "string",
        },
        spark: {
            host: "string",
            port: 0,
        },
        sqlServer: {
            database: "string",
            host: "string",
            port: 0,
        },
        teradata: {
            database: "string",
            host: "string",
            port: 0,
        },
        twitter: {
            maxRows: 0,
            query: "string",
        },
    },
    type: "string",
    awsAccountId: "string",
    credentials: {
        copySourceArn: "string",
        credentialPair: {
            password: "string",
            username: "string",
        },
        secretArn: "string",
    },
    name: "string",
    permissions: [{
        actions: ["string"],
        principal: "string",
    }],
    sslProperties: {
        disableSsl: false,
    },
    tags: {
        string: "string",
    },
    vpcConnectionProperties: {
        vpcConnectionArn: "string",
    },
});
type: aws:quicksight:DataSource
properties:
    awsAccountId: string
    credentials:
        copySourceArn: string
        credentialPair:
            password: string
            username: string
        secretArn: string
    dataSourceId: string
    name: string
    parameters:
        amazonElasticsearch:
            domain: string
        athena:
            workGroup: string
        aurora:
            database: string
            host: string
            port: 0
        auroraPostgresql:
            database: string
            host: string
            port: 0
        awsIotAnalytics:
            dataSetName: string
        databricks:
            host: string
            port: 0
            sqlEndpointPath: string
        jira:
            siteBaseUrl: string
        mariaDb:
            database: string
            host: string
            port: 0
        mysql:
            database: string
            host: string
            port: 0
        oracle:
            database: string
            host: string
            port: 0
        postgresql:
            database: string
            host: string
            port: 0
        presto:
            catalog: string
            host: string
            port: 0
        rds:
            database: string
            instanceId: string
        redshift:
            clusterId: string
            database: string
            host: string
            port: 0
        s3:
            manifestFileLocation:
                bucket: string
                key: string
            roleArn: string
        serviceNow:
            siteBaseUrl: string
        snowflake:
            database: string
            host: string
            warehouse: string
        spark:
            host: string
            port: 0
        sqlServer:
            database: string
            host: string
            port: 0
        teradata:
            database: string
            host: string
            port: 0
        twitter:
            maxRows: 0
            query: string
    permissions:
        - actions:
            - string
          principal: string
    sslProperties:
        disableSsl: false
    tags:
        string: string
    type: string
    vpcConnectionProperties:
        vpcConnectionArn: string
DataSource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DataSource resource accepts the following input properties:
- DataSource stringId 
- An identifier for the data source.
- Parameters
DataSource Parameters 
- The parameters used to connect to this data source (exactly one).
- Type string
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- AwsAccount stringId 
- 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.
- Credentials
DataSource Credentials 
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- Name string
- A name for the data source, maximum of 128 characters.
- Permissions
List<DataSource Permission> 
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- SslProperties DataSource Ssl Properties 
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- VpcConnection DataProperties Source Vpc Connection Properties 
- 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.
- DataSource stringId 
- An identifier for the data source.
- Parameters
DataSource Parameters Args 
- The parameters used to connect to this data source (exactly one).
- Type string
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- AwsAccount stringId 
- 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.
- Credentials
DataSource Credentials Args 
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- Name string
- A name for the data source, maximum of 128 characters.
- Permissions
[]DataSource Permission Args 
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- SslProperties DataSource Ssl Properties Args 
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- map[string]string
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- VpcConnection DataProperties Source Vpc Connection Properties Args 
- 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.
- dataSource StringId 
- An identifier for the data source.
- parameters
DataSource Parameters 
- The parameters used to connect to this data source (exactly one).
- type String
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- awsAccount StringId 
- 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.
- credentials
DataSource Credentials 
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- name String
- A name for the data source, maximum of 128 characters.
- permissions
List<DataSource Permission> 
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- sslProperties DataSource Ssl Properties 
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- vpcConnection DataProperties Source Vpc Connection Properties 
- 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.
- dataSource stringId 
- An identifier for the data source.
- parameters
DataSource Parameters 
- The parameters used to connect to this data source (exactly one).
- type string
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- awsAccount stringId 
- 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.
- credentials
DataSource Credentials 
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- name string
- A name for the data source, maximum of 128 characters.
- permissions
DataSource Permission[] 
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- sslProperties DataSource Ssl Properties 
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- vpcConnection DataProperties Source Vpc Connection Properties 
- 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.
- data_source_ strid 
- An identifier for the data source.
- parameters
DataSource Parameters Args 
- The parameters used to connect to this data source (exactly one).
- type str
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- aws_account_ strid 
- 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.
- credentials
DataSource Credentials Args 
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- name str
- A name for the data source, maximum of 128 characters.
- permissions
Sequence[DataSource Permission Args] 
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- ssl_properties DataSource Ssl Properties Args 
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- vpc_connection_ Dataproperties Source Vpc Connection Properties Args 
- 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.
- dataSource StringId 
- An identifier for the data source.
- parameters Property Map
- The parameters used to connect to this data source (exactly one).
- type String
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- awsAccount StringId 
- 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.
- credentials Property Map
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- name String
- A name for the data source, maximum of 128 characters.
- permissions List<Property Map>
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- sslProperties Property Map
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- Map<String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- vpcConnection Property MapProperties 
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the DataSource resource produces the following output properties:
Look up Existing DataSource Resource
Get an existing DataSource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DataSourceState, opts?: CustomResourceOptions): DataSource@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        aws_account_id: Optional[str] = None,
        credentials: Optional[DataSourceCredentialsArgs] = None,
        data_source_id: Optional[str] = None,
        name: Optional[str] = None,
        parameters: Optional[DataSourceParametersArgs] = None,
        permissions: Optional[Sequence[DataSourcePermissionArgs]] = None,
        ssl_properties: Optional[DataSourceSslPropertiesArgs] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        type: Optional[str] = None,
        vpc_connection_properties: Optional[DataSourceVpcConnectionPropertiesArgs] = None) -> DataSourcefunc GetDataSource(ctx *Context, name string, id IDInput, state *DataSourceState, opts ...ResourceOption) (*DataSource, error)public static DataSource Get(string name, Input<string> id, DataSourceState? state, CustomResourceOptions? opts = null)public static DataSource get(String name, Output<String> id, DataSourceState state, CustomResourceOptions options)resources:  _:    type: aws:quicksight:DataSource    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- Amazon Resource Name (ARN) of the data source
- AwsAccount stringId 
- 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.
- Credentials
DataSource Credentials 
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- DataSource stringId 
- An identifier for the data source.
- Name string
- A name for the data source, maximum of 128 characters.
- Parameters
DataSource Parameters 
- The parameters used to connect to this data source (exactly one).
- Permissions
List<DataSource Permission> 
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- SslProperties DataSource Ssl Properties 
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Type string
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- VpcConnection DataProperties Source Vpc Connection Properties 
- 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.
- Arn string
- Amazon Resource Name (ARN) of the data source
- AwsAccount stringId 
- 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.
- Credentials
DataSource Credentials Args 
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- DataSource stringId 
- An identifier for the data source.
- Name string
- A name for the data source, maximum of 128 characters.
- Parameters
DataSource Parameters Args 
- The parameters used to connect to this data source (exactly one).
- Permissions
[]DataSource Permission Args 
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- SslProperties DataSource Ssl Properties Args 
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- map[string]string
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Type string
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- VpcConnection DataProperties Source Vpc Connection Properties Args 
- 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.
- arn String
- Amazon Resource Name (ARN) of the data source
- awsAccount StringId 
- 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.
- credentials
DataSource Credentials 
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- dataSource StringId 
- An identifier for the data source.
- name String
- A name for the data source, maximum of 128 characters.
- parameters
DataSource Parameters 
- The parameters used to connect to this data source (exactly one).
- permissions
List<DataSource Permission> 
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- sslProperties DataSource Ssl Properties 
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type String
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- vpcConnection DataProperties Source Vpc Connection Properties 
- 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.
- arn string
- Amazon Resource Name (ARN) of the data source
- awsAccount stringId 
- 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.
- credentials
DataSource Credentials 
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- dataSource stringId 
- An identifier for the data source.
- name string
- A name for the data source, maximum of 128 characters.
- parameters
DataSource Parameters 
- The parameters used to connect to this data source (exactly one).
- permissions
DataSource Permission[] 
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- sslProperties DataSource Ssl Properties 
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type string
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- vpcConnection DataProperties Source Vpc Connection Properties 
- 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.
- arn str
- Amazon Resource Name (ARN) of the data source
- aws_account_ strid 
- 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.
- credentials
DataSource Credentials Args 
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- data_source_ strid 
- An identifier for the data source.
- name str
- A name for the data source, maximum of 128 characters.
- parameters
DataSource Parameters Args 
- The parameters used to connect to this data source (exactly one).
- permissions
Sequence[DataSource Permission Args] 
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- ssl_properties DataSource Ssl Properties Args 
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type str
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- vpc_connection_ Dataproperties Source Vpc Connection Properties Args 
- 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.
- arn String
- Amazon Resource Name (ARN) of the data source
- awsAccount StringId 
- 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.
- credentials Property Map
- The credentials Amazon QuickSight uses to connect to your underlying source. See Credentials below for more details.
- dataSource StringId 
- An identifier for the data source.
- name String
- A name for the data source, maximum of 128 characters.
- parameters Property Map
- The parameters used to connect to this data source (exactly one).
- permissions List<Property Map>
- A set of resource permissions on the data source. Maximum of 64 items. See Permission below for more details.
- sslProperties Property Map
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source. See SSL Properties below for more details.
- Map<String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type String
- The type of the data source. See the AWS Documentation for the complete list of valid values. - The following arguments are optional: 
- vpcConnection Property MapProperties 
- 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.
Supporting Types
DataSourceCredentials, DataSourceCredentialsArgs      
- CopySource stringArn 
- The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
When the value is not null, the credential_pairfrom the data source in the ARN is used.
- CredentialPair DataSource Credentials Credential Pair 
- Credential pair. See Credential Pair below for more details.
- SecretArn string
- The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
- CopySource stringArn 
- The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
When the value is not null, the credential_pairfrom the data source in the ARN is used.
- CredentialPair DataSource Credentials Credential Pair 
- Credential pair. See Credential Pair below for more details.
- SecretArn string
- The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
- copySource StringArn 
- The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
When the value is not null, the credential_pairfrom the data source in the ARN is used.
- credentialPair DataSource Credentials Credential Pair 
- Credential pair. See Credential Pair below for more details.
- secretArn String
- The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
- copySource stringArn 
- The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
When the value is not null, the credential_pairfrom the data source in the ARN is used.
- credentialPair DataSource Credentials Credential Pair 
- Credential pair. See Credential Pair below for more details.
- secretArn string
- The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
- copy_source_ strarn 
- The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
When the value is not null, the credential_pairfrom the data source in the ARN is used.
- credential_pair DataSource Credentials Credential Pair 
- Credential pair. See Credential Pair below for more details.
- secret_arn str
- The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
- copySource StringArn 
- The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
When the value is not null, the credential_pairfrom the data source in the ARN is used.
- credentialPair Property Map
- Credential pair. See Credential Pair below for more details.
- secretArn String
- The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
DataSourceCredentialsCredentialPair, DataSourceCredentialsCredentialPairArgs          
DataSourceParameters, DataSourceParametersArgs      
- AmazonElasticsearch DataSource Parameters Amazon Elasticsearch 
- Parameters for connecting to Amazon Elasticsearch.
- Athena
DataSource Parameters Athena 
- Parameters for connecting to Athena.
- Aurora
DataSource Parameters Aurora 
- Parameters for connecting to Aurora MySQL.
- AuroraPostgresql DataSource Parameters Aurora Postgresql 
- Parameters for connecting to Aurora Postgresql.
- AwsIot DataAnalytics Source Parameters Aws Iot Analytics 
- Parameters for connecting to AWS IOT Analytics.
- Databricks
DataSource Parameters Databricks 
- Parameters for connecting to Databricks.
- Jira
DataSource Parameters Jira 
- Parameters for connecting to Jira.
- MariaDb DataSource Parameters Maria Db 
- Parameters for connecting to MariaDB.
- Mysql
DataSource Parameters Mysql 
- Parameters for connecting to MySQL.
- Oracle
DataSource Parameters Oracle 
- Parameters for connecting to Oracle.
- Postgresql
DataSource Parameters Postgresql 
- Parameters for connecting to Postgresql.
- Presto
DataSource Parameters Presto 
- Parameters for connecting to Presto.
- Rds
DataSource Parameters Rds 
- Parameters for connecting to RDS.
- Redshift
DataSource Parameters Redshift 
- Parameters for connecting to Redshift.
- S3
DataSource Parameters S3 
- Parameters for connecting to S3.
- ServiceNow DataSource Parameters Service Now 
- Parameters for connecting to ServiceNow.
- Snowflake
DataSource Parameters Snowflake 
- Parameters for connecting to Snowflake.
- Spark
DataSource Parameters Spark 
- Parameters for connecting to Spark.
- SqlServer DataSource Parameters Sql Server 
- Parameters for connecting to SQL Server.
- Teradata
DataSource Parameters Teradata 
- Parameters for connecting to Teradata.
- Twitter
DataSource Parameters Twitter 
- Parameters for connecting to Twitter.
- AmazonElasticsearch DataSource Parameters Amazon Elasticsearch 
- Parameters for connecting to Amazon Elasticsearch.
- Athena
DataSource Parameters Athena 
- Parameters for connecting to Athena.
- Aurora
DataSource Parameters Aurora 
- Parameters for connecting to Aurora MySQL.
- AuroraPostgresql DataSource Parameters Aurora Postgresql 
- Parameters for connecting to Aurora Postgresql.
- AwsIot DataAnalytics Source Parameters Aws Iot Analytics 
- Parameters for connecting to AWS IOT Analytics.
- Databricks
DataSource Parameters Databricks 
- Parameters for connecting to Databricks.
- Jira
DataSource Parameters Jira 
- Parameters for connecting to Jira.
- MariaDb DataSource Parameters Maria Db 
- Parameters for connecting to MariaDB.
- Mysql
DataSource Parameters Mysql 
- Parameters for connecting to MySQL.
- Oracle
DataSource Parameters Oracle 
- Parameters for connecting to Oracle.
- Postgresql
DataSource Parameters Postgresql 
- Parameters for connecting to Postgresql.
- Presto
DataSource Parameters Presto 
- Parameters for connecting to Presto.
- Rds
DataSource Parameters Rds 
- Parameters for connecting to RDS.
- Redshift
DataSource Parameters Redshift 
- Parameters for connecting to Redshift.
- S3
DataSource Parameters S3 
- Parameters for connecting to S3.
- ServiceNow DataSource Parameters Service Now 
- Parameters for connecting to ServiceNow.
- Snowflake
DataSource Parameters Snowflake 
- Parameters for connecting to Snowflake.
- Spark
DataSource Parameters Spark 
- Parameters for connecting to Spark.
- SqlServer DataSource Parameters Sql Server 
- Parameters for connecting to SQL Server.
- Teradata
DataSource Parameters Teradata 
- Parameters for connecting to Teradata.
- Twitter
DataSource Parameters Twitter 
- Parameters for connecting to Twitter.
- amazonElasticsearch DataSource Parameters Amazon Elasticsearch 
- Parameters for connecting to Amazon Elasticsearch.
- athena
DataSource Parameters Athena 
- Parameters for connecting to Athena.
- aurora
DataSource Parameters Aurora 
- Parameters for connecting to Aurora MySQL.
- auroraPostgresql DataSource Parameters Aurora Postgresql 
- Parameters for connecting to Aurora Postgresql.
- awsIot DataAnalytics Source Parameters Aws Iot Analytics 
- Parameters for connecting to AWS IOT Analytics.
- databricks
DataSource Parameters Databricks 
- Parameters for connecting to Databricks.
- jira
DataSource Parameters Jira 
- Parameters for connecting to Jira.
- mariaDb DataSource Parameters Maria Db 
- Parameters for connecting to MariaDB.
- mysql
DataSource Parameters Mysql 
- Parameters for connecting to MySQL.
- oracle
DataSource Parameters Oracle 
- Parameters for connecting to Oracle.
- postgresql
DataSource Parameters Postgresql 
- Parameters for connecting to Postgresql.
- presto
DataSource Parameters Presto 
- Parameters for connecting to Presto.
- rds
DataSource Parameters Rds 
- Parameters for connecting to RDS.
- redshift
DataSource Parameters Redshift 
- Parameters for connecting to Redshift.
- s3
DataSource Parameters S3 
- Parameters for connecting to S3.
- serviceNow DataSource Parameters Service Now 
- Parameters for connecting to ServiceNow.
- snowflake
DataSource Parameters Snowflake 
- Parameters for connecting to Snowflake.
- spark
DataSource Parameters Spark 
- Parameters for connecting to Spark.
- sqlServer DataSource Parameters Sql Server 
- Parameters for connecting to SQL Server.
- teradata
DataSource Parameters Teradata 
- Parameters for connecting to Teradata.
- twitter
DataSource Parameters Twitter 
- Parameters for connecting to Twitter.
- amazonElasticsearch DataSource Parameters Amazon Elasticsearch 
- Parameters for connecting to Amazon Elasticsearch.
- athena
DataSource Parameters Athena 
- Parameters for connecting to Athena.
- aurora
DataSource Parameters Aurora 
- Parameters for connecting to Aurora MySQL.
- auroraPostgresql DataSource Parameters Aurora Postgresql 
- Parameters for connecting to Aurora Postgresql.
- awsIot DataAnalytics Source Parameters Aws Iot Analytics 
- Parameters for connecting to AWS IOT Analytics.
- databricks
DataSource Parameters Databricks 
- Parameters for connecting to Databricks.
- jira
DataSource Parameters Jira 
- Parameters for connecting to Jira.
- mariaDb DataSource Parameters Maria Db 
- Parameters for connecting to MariaDB.
- mysql
DataSource Parameters Mysql 
- Parameters for connecting to MySQL.
- oracle
DataSource Parameters Oracle 
- Parameters for connecting to Oracle.
- postgresql
DataSource Parameters Postgresql 
- Parameters for connecting to Postgresql.
- presto
DataSource Parameters Presto 
- Parameters for connecting to Presto.
- rds
DataSource Parameters Rds 
- Parameters for connecting to RDS.
- redshift
DataSource Parameters Redshift 
- Parameters for connecting to Redshift.
- s3
DataSource Parameters S3 
- Parameters for connecting to S3.
- serviceNow DataSource Parameters Service Now 
- Parameters for connecting to ServiceNow.
- snowflake
DataSource Parameters Snowflake 
- Parameters for connecting to Snowflake.
- spark
DataSource Parameters Spark 
- Parameters for connecting to Spark.
- sqlServer DataSource Parameters Sql Server 
- Parameters for connecting to SQL Server.
- teradata
DataSource Parameters Teradata 
- Parameters for connecting to Teradata.
- twitter
DataSource Parameters Twitter 
- Parameters for connecting to Twitter.
- amazon_elasticsearch DataSource Parameters Amazon Elasticsearch 
- Parameters for connecting to Amazon Elasticsearch.
- athena
DataSource Parameters Athena 
- Parameters for connecting to Athena.
- aurora
DataSource Parameters Aurora 
- Parameters for connecting to Aurora MySQL.
- aurora_postgresql DataSource Parameters Aurora Postgresql 
- Parameters for connecting to Aurora Postgresql.
- aws_iot_ Dataanalytics Source Parameters Aws Iot Analytics 
- Parameters for connecting to AWS IOT Analytics.
- databricks
DataSource Parameters Databricks 
- Parameters for connecting to Databricks.
- jira
DataSource Parameters Jira 
- Parameters for connecting to Jira.
- maria_db DataSource Parameters Maria Db 
- Parameters for connecting to MariaDB.
- mysql
DataSource Parameters Mysql 
- Parameters for connecting to MySQL.
- oracle
DataSource Parameters Oracle 
- Parameters for connecting to Oracle.
- postgresql
DataSource Parameters Postgresql 
- Parameters for connecting to Postgresql.
- presto
DataSource Parameters Presto 
- Parameters for connecting to Presto.
- rds
DataSource Parameters Rds 
- Parameters for connecting to RDS.
- redshift
DataSource Parameters Redshift 
- Parameters for connecting to Redshift.
- s3
DataSource Parameters S3 
- Parameters for connecting to S3.
- service_now DataSource Parameters Service Now 
- Parameters for connecting to ServiceNow.
- snowflake
DataSource Parameters Snowflake 
- Parameters for connecting to Snowflake.
- spark
DataSource Parameters Spark 
- Parameters for connecting to Spark.
- sql_server DataSource Parameters Sql Server 
- Parameters for connecting to SQL Server.
- teradata
DataSource Parameters Teradata 
- Parameters for connecting to Teradata.
- twitter
DataSource Parameters Twitter 
- Parameters for connecting to Twitter.
- amazonElasticsearch Property Map
- Parameters for connecting to Amazon Elasticsearch.
- athena Property Map
- Parameters for connecting to Athena.
- aurora Property Map
- Parameters for connecting to Aurora MySQL.
- auroraPostgresql Property Map
- Parameters for connecting to Aurora Postgresql.
- awsIot Property MapAnalytics 
- Parameters for connecting to AWS IOT Analytics.
- databricks Property Map
- Parameters for connecting to Databricks.
- jira Property Map
- Parameters for connecting to Jira.
- mariaDb Property Map
- Parameters for connecting to MariaDB.
- mysql Property Map
- Parameters for connecting to MySQL.
- oracle Property Map
- Parameters for connecting to Oracle.
- postgresql Property Map
- Parameters for connecting to Postgresql.
- presto Property Map
- Parameters for connecting to Presto.
- rds Property Map
- Parameters for connecting to RDS.
- redshift Property Map
- Parameters for connecting to Redshift.
- s3 Property Map
- Parameters for connecting to S3.
- serviceNow Property Map
- Parameters for connecting to ServiceNow.
- snowflake Property Map
- Parameters for connecting to Snowflake.
- spark Property Map
- Parameters for connecting to Spark.
- sqlServer Property Map
- Parameters for connecting to SQL Server.
- teradata Property Map
- Parameters for connecting to Teradata.
- twitter Property Map
- Parameters for connecting to Twitter.
DataSourceParametersAmazonElasticsearch, DataSourceParametersAmazonElasticsearchArgs          
- Domain string
- The OpenSearch domain.
- Domain string
- The OpenSearch domain.
- domain String
- The OpenSearch domain.
- domain string
- The OpenSearch domain.
- domain str
- The OpenSearch domain.
- domain String
- The OpenSearch domain.
DataSourceParametersAthena, DataSourceParametersAthenaArgs        
- WorkGroup string
- The work-group to which to connect.
- WorkGroup string
- The work-group to which to connect.
- workGroup String
- The work-group to which to connect.
- workGroup string
- The work-group to which to connect.
- work_group str
- The work-group to which to connect.
- workGroup String
- The work-group to which to connect.
DataSourceParametersAurora, DataSourceParametersAuroraArgs        
DataSourceParametersAuroraPostgresql, DataSourceParametersAuroraPostgresqlArgs          
DataSourceParametersAwsIotAnalytics, DataSourceParametersAwsIotAnalyticsArgs            
- DataSet stringName 
- The name of the data set to which to connect.
- DataSet stringName 
- The name of the data set to which to connect.
- dataSet StringName 
- The name of the data set to which to connect.
- dataSet stringName 
- The name of the data set to which to connect.
- data_set_ strname 
- The name of the data set to which to connect.
- dataSet StringName 
- The name of the data set to which to connect.
DataSourceParametersDatabricks, DataSourceParametersDatabricksArgs        
- Host string
- The host name of the Databricks data source.
- Port int
- The port for the Databricks data source.
- SqlEndpoint stringPath 
- The HTTP path of the Databricks data source.
- Host string
- The host name of the Databricks data source.
- Port int
- The port for the Databricks data source.
- SqlEndpoint stringPath 
- The HTTP path of the Databricks data source.
- host String
- The host name of the Databricks data source.
- port Integer
- The port for the Databricks data source.
- sqlEndpoint StringPath 
- The HTTP path of the Databricks data source.
- host string
- The host name of the Databricks data source.
- port number
- The port for the Databricks data source.
- sqlEndpoint stringPath 
- The HTTP path of the Databricks data source.
- host str
- The host name of the Databricks data source.
- port int
- The port for the Databricks data source.
- sql_endpoint_ strpath 
- The HTTP path of the Databricks data source.
- host String
- The host name of the Databricks data source.
- port Number
- The port for the Databricks data source.
- sqlEndpoint StringPath 
- The HTTP path of the Databricks data source.
DataSourceParametersJira, DataSourceParametersJiraArgs        
- SiteBase stringUrl 
- The base URL of the Jira instance's site to which to connect.
- SiteBase stringUrl 
- The base URL of the Jira instance's site to which to connect.
- siteBase StringUrl 
- The base URL of the Jira instance's site to which to connect.
- siteBase stringUrl 
- The base URL of the Jira instance's site to which to connect.
- site_base_ strurl 
- The base URL of the Jira instance's site to which to connect.
- siteBase StringUrl 
- The base URL of the Jira instance's site to which to connect.
DataSourceParametersMariaDb, DataSourceParametersMariaDbArgs          
DataSourceParametersMysql, DataSourceParametersMysqlArgs        
DataSourceParametersOracle, DataSourceParametersOracleArgs        
DataSourceParametersPostgresql, DataSourceParametersPostgresqlArgs        
DataSourceParametersPresto, DataSourceParametersPrestoArgs        
DataSourceParametersRds, DataSourceParametersRdsArgs        
- Database string
- The database to which to connect.
- InstanceId string
- The instance ID to which to connect.
- Database string
- The database to which to connect.
- InstanceId string
- The instance ID to which to connect.
- database String
- The database to which to connect.
- instanceId String
- The instance ID to which to connect.
- database string
- The database to which to connect.
- instanceId string
- The instance ID to which to connect.
- database str
- The database to which to connect.
- instance_id str
- The instance ID to which to connect.
- database String
- The database to which to connect.
- instanceId String
- The instance ID to which to connect.
DataSourceParametersRedshift, DataSourceParametersRedshiftArgs        
- database str
- The database to which to connect.
- cluster_id str
- The ID of the cluster to which to connect.
- host str
- The host to which to connect.
- port int
- The port to which to connect.
DataSourceParametersS3, DataSourceParametersS3Args        
- ManifestFile DataLocation Source Parameters S3Manifest File Location 
- An object containing the S3 location of the S3 manifest file.
- RoleArn string
- Use the role_arnto override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then userole_arnto 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.
- ManifestFile DataLocation Source Parameters S3Manifest File Location 
- An object containing the S3 location of the S3 manifest file.
- RoleArn string
- Use the role_arnto override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then userole_arnto 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.
- manifestFile DataLocation Source Parameters S3Manifest File Location 
- An object containing the S3 location of the S3 manifest file.
- roleArn String
- Use the role_arnto override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then userole_arnto 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.
- manifestFile DataLocation Source Parameters S3Manifest File Location 
- An object containing the S3 location of the S3 manifest file.
- roleArn string
- Use the role_arnto override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then userole_arnto 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.
- manifest_file_ Datalocation Source Parameters S3Manifest File Location 
- An object containing the S3 location of the S3 manifest file.
- role_arn str
- Use the role_arnto override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then userole_arnto 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.
- manifestFile Property MapLocation 
- An object containing the S3 location of the S3 manifest file.
- roleArn String
- Use the role_arnto override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then userole_arnto 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.
DataSourceParametersS3ManifestFileLocation, DataSourceParametersS3ManifestFileLocationArgs            
DataSourceParametersServiceNow, DataSourceParametersServiceNowArgs          
- SiteBase stringUrl 
- The base URL of the Jira instance's site to which to connect.
- SiteBase stringUrl 
- The base URL of the Jira instance's site to which to connect.
- siteBase StringUrl 
- The base URL of the Jira instance's site to which to connect.
- siteBase stringUrl 
- The base URL of the Jira instance's site to which to connect.
- site_base_ strurl 
- The base URL of the Jira instance's site to which to connect.
- siteBase StringUrl 
- The base URL of the Jira instance's site to which to connect.
DataSourceParametersSnowflake, DataSourceParametersSnowflakeArgs        
DataSourceParametersSpark, DataSourceParametersSparkArgs        
DataSourceParametersSqlServer, DataSourceParametersSqlServerArgs          
DataSourceParametersTeradata, DataSourceParametersTeradataArgs        
DataSourceParametersTwitter, DataSourceParametersTwitterArgs        
DataSourcePermission, DataSourcePermissionArgs      
DataSourceSslProperties, DataSourceSslPropertiesArgs        
- DisableSsl bool
- A Boolean option to control whether SSL should be disabled.
- DisableSsl bool
- A Boolean option to control whether SSL should be disabled.
- disableSsl Boolean
- A Boolean option to control whether SSL should be disabled.
- disableSsl boolean
- A Boolean option to control whether SSL should be disabled.
- disable_ssl bool
- A Boolean option to control whether SSL should be disabled.
- disableSsl Boolean
- A Boolean option to control whether SSL should be disabled.
DataSourceVpcConnectionProperties, DataSourceVpcConnectionPropertiesArgs          
- VpcConnection stringArn 
- The Amazon Resource Name (ARN) for the VPC connection.
- VpcConnection stringArn 
- The Amazon Resource Name (ARN) for the VPC connection.
- vpcConnection StringArn 
- The Amazon Resource Name (ARN) for the VPC connection.
- vpcConnection stringArn 
- The Amazon Resource Name (ARN) for the VPC connection.
- vpc_connection_ strarn 
- The Amazon Resource Name (ARN) for the VPC connection.
- vpcConnection StringArn 
- The Amazon Resource Name (ARN) for the VPC connection.
Import
Using pulumi import, import a QuickSight data source using the AWS account ID, and data source ID separated by a slash (/). For example:
$ pulumi import aws:quicksight/dataSource:DataSource example 123456789123/my-data-source-id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.