@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:40.144Z") public class CfnScheduleGroup extends CfnResource implements IInspectable
A schedule group is an Amazon EventBridge Scheduler resource you use to organize your schedules.
Your AWS account comes with a default
scheduler group. You associate a new schedule with the default
group or with schedule groups that you create and manage. You can create up to 500 schedule groups in your AWS account. With EventBridge Scheduler, you apply tags to schedule groups, not to individual schedules to organize your resources.
For more information about managing schedule groups, see Managing a schedule group in the EventBridge Scheduler User Guide .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.scheduler.*; CfnScheduleGroup cfnScheduleGroup = CfnScheduleGroup.Builder.create(this, "MyCfnScheduleGroup") .name("name") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnScheduleGroup.Builder
A fluent builder for
CfnScheduleGroup . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnScheduleGroup(Construct scope,
java.lang.String id)
Create a new `AWS::Scheduler::ScheduleGroup`.
|
|
CfnScheduleGroup(Construct scope,
java.lang.String id,
CfnScheduleGroupProps props)
Create a new `AWS::Scheduler::ScheduleGroup`.
|
protected |
CfnScheduleGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnScheduleGroup(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn()
The Amazon Resource Name (ARN) of the schedule group.
|
java.lang.String |
getAttrCreationDate()
The date and time at which the schedule group was created.
|
java.lang.String |
getAttrLastModificationDate()
The time at which the schedule group was last modified.
|
java.lang.String |
getAttrState()
Specifies the state of the schedule group.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getName()
The name of the schedule group.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setName(java.lang.String value)
The name of the schedule group.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnScheduleGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnScheduleGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnScheduleGroup(Construct scope, java.lang.String id, CfnScheduleGroupProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties.public CfnScheduleGroup(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
public java.lang.String getAttrCreationDate()
public java.lang.String getAttrLastModificationDate()
public java.lang.String getAttrState()
Allowed Values : ACTIVE
| DELETING
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
For more information, see Tag .
public java.lang.String getName()
public void setName(java.lang.String value)