Package com.pulumi.aws.scheduler
Class ScheduleGroup
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.scheduler.ScheduleGroup
-
public class ScheduleGroup extends com.pulumi.resources.CustomResource
Provides an EventBridge Scheduler Schedule Group resource. You can find out more about EventBridge Scheduler in the [User Guide](https://docs.aws.amazon.com/scheduler/latest/UserGuide/what-is-scheduler.html). > **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical. ## Example Usage <!--Start PulumiCodeChooser --> ```java 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()); } } ``` <!--End PulumiCodeChooser --> ## Import Using `pulumi import`, import schedule groups using the `name`. For example: ```sh $ pulumi import aws:scheduler/scheduleGroup:ScheduleGroup example my-schedule-group ```
-
-
Constructor Summary
Constructors Constructor Description ScheduleGroup(java.lang.String name)
ScheduleGroup(java.lang.String name, ScheduleGroupArgs args)
ScheduleGroup(java.lang.String name, ScheduleGroupArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
arn()
com.pulumi.core.Output<java.lang.String>
creationDate()
static ScheduleGroup
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ScheduleGroupState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
lastModificationDate()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
namePrefix()
com.pulumi.core.Output<java.lang.String>
state()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
tags()
com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>
tagsAll()
-
-
-
Constructor Detail
-
ScheduleGroup
public ScheduleGroup(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
ScheduleGroup
public ScheduleGroup(java.lang.String name, @Nullable ScheduleGroupArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
ScheduleGroup
public ScheduleGroup(java.lang.String name, @Nullable ScheduleGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- ARN of the schedule group.
-
creationDate
public com.pulumi.core.Output<java.lang.String> creationDate()
- Returns:
- Time at which the schedule group was created.
-
lastModificationDate
public com.pulumi.core.Output<java.lang.String> lastModificationDate()
- Returns:
- Time at which the schedule group was last modified.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Name of the schedule group. If omitted, the provider will assign a random, unique name. Conflicts with `name_prefix`.
-
namePrefix
public com.pulumi.core.Output<java.lang.String> namePrefix()
- Returns:
- Creates a unique name beginning with the specified prefix. Conflicts with `name`.
-
state
public com.pulumi.core.Output<java.lang.String> state()
- Returns:
- State of the schedule group. Can be `ACTIVE` or `DELETING`.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- 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.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
- Returns:
- Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
-
get
public static ScheduleGroup get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable ScheduleGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-