ScheduleGroup

class ScheduleGroup : KotlinCustomResource

Provides an EventBridge Scheduler Schedule Group resource. You can find out more about EventBridge Scheduler in the User Guide.

Note: EventBridge was formerly known as CloudWatch Events. The functionality is identical.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.scheduler.ScheduleGroup("example", {name: "my-schedule-group"});
import pulumi
import pulumi_aws as aws
example = aws.scheduler.ScheduleGroup("example", name="my-schedule-group")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Scheduler.ScheduleGroup("example", new()
{
Name = "my-schedule-group",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/scheduler"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scheduler.NewScheduleGroup(ctx, "example", &scheduler.ScheduleGroupArgs{
Name: pulumi.String("my-schedule-group"),
})
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.scheduler.ScheduleGroup;
import com.pulumi.aws.scheduler.ScheduleGroupArgs;
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 ScheduleGroup("example", ScheduleGroupArgs.builder()
.name("my-schedule-group")
.build());
}
}
resources:
example:
type: aws:scheduler:ScheduleGroup
properties:
name: my-schedule-group

Import

Using pulumi import, import schedule groups using the name. For example:

$ pulumi import aws:scheduler/scheduleGroup:ScheduleGroup example my-schedule-group

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the schedule group.

Link copied to clipboard
val creationDate: Output<String>

Time at which the schedule group was created.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Time at which the schedule group was last modified.

Link copied to clipboard
val name: Output<String>

Name of the schedule group. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.

Link copied to clipboard
val namePrefix: Output<String>

Creates a unique name beginning with the specified prefix. Conflicts with name.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val state: Output<String>

State of the schedule group. Can be ACTIVE or DELETING.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>