Resource: awsSchedulerScheduleGroup
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
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.schedulerScheduleGroup.SchedulerScheduleGroup(this, "example", {
name: "my-schedule-group",
});
Argument Reference
The following arguments are optional:
name
- (Optional, Forces new resource) Name of the schedule group. If omitted, Terraform will assign a random, unique name. Conflicts withnamePrefix
.namePrefix
- (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts withname
.tags
- (Optional) Key-value mapping of resource tags. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- Name of the schedule group.arn
- ARN of the schedule group.creationDate
- Time at which the schedule group was created.lastModificationDate
- Time at which the schedule group was last modified.state
- State of the schedule group. Can beactive
ordeleting
.tagsAll
- Map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Timeouts
create
- (Default5M
)delete
- (Default5M
)
Import
Schedule groups can be imported using the name
. For example: