aws-native.databrew.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",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/databrew"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databrew.NewSchedule(ctx, "testDataBrewSchedule", &databrew.ScheduleArgs{
JobNames: pulumi.StringArray{
pulumi.String("job-name"),
},
Name: pulumi.String("schedule-name"),
CronExpression: pulumi.String("cron(0 0/1 ? * * *)"),
Tags: []databrew.ScheduleTagArgs{
{
Key: pulumi.String("key00AtCreate"),
Value: pulumi.String("value001AtCreate"),
},
},
})
if err != nil {
return err
}
return nil
})
}
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:
- Cron
Expression string Schedule cron
- Job
Names List<string> - Name string
Schedule Name
- List<Pulumi.
Aws Native. Data Brew. Inputs. Schedule Tag Args>
- Cron
Expression string Schedule cron
- Job
Names []string - Name string
Schedule Name
- []Schedule
Tag Args
- cron
Expression String Schedule cron
- job
Names List<String> - name String
Schedule Name
- List<Schedule
Tag Args>
- cron
Expression string Schedule cron
- job
Names string[] - name string
Schedule Name
- Schedule
Tag Args[]
- cron_
expression str Schedule cron
- job_
names Sequence[str] - name str
Schedule Name
- Sequence[Schedule
Tag Args]
- cron
Expression String Schedule cron
- job
Names List<String> - name String
Schedule Name
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0