Skip to content
v2.278.0

IScheduleGroup Interface ​

Interface representing a created or an imported ScheduleGroup.

Properties ​

The environment this resource belongs to.
notes

For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.

For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.

nodeNodenodeNodenodeNodeNodeNodeNodeNode #
The tree node.
scheduleGroupArnstringschedule_group_arnstrscheduleGroupArnStringScheduleGroupArnstringScheduleGroupArn*string #
The arn of the schedule group.
scheduleGroupNamestringschedule_group_namestrscheduleGroupNameStringScheduleGroupNamestringScheduleGroupName*string #
The name of the schedule group.
scheduleGroupRefScheduleGroupReferenceschedule_group_refScheduleGroupReferencescheduleGroupRefScheduleGroupReferenceScheduleGroupRefScheduleGroupReferenceScheduleGroupRefScheduleGroupReference #
A reference to a ScheduleGroup resource.
stackStackstackStackstackStackStackStackStackStack #
The stack in which this resource is defined.

Methods ​

applyRemovalPolicy(policy: RemovalPolicy): voiddef apply_removal_policy(self, policy: RemovalPolicy) -> Nonepublic void applyRemovalPolicy(RemovalPolicy policy)public void ApplyRemovalPolicy(RemovalPolicy policy)func ApplyRemovalPolicy(Policy RemovalPolicy) #
Apply the given removal policy to this resource.
notes

The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.

The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).

grant(grantee: IGrantable, ...actions: string[]): Grantdef grant(self, grantee: IGrantable, actions: str) -> Grantpublic Grant grant(IGrantable grantee, String actions)public Grant Grant(IGrantable grantee, string actions)func Grant(Grantee IGrantable, Actions *string) Grant #
Grant the indicated permissions on this group to the given principal.
grantDeleteSchedules(identity: IGrantable): Grantdef grant_delete_schedules(self, identity: IGrantable) -> Grantpublic Grant grantDeleteSchedules(IGrantable identity)public Grant GrantDeleteSchedules(IGrantable identity)func GrantDeleteSchedules(Identity IGrantable) Grant #
Grant delete schedule permission for schedules in this group to the given principal.
grantReadSchedules(identity: IGrantable): Grantdef grant_read_schedules(self, identity: IGrantable) -> Grantpublic Grant grantReadSchedules(IGrantable identity)public Grant GrantReadSchedules(IGrantable identity)func GrantReadSchedules(Identity IGrantable) Grant #
Grant list and get schedule permissions for schedules in this group to the given principal.
grantWriteSchedules(identity: IGrantable): Grantdef grant_write_schedules(self, identity: IGrantable) -> Grantpublic Grant grantWriteSchedules(IGrantable identity)public Grant GrantWriteSchedules(IGrantable identity)func GrantWriteSchedules(Identity IGrantable) Grant #
Grant create and update schedule permissions for schedules in this group to the given principal.
metric(metricName: string, props?: MetricOptions): Metricdef metric(self, metric_name: str, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metric(String metricName, MetricOptions props)public Metric Metric(string metricName, MetricOptions? props = null)func Metric(MetricName *string, Props MetricOptions) Metric #
Return the given named metric for this group schedules.
metricAttempts(props?: MetricOptions): Metricdef metric_attempts(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricAttempts(MetricOptions props)public Metric MetricAttempts(MetricOptions? props = null)func MetricAttempts(Props MetricOptions) Metric #
Metric for all invocation attempts.
metricDropped(props?: MetricOptions): Metricdef metric_dropped(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricDropped(MetricOptions props)public Metric MetricDropped(MetricOptions? props = null)func MetricDropped(Props MetricOptions) Metric #
Metric for dropped invocations when EventBridge Scheduler stops attempting to invoke the target after a schedule's retry policy has been exhausted.
metricFailedToBeSentToDLQ(errorCode?: string, props?: MetricOptions): Metricdef metric_failed_to_be_sent_to_dlq(self, error_code: typing.Optional[str] = None, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricFailedToBeSentToDLQ(String errorCode, MetricOptions props)public Metric MetricFailedToBeSentToDLQ(string? errorCode = null, MetricOptions? props = null)func MetricFailedToBeSentToDLQ(ErrorCode *string, Props MetricOptions) Metric #
Metric for failed invocations that also failed to deliver to DLQ.
metricSentToDLQ(props?: MetricOptions): Metricdef metric_sent_to_dlq(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSentToDLQ(MetricOptions props)public Metric MetricSentToDLQ(MetricOptions? props = null)func MetricSentToDLQ(Props MetricOptions) Metric #
Metric for invocations delivered to the DLQ.
metricSentToDLQTruncated(props?: MetricOptions): Metricdef metric_sent_to_dlq_truncated(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSentToDLQTruncated(MetricOptions props)public Metric MetricSentToDLQTruncated(MetricOptions? props = null)func MetricSentToDLQTruncated(Props MetricOptions) Metric #
Metric for delivery of failed invocations to DLQ when the payload of the event sent to the DLQ exceeds the maximum size allowed by Amazon SQS.
metricTargetErrors(props?: MetricOptions): Metricdef metric_target_errors(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricTargetErrors(MetricOptions props)public Metric MetricTargetErrors(MetricOptions? props = null)func MetricTargetErrors(Props MetricOptions) Metric #
Emitted when the target returns an exception after EventBridge Scheduler calls the target API.
metricTargetThrottled(props?: MetricOptions): Metricdef metric_target_throttled(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricTargetThrottled(MetricOptions props)public Metric MetricTargetThrottled(MetricOptions? props = null)func MetricTargetThrottled(Props MetricOptions) Metric #
Metric for invocation failures due to API throttling by the target.
metricThrottled(props?: MetricOptions): Metricdef metric_throttled(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricThrottled(MetricOptions props)public Metric MetricThrottled(MetricOptions? props = null)func MetricThrottled(Props MetricOptions) Metric #
Metric for the number of invocations that were throttled because it exceeds your service quotas.
with(...mixins: IMixin[]): IConstructdef with(self, mixins: IMixin) -> IConstructpublic IConstruct with(IMixin mixins)public IConstruct With(IMixin mixins)func With(Mixins IMixin) IConstruct #
Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.

1 parameter · returns

Parameters

  • mixinsmixinsmixinsmixinsMixins — The mixins to apply.

Returns: This construct for chaining