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

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

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

aws.quicksight.RefreshSchedule

Explore with Pulumi AI

aws logo

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

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

    Resource for managing a QuickSight Refresh Schedule.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.quicksight.RefreshSchedule("example", {
        dataSetId: "dataset-id",
        scheduleId: "schedule-id",
        schedule: {
            refreshType: "FULL_REFRESH",
            scheduleFrequency: {
                interval: "HOURLY",
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.quicksight.RefreshSchedule("example",
        data_set_id="dataset-id",
        schedule_id="schedule-id",
        schedule=aws.quicksight.RefreshScheduleScheduleArgs(
            refresh_type="FULL_REFRESH",
            schedule_frequency=aws.quicksight.RefreshScheduleScheduleScheduleFrequencyArgs(
                interval="HOURLY",
            ),
        ))
    
    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.NewRefreshSchedule(ctx, "example", &quicksight.RefreshScheduleArgs{
    			DataSetId:  pulumi.String("dataset-id"),
    			ScheduleId: pulumi.String("schedule-id"),
    			Schedule: &quicksight.RefreshScheduleScheduleArgs{
    				RefreshType: pulumi.String("FULL_REFRESH"),
    				ScheduleFrequency: &quicksight.RefreshScheduleScheduleScheduleFrequencyArgs{
    					Interval: pulumi.String("HOURLY"),
    				},
    			},
    		})
    		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 example = new Aws.Quicksight.RefreshSchedule("example", new()
        {
            DataSetId = "dataset-id",
            ScheduleId = "schedule-id",
            Schedule = new Aws.Quicksight.Inputs.RefreshScheduleScheduleArgs
            {
                RefreshType = "FULL_REFRESH",
                ScheduleFrequency = new Aws.Quicksight.Inputs.RefreshScheduleScheduleScheduleFrequencyArgs
                {
                    Interval = "HOURLY",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.quicksight.RefreshSchedule;
    import com.pulumi.aws.quicksight.RefreshScheduleArgs;
    import com.pulumi.aws.quicksight.inputs.RefreshScheduleScheduleArgs;
    import com.pulumi.aws.quicksight.inputs.RefreshScheduleScheduleScheduleFrequencyArgs;
    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 RefreshSchedule("example", RefreshScheduleArgs.builder()        
                .dataSetId("dataset-id")
                .scheduleId("schedule-id")
                .schedule(RefreshScheduleScheduleArgs.builder()
                    .refreshType("FULL_REFRESH")
                    .scheduleFrequency(RefreshScheduleScheduleScheduleFrequencyArgs.builder()
                        .interval("HOURLY")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:quicksight:RefreshSchedule
        properties:
          dataSetId: dataset-id
          scheduleId: schedule-id
          schedule:
            refreshType: FULL_REFRESH
            scheduleFrequency:
              interval: HOURLY
    

    With Weekly Refresh

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.quicksight.RefreshSchedule("example", {
        dataSetId: "dataset-id",
        scheduleId: "schedule-id",
        schedule: {
            refreshType: "INCREMENTAL_REFRESH",
            scheduleFrequency: {
                interval: "WEEKLY",
                timeOfTheDay: "01:00",
                timezone: "Europe/London",
                refreshOnDay: {
                    dayOfWeek: "MONDAY",
                },
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.quicksight.RefreshSchedule("example",
        data_set_id="dataset-id",
        schedule_id="schedule-id",
        schedule=aws.quicksight.RefreshScheduleScheduleArgs(
            refresh_type="INCREMENTAL_REFRESH",
            schedule_frequency=aws.quicksight.RefreshScheduleScheduleScheduleFrequencyArgs(
                interval="WEEKLY",
                time_of_the_day="01:00",
                timezone="Europe/London",
                refresh_on_day=aws.quicksight.RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs(
                    day_of_week="MONDAY",
                ),
            ),
        ))
    
    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.NewRefreshSchedule(ctx, "example", &quicksight.RefreshScheduleArgs{
    			DataSetId:  pulumi.String("dataset-id"),
    			ScheduleId: pulumi.String("schedule-id"),
    			Schedule: &quicksight.RefreshScheduleScheduleArgs{
    				RefreshType: pulumi.String("INCREMENTAL_REFRESH"),
    				ScheduleFrequency: &quicksight.RefreshScheduleScheduleScheduleFrequencyArgs{
    					Interval:     pulumi.String("WEEKLY"),
    					TimeOfTheDay: pulumi.String("01:00"),
    					Timezone:     pulumi.String("Europe/London"),
    					RefreshOnDay: &quicksight.RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs{
    						DayOfWeek: pulumi.String("MONDAY"),
    					},
    				},
    			},
    		})
    		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 example = new Aws.Quicksight.RefreshSchedule("example", new()
        {
            DataSetId = "dataset-id",
            ScheduleId = "schedule-id",
            Schedule = new Aws.Quicksight.Inputs.RefreshScheduleScheduleArgs
            {
                RefreshType = "INCREMENTAL_REFRESH",
                ScheduleFrequency = new Aws.Quicksight.Inputs.RefreshScheduleScheduleScheduleFrequencyArgs
                {
                    Interval = "WEEKLY",
                    TimeOfTheDay = "01:00",
                    Timezone = "Europe/London",
                    RefreshOnDay = new Aws.Quicksight.Inputs.RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs
                    {
                        DayOfWeek = "MONDAY",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.quicksight.RefreshSchedule;
    import com.pulumi.aws.quicksight.RefreshScheduleArgs;
    import com.pulumi.aws.quicksight.inputs.RefreshScheduleScheduleArgs;
    import com.pulumi.aws.quicksight.inputs.RefreshScheduleScheduleScheduleFrequencyArgs;
    import com.pulumi.aws.quicksight.inputs.RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs;
    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 RefreshSchedule("example", RefreshScheduleArgs.builder()        
                .dataSetId("dataset-id")
                .scheduleId("schedule-id")
                .schedule(RefreshScheduleScheduleArgs.builder()
                    .refreshType("INCREMENTAL_REFRESH")
                    .scheduleFrequency(RefreshScheduleScheduleScheduleFrequencyArgs.builder()
                        .interval("WEEKLY")
                        .timeOfTheDay("01:00")
                        .timezone("Europe/London")
                        .refreshOnDay(RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs.builder()
                            .dayOfWeek("MONDAY")
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:quicksight:RefreshSchedule
        properties:
          dataSetId: dataset-id
          scheduleId: schedule-id
          schedule:
            refreshType: INCREMENTAL_REFRESH
            scheduleFrequency:
              interval: WEEKLY
              timeOfTheDay: 01:00
              timezone: Europe/London
              refreshOnDay:
                dayOfWeek: MONDAY
    

    With Monthly Refresh

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.quicksight.RefreshSchedule("example", {
        dataSetId: "dataset-id",
        scheduleId: "schedule-id",
        schedule: {
            refreshType: "INCREMENTAL_REFRESH",
            scheduleFrequency: {
                interval: "MONTHLY",
                timeOfTheDay: "01:00",
                timezone: "Europe/London",
                refreshOnDay: {
                    dayOfMonth: "1",
                },
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.quicksight.RefreshSchedule("example",
        data_set_id="dataset-id",
        schedule_id="schedule-id",
        schedule=aws.quicksight.RefreshScheduleScheduleArgs(
            refresh_type="INCREMENTAL_REFRESH",
            schedule_frequency=aws.quicksight.RefreshScheduleScheduleScheduleFrequencyArgs(
                interval="MONTHLY",
                time_of_the_day="01:00",
                timezone="Europe/London",
                refresh_on_day=aws.quicksight.RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs(
                    day_of_month="1",
                ),
            ),
        ))
    
    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.NewRefreshSchedule(ctx, "example", &quicksight.RefreshScheduleArgs{
    			DataSetId:  pulumi.String("dataset-id"),
    			ScheduleId: pulumi.String("schedule-id"),
    			Schedule: &quicksight.RefreshScheduleScheduleArgs{
    				RefreshType: pulumi.String("INCREMENTAL_REFRESH"),
    				ScheduleFrequency: &quicksight.RefreshScheduleScheduleScheduleFrequencyArgs{
    					Interval:     pulumi.String("MONTHLY"),
    					TimeOfTheDay: pulumi.String("01:00"),
    					Timezone:     pulumi.String("Europe/London"),
    					RefreshOnDay: &quicksight.RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs{
    						DayOfMonth: pulumi.String("1"),
    					},
    				},
    			},
    		})
    		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 example = new Aws.Quicksight.RefreshSchedule("example", new()
        {
            DataSetId = "dataset-id",
            ScheduleId = "schedule-id",
            Schedule = new Aws.Quicksight.Inputs.RefreshScheduleScheduleArgs
            {
                RefreshType = "INCREMENTAL_REFRESH",
                ScheduleFrequency = new Aws.Quicksight.Inputs.RefreshScheduleScheduleScheduleFrequencyArgs
                {
                    Interval = "MONTHLY",
                    TimeOfTheDay = "01:00",
                    Timezone = "Europe/London",
                    RefreshOnDay = new Aws.Quicksight.Inputs.RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs
                    {
                        DayOfMonth = "1",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.quicksight.RefreshSchedule;
    import com.pulumi.aws.quicksight.RefreshScheduleArgs;
    import com.pulumi.aws.quicksight.inputs.RefreshScheduleScheduleArgs;
    import com.pulumi.aws.quicksight.inputs.RefreshScheduleScheduleScheduleFrequencyArgs;
    import com.pulumi.aws.quicksight.inputs.RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs;
    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 RefreshSchedule("example", RefreshScheduleArgs.builder()        
                .dataSetId("dataset-id")
                .scheduleId("schedule-id")
                .schedule(RefreshScheduleScheduleArgs.builder()
                    .refreshType("INCREMENTAL_REFRESH")
                    .scheduleFrequency(RefreshScheduleScheduleScheduleFrequencyArgs.builder()
                        .interval("MONTHLY")
                        .timeOfTheDay("01:00")
                        .timezone("Europe/London")
                        .refreshOnDay(RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs.builder()
                            .dayOfMonth("1")
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:quicksight:RefreshSchedule
        properties:
          dataSetId: dataset-id
          scheduleId: schedule-id
          schedule:
            refreshType: INCREMENTAL_REFRESH
            scheduleFrequency:
              interval: MONTHLY
              timeOfTheDay: 01:00
              timezone: Europe/London
              refreshOnDay:
                dayOfMonth: '1'
    

    Create RefreshSchedule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

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

    Example

    The following reference example uses placeholder values for all input properties.

    var refreshScheduleResource = new Aws.Quicksight.RefreshSchedule("refreshScheduleResource", new()
    {
        DataSetId = "string",
        ScheduleId = "string",
        AwsAccountId = "string",
        Schedule = new Aws.Quicksight.Inputs.RefreshScheduleScheduleArgs
        {
            RefreshType = "string",
            ScheduleFrequency = new Aws.Quicksight.Inputs.RefreshScheduleScheduleScheduleFrequencyArgs
            {
                Interval = "string",
                RefreshOnDay = new Aws.Quicksight.Inputs.RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs
                {
                    DayOfMonth = "string",
                    DayOfWeek = "string",
                },
                TimeOfTheDay = "string",
                Timezone = "string",
            },
            StartAfterDateTime = "string",
        },
    });
    
    example, err := quicksight.NewRefreshSchedule(ctx, "refreshScheduleResource", &quicksight.RefreshScheduleArgs{
    	DataSetId:    pulumi.String("string"),
    	ScheduleId:   pulumi.String("string"),
    	AwsAccountId: pulumi.String("string"),
    	Schedule: &quicksight.RefreshScheduleScheduleArgs{
    		RefreshType: pulumi.String("string"),
    		ScheduleFrequency: &quicksight.RefreshScheduleScheduleScheduleFrequencyArgs{
    			Interval: pulumi.String("string"),
    			RefreshOnDay: &quicksight.RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs{
    				DayOfMonth: pulumi.String("string"),
    				DayOfWeek:  pulumi.String("string"),
    			},
    			TimeOfTheDay: pulumi.String("string"),
    			Timezone:     pulumi.String("string"),
    		},
    		StartAfterDateTime: pulumi.String("string"),
    	},
    })
    
    var refreshScheduleResource = new RefreshSchedule("refreshScheduleResource", RefreshScheduleArgs.builder()        
        .dataSetId("string")
        .scheduleId("string")
        .awsAccountId("string")
        .schedule(RefreshScheduleScheduleArgs.builder()
            .refreshType("string")
            .scheduleFrequency(RefreshScheduleScheduleScheduleFrequencyArgs.builder()
                .interval("string")
                .refreshOnDay(RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs.builder()
                    .dayOfMonth("string")
                    .dayOfWeek("string")
                    .build())
                .timeOfTheDay("string")
                .timezone("string")
                .build())
            .startAfterDateTime("string")
            .build())
        .build());
    
    refresh_schedule_resource = aws.quicksight.RefreshSchedule("refreshScheduleResource",
        data_set_id="string",
        schedule_id="string",
        aws_account_id="string",
        schedule=aws.quicksight.RefreshScheduleScheduleArgs(
            refresh_type="string",
            schedule_frequency=aws.quicksight.RefreshScheduleScheduleScheduleFrequencyArgs(
                interval="string",
                refresh_on_day=aws.quicksight.RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs(
                    day_of_month="string",
                    day_of_week="string",
                ),
                time_of_the_day="string",
                timezone="string",
            ),
            start_after_date_time="string",
        ))
    
    const refreshScheduleResource = new aws.quicksight.RefreshSchedule("refreshScheduleResource", {
        dataSetId: "string",
        scheduleId: "string",
        awsAccountId: "string",
        schedule: {
            refreshType: "string",
            scheduleFrequency: {
                interval: "string",
                refreshOnDay: {
                    dayOfMonth: "string",
                    dayOfWeek: "string",
                },
                timeOfTheDay: "string",
                timezone: "string",
            },
            startAfterDateTime: "string",
        },
    });
    
    type: aws:quicksight:RefreshSchedule
    properties:
        awsAccountId: string
        dataSetId: string
        schedule:
            refreshType: string
            scheduleFrequency:
                interval: string
                refreshOnDay:
                    dayOfMonth: string
                    dayOfWeek: string
                timeOfTheDay: string
                timezone: string
            startAfterDateTime: string
        scheduleId: string
    

    RefreshSchedule 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 RefreshSchedule resource accepts the following input properties:

    DataSetId string
    The ID of the dataset.
    ScheduleId string
    The ID of the refresh schedule.
    AwsAccountId string
    AWS account ID.
    Schedule Pulumi.Aws.Quicksight.Inputs.RefreshScheduleSchedule

    The refresh schedule. See schedule

    The following arguments are optional:

    DataSetId string
    The ID of the dataset.
    ScheduleId string
    The ID of the refresh schedule.
    AwsAccountId string
    AWS account ID.
    Schedule RefreshScheduleScheduleArgs

    The refresh schedule. See schedule

    The following arguments are optional:

    dataSetId String
    The ID of the dataset.
    scheduleId String
    The ID of the refresh schedule.
    awsAccountId String
    AWS account ID.
    schedule RefreshScheduleSchedule

    The refresh schedule. See schedule

    The following arguments are optional:

    dataSetId string
    The ID of the dataset.
    scheduleId string
    The ID of the refresh schedule.
    awsAccountId string
    AWS account ID.
    schedule RefreshScheduleSchedule

    The refresh schedule. See schedule

    The following arguments are optional:

    data_set_id str
    The ID of the dataset.
    schedule_id str
    The ID of the refresh schedule.
    aws_account_id str
    AWS account ID.
    schedule RefreshScheduleScheduleArgs

    The refresh schedule. See schedule

    The following arguments are optional:

    dataSetId String
    The ID of the dataset.
    scheduleId String
    The ID of the refresh schedule.
    awsAccountId String
    AWS account ID.
    schedule Property Map

    The refresh schedule. See schedule

    The following arguments are optional:

    Outputs

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

    Arn string
    Amazon Resource Name (ARN) of the refresh schedule.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    Amazon Resource Name (ARN) of the refresh schedule.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    Amazon Resource Name (ARN) of the refresh schedule.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    Amazon Resource Name (ARN) of the refresh schedule.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    Amazon Resource Name (ARN) of the refresh schedule.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    Amazon Resource Name (ARN) of the refresh schedule.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RefreshSchedule Resource

    Get an existing RefreshSchedule 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?: RefreshScheduleState, opts?: CustomResourceOptions): RefreshSchedule
    @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,
            schedule: Optional[RefreshScheduleScheduleArgs] = None,
            schedule_id: Optional[str] = None) -> RefreshSchedule
    func GetRefreshSchedule(ctx *Context, name string, id IDInput, state *RefreshScheduleState, opts ...ResourceOption) (*RefreshSchedule, error)
    public static RefreshSchedule Get(string name, Input<string> id, RefreshScheduleState? state, CustomResourceOptions? opts = null)
    public static RefreshSchedule get(String name, Output<String> id, RefreshScheduleState 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
    Amazon Resource Name (ARN) of the refresh schedule.
    AwsAccountId string
    AWS account ID.
    DataSetId string
    The ID of the dataset.
    Schedule Pulumi.Aws.Quicksight.Inputs.RefreshScheduleSchedule

    The refresh schedule. See schedule

    The following arguments are optional:

    ScheduleId string
    The ID of the refresh schedule.
    Arn string
    Amazon Resource Name (ARN) of the refresh schedule.
    AwsAccountId string
    AWS account ID.
    DataSetId string
    The ID of the dataset.
    Schedule RefreshScheduleScheduleArgs

    The refresh schedule. See schedule

    The following arguments are optional:

    ScheduleId string
    The ID of the refresh schedule.
    arn String
    Amazon Resource Name (ARN) of the refresh schedule.
    awsAccountId String
    AWS account ID.
    dataSetId String
    The ID of the dataset.
    schedule RefreshScheduleSchedule

    The refresh schedule. See schedule

    The following arguments are optional:

    scheduleId String
    The ID of the refresh schedule.
    arn string
    Amazon Resource Name (ARN) of the refresh schedule.
    awsAccountId string
    AWS account ID.
    dataSetId string
    The ID of the dataset.
    schedule RefreshScheduleSchedule

    The refresh schedule. See schedule

    The following arguments are optional:

    scheduleId string
    The ID of the refresh schedule.
    arn str
    Amazon Resource Name (ARN) of the refresh schedule.
    aws_account_id str
    AWS account ID.
    data_set_id str
    The ID of the dataset.
    schedule RefreshScheduleScheduleArgs

    The refresh schedule. See schedule

    The following arguments are optional:

    schedule_id str
    The ID of the refresh schedule.
    arn String
    Amazon Resource Name (ARN) of the refresh schedule.
    awsAccountId String
    AWS account ID.
    dataSetId String
    The ID of the dataset.
    schedule Property Map

    The refresh schedule. See schedule

    The following arguments are optional:

    scheduleId String
    The ID of the refresh schedule.

    Supporting Types

    RefreshScheduleSchedule, RefreshScheduleScheduleArgs

    RefreshType string
    The type of refresh that the dataset undergoes. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.
    ScheduleFrequency Pulumi.Aws.Quicksight.Inputs.RefreshScheduleScheduleScheduleFrequency
    The configuration of the schedule frequency. See schedule_frequency.
    StartAfterDateTime string
    Time after which the refresh schedule can be started, expressed in YYYY-MM-DDTHH:MM:SS format.
    RefreshType string
    The type of refresh that the dataset undergoes. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.
    ScheduleFrequency RefreshScheduleScheduleScheduleFrequency
    The configuration of the schedule frequency. See schedule_frequency.
    StartAfterDateTime string
    Time after which the refresh schedule can be started, expressed in YYYY-MM-DDTHH:MM:SS format.
    refreshType String
    The type of refresh that the dataset undergoes. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.
    scheduleFrequency RefreshScheduleScheduleScheduleFrequency
    The configuration of the schedule frequency. See schedule_frequency.
    startAfterDateTime String
    Time after which the refresh schedule can be started, expressed in YYYY-MM-DDTHH:MM:SS format.
    refreshType string
    The type of refresh that the dataset undergoes. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.
    scheduleFrequency RefreshScheduleScheduleScheduleFrequency
    The configuration of the schedule frequency. See schedule_frequency.
    startAfterDateTime string
    Time after which the refresh schedule can be started, expressed in YYYY-MM-DDTHH:MM:SS format.
    refresh_type str
    The type of refresh that the dataset undergoes. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.
    schedule_frequency RefreshScheduleScheduleScheduleFrequency
    The configuration of the schedule frequency. See schedule_frequency.
    start_after_date_time str
    Time after which the refresh schedule can be started, expressed in YYYY-MM-DDTHH:MM:SS format.
    refreshType String
    The type of refresh that the dataset undergoes. Valid values are INCREMENTAL_REFRESH and FULL_REFRESH.
    scheduleFrequency Property Map
    The configuration of the schedule frequency. See schedule_frequency.
    startAfterDateTime String
    Time after which the refresh schedule can be started, expressed in YYYY-MM-DDTHH:MM:SS format.

    RefreshScheduleScheduleScheduleFrequency, RefreshScheduleScheduleScheduleFrequencyArgs

    Interval string
    The interval between scheduled refreshes. Valid values are MINUTE15, MINUTE30, HOURLY, DAILY, WEEKLY and MONTHLY.
    RefreshOnDay Pulumi.Aws.Quicksight.Inputs.RefreshScheduleScheduleScheduleFrequencyRefreshOnDay
    The refresh on entity configuration for weekly or monthly schedules. See refresh_on_day.
    TimeOfTheDay string
    The time of day that you want the dataset to refresh. This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.
    Timezone string
    The timezone that you want the refresh schedule to use.
    Interval string
    The interval between scheduled refreshes. Valid values are MINUTE15, MINUTE30, HOURLY, DAILY, WEEKLY and MONTHLY.
    RefreshOnDay RefreshScheduleScheduleScheduleFrequencyRefreshOnDay
    The refresh on entity configuration for weekly or monthly schedules. See refresh_on_day.
    TimeOfTheDay string
    The time of day that you want the dataset to refresh. This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.
    Timezone string
    The timezone that you want the refresh schedule to use.
    interval String
    The interval between scheduled refreshes. Valid values are MINUTE15, MINUTE30, HOURLY, DAILY, WEEKLY and MONTHLY.
    refreshOnDay RefreshScheduleScheduleScheduleFrequencyRefreshOnDay
    The refresh on entity configuration for weekly or monthly schedules. See refresh_on_day.
    timeOfTheDay String
    The time of day that you want the dataset to refresh. This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.
    timezone String
    The timezone that you want the refresh schedule to use.
    interval string
    The interval between scheduled refreshes. Valid values are MINUTE15, MINUTE30, HOURLY, DAILY, WEEKLY and MONTHLY.
    refreshOnDay RefreshScheduleScheduleScheduleFrequencyRefreshOnDay
    The refresh on entity configuration for weekly or monthly schedules. See refresh_on_day.
    timeOfTheDay string
    The time of day that you want the dataset to refresh. This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.
    timezone string
    The timezone that you want the refresh schedule to use.
    interval str
    The interval between scheduled refreshes. Valid values are MINUTE15, MINUTE30, HOURLY, DAILY, WEEKLY and MONTHLY.
    refresh_on_day RefreshScheduleScheduleScheduleFrequencyRefreshOnDay
    The refresh on entity configuration for weekly or monthly schedules. See refresh_on_day.
    time_of_the_day str
    The time of day that you want the dataset to refresh. This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.
    timezone str
    The timezone that you want the refresh schedule to use.
    interval String
    The interval between scheduled refreshes. Valid values are MINUTE15, MINUTE30, HOURLY, DAILY, WEEKLY and MONTHLY.
    refreshOnDay Property Map
    The refresh on entity configuration for weekly or monthly schedules. See refresh_on_day.
    timeOfTheDay String
    The time of day that you want the dataset to refresh. This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.
    timezone String
    The timezone that you want the refresh schedule to use.

    RefreshScheduleScheduleScheduleFrequencyRefreshOnDay, RefreshScheduleScheduleScheduleFrequencyRefreshOnDayArgs

    DayOfMonth string
    The day of the month that you want to schedule refresh on.
    DayOfWeek string
    The day of the week that you want to schedule a refresh on. Valid values are SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY and SATURDAY.
    DayOfMonth string
    The day of the month that you want to schedule refresh on.
    DayOfWeek string
    The day of the week that you want to schedule a refresh on. Valid values are SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY and SATURDAY.
    dayOfMonth String
    The day of the month that you want to schedule refresh on.
    dayOfWeek String
    The day of the week that you want to schedule a refresh on. Valid values are SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY and SATURDAY.
    dayOfMonth string
    The day of the month that you want to schedule refresh on.
    dayOfWeek string
    The day of the week that you want to schedule a refresh on. Valid values are SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY and SATURDAY.
    day_of_month str
    The day of the month that you want to schedule refresh on.
    day_of_week str
    The day of the week that you want to schedule a refresh on. Valid values are SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY and SATURDAY.
    dayOfMonth String
    The day of the month that you want to schedule refresh on.
    dayOfWeek String
    The day of the week that you want to schedule a refresh on. Valid values are SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY and SATURDAY.

    Import

    Using pulumi import, import a QuickSight Refresh Schedule using the AWS account ID, data set ID and schedule ID separated by commas (,). For example:

    $ pulumi import aws:quicksight/refreshSchedule:RefreshSchedule example 123456789012,dataset-id,schedule-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 aws Terraform Provider.
    aws logo

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

    AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi