AWS Native

v0.42.0 published on Wednesday, Nov 23, 2022 by Pulumi

Schedule

Resource schema for AWS::DataBrew::Schedule.

Example Usage

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var testDataBrewSchedule = new AwsNative.DataBrew.Schedule("testDataBrewSchedule", new()
    {
        JobNames = new[]
        {
            "job-name",
        },
        Name = "schedule-name",
        CronExpression = "cron(0 0/1 ? * * *)",
        Tags = new[]
        {
            new AwsNative.DataBrew.Inputs.ScheduleTagArgs
            {
                Key = "key00AtCreate",
                Value = "value001AtCreate",
            },
        },
    });

});

Coming soon!

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

test_data_brew_schedule = aws_native.databrew.Schedule("testDataBrewSchedule",
    job_names=["job-name"],
    name="schedule-name",
    cron_expression="cron(0 0/1 ? * * *)",
    tags=[aws_native.databrew.ScheduleTagArgs(
        key="key00AtCreate",
        value="value001AtCreate",
    )])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const testDataBrewSchedule = new aws_native.databrew.Schedule("testDataBrewSchedule", {
    jobNames: ["job-name"],
    name: "schedule-name",
    cronExpression: "cron(0 0/1 ? * * *)",
    tags: [{
        key: "key00AtCreate",
        value: "value001AtCreate",
    }],
});

Coming soon!

Create Schedule Resource

new Schedule(name: string, args: ScheduleArgs, opts?: CustomResourceOptions);
@overload
def Schedule(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             cron_expression: Optional[str] = None,
             job_names: Optional[Sequence[str]] = None,
             name: Optional[str] = None,
             tags: Optional[Sequence[ScheduleTagArgs]] = None)
@overload
def Schedule(resource_name: str,
             args: ScheduleArgs,
             opts: Optional[ResourceOptions] = None)
func NewSchedule(ctx *Context, name string, args ScheduleArgs, opts ...ResourceOption) (*Schedule, error)
public Schedule(string name, ScheduleArgs args, CustomResourceOptions? opts = null)
public Schedule(String name, ScheduleArgs args)
public Schedule(String name, ScheduleArgs args, CustomResourceOptions options)
type: aws-native:databrew:Schedule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ScheduleArgs
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 ScheduleArgs
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 ScheduleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ScheduleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ScheduleArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

CronExpression string

Schedule cron

JobNames []string
Name string

Schedule Name

Tags []ScheduleTagArgs
cronExpression String

Schedule cron

jobNames List<String>
name String

Schedule Name

tags List<ScheduleTagArgs>
cronExpression string

Schedule cron

jobNames string[]
name string

Schedule Name

tags ScheduleTagArgs[]
cron_expression str

Schedule cron

job_names Sequence[str]
name str

Schedule Name

tags Sequence[ScheduleTagArgs]
cronExpression String

Schedule cron

jobNames List<String>
name String

Schedule Name

tags List<Property Map>

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

ScheduleTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0