1. Packages
  2. AWS Classic
  3. API Docs
  4. quicksight
  5. Ingestion

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.24.0 published on Tuesday, Feb 27, 2024 by Pulumi

aws.quicksight.Ingestion

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.24.0 published on Tuesday, Feb 27, 2024 by Pulumi

    Resource for managing an AWS QuickSight Ingestion.

    Example Usage

    Basic Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Quicksight.Ingestion("example", new()
        {
            DataSetId = aws_quicksight_data_set.Example.Data_set_id,
            IngestionId = "example-id",
            IngestionType = "FULL_REFRESH",
        });
    
    });
    
    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.NewIngestion(ctx, "example", &quicksight.IngestionArgs{
    			DataSetId:     pulumi.Any(aws_quicksight_data_set.Example.Data_set_id),
    			IngestionId:   pulumi.String("example-id"),
    			IngestionType: pulumi.String("FULL_REFRESH"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.quicksight.Ingestion;
    import com.pulumi.aws.quicksight.IngestionArgs;
    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 example = new Ingestion("example", IngestionArgs.builder()        
                .dataSetId(aws_quicksight_data_set.example().data_set_id())
                .ingestionId("example-id")
                .ingestionType("FULL_REFRESH")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.quicksight.Ingestion("example",
        data_set_id=aws_quicksight_data_set["example"]["data_set_id"],
        ingestion_id="example-id",
        ingestion_type="FULL_REFRESH")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.quicksight.Ingestion("example", {
        dataSetId: aws_quicksight_data_set.example.data_set_id,
        ingestionId: "example-id",
        ingestionType: "FULL_REFRESH",
    });
    
    resources:
      example:
        type: aws:quicksight:Ingestion
        properties:
          dataSetId: ${aws_quicksight_data_set.example.data_set_id}
          ingestionId: example-id
          ingestionType: FULL_REFRESH
    

    Create Ingestion Resource

    new Ingestion(name: string, args: IngestionArgs, opts?: CustomResourceOptions);
    @overload
    def Ingestion(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  aws_account_id: Optional[str] = None,
                  data_set_id: Optional[str] = None,
                  ingestion_id: Optional[str] = None,
                  ingestion_type: Optional[str] = None)
    @overload
    def Ingestion(resource_name: str,
                  args: IngestionArgs,
                  opts: Optional[ResourceOptions] = None)
    func NewIngestion(ctx *Context, name string, args IngestionArgs, opts ...ResourceOption) (*Ingestion, error)
    public Ingestion(string name, IngestionArgs args, CustomResourceOptions? opts = null)
    public Ingestion(String name, IngestionArgs args)
    public Ingestion(String name, IngestionArgs args, CustomResourceOptions options)
    
    type: aws:quicksight:Ingestion
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args IngestionArgs
    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 IngestionArgs
    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 IngestionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IngestionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IngestionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Ingestion Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Ingestion resource accepts the following input properties:

    DataSetId string
    ID of the dataset used in the ingestion.
    IngestionId string
    ID for the ingestion.
    IngestionType string

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    AwsAccountId string
    AWS account ID.
    DataSetId string
    ID of the dataset used in the ingestion.
    IngestionId string
    ID for the ingestion.
    IngestionType string

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    AwsAccountId string
    AWS account ID.
    dataSetId String
    ID of the dataset used in the ingestion.
    ingestionId String
    ID for the ingestion.
    ingestionType String

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    awsAccountId String
    AWS account ID.
    dataSetId string
    ID of the dataset used in the ingestion.
    ingestionId string
    ID for the ingestion.
    ingestionType string

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    awsAccountId string
    AWS account ID.
    data_set_id str
    ID of the dataset used in the ingestion.
    ingestion_id str
    ID for the ingestion.
    ingestion_type str

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    aws_account_id str
    AWS account ID.
    dataSetId String
    ID of the dataset used in the ingestion.
    ingestionId String
    ID for the ingestion.
    ingestionType String

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    awsAccountId String
    AWS account ID.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Ingestion resource produces the following output properties:

    Arn string
    ARN of the Ingestion.
    Id string
    The provider-assigned unique ID for this managed resource.
    IngestionStatus string
    Ingestion status.
    Arn string
    ARN of the Ingestion.
    Id string
    The provider-assigned unique ID for this managed resource.
    IngestionStatus string
    Ingestion status.
    arn String
    ARN of the Ingestion.
    id String
    The provider-assigned unique ID for this managed resource.
    ingestionStatus String
    Ingestion status.
    arn string
    ARN of the Ingestion.
    id string
    The provider-assigned unique ID for this managed resource.
    ingestionStatus string
    Ingestion status.
    arn str
    ARN of the Ingestion.
    id str
    The provider-assigned unique ID for this managed resource.
    ingestion_status str
    Ingestion status.
    arn String
    ARN of the Ingestion.
    id String
    The provider-assigned unique ID for this managed resource.
    ingestionStatus String
    Ingestion status.

    Look up Existing Ingestion Resource

    Get an existing Ingestion 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?: IngestionState, opts?: CustomResourceOptions): Ingestion
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            aws_account_id: Optional[str] = None,
            data_set_id: Optional[str] = None,
            ingestion_id: Optional[str] = None,
            ingestion_status: Optional[str] = None,
            ingestion_type: Optional[str] = None) -> Ingestion
    func GetIngestion(ctx *Context, name string, id IDInput, state *IngestionState, opts ...ResourceOption) (*Ingestion, error)
    public static Ingestion Get(string name, Input<string> id, IngestionState? state, CustomResourceOptions? opts = null)
    public static Ingestion get(String name, Output<String> id, IngestionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Arn string
    ARN of the Ingestion.
    AwsAccountId string
    AWS account ID.
    DataSetId string
    ID of the dataset used in the ingestion.
    IngestionId string
    ID for the ingestion.
    IngestionStatus string
    Ingestion status.
    IngestionType string

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    Arn string
    ARN of the Ingestion.
    AwsAccountId string
    AWS account ID.
    DataSetId string
    ID of the dataset used in the ingestion.
    IngestionId string
    ID for the ingestion.
    IngestionStatus string
    Ingestion status.
    IngestionType string

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    arn String
    ARN of the Ingestion.
    awsAccountId String
    AWS account ID.
    dataSetId String
    ID of the dataset used in the ingestion.
    ingestionId String
    ID for the ingestion.
    ingestionStatus String
    Ingestion status.
    ingestionType String

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    arn string
    ARN of the Ingestion.
    awsAccountId string
    AWS account ID.
    dataSetId string
    ID of the dataset used in the ingestion.
    ingestionId string
    ID for the ingestion.
    ingestionStatus string
    Ingestion status.
    ingestionType string

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    arn str
    ARN of the Ingestion.
    aws_account_id str
    AWS account ID.
    data_set_id str
    ID of the dataset used in the ingestion.
    ingestion_id str
    ID for the ingestion.
    ingestion_status str
    Ingestion status.
    ingestion_type str

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    arn String
    ARN of the Ingestion.
    awsAccountId String
    AWS account ID.
    dataSetId String
    ID of the dataset used in the ingestion.
    ingestionId String
    ID for the ingestion.
    ingestionStatus String
    Ingestion status.
    ingestionType String

    Type of ingestion to be created. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.

    The following arguments are optional:

    Import

    Using pulumi import, import QuickSight Ingestion using the AWS account ID, data set ID, and ingestion ID separated by commas (,). For example:

     $ pulumi import aws:quicksight/ingestion:Ingestion example 123456789012,example-dataset-id,example-ingestion-id
    

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.24.0 published on Tuesday, Feb 27, 2024 by Pulumi