Interface IGroup.Jsii$Default

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IGroup, IResource, IResource.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IGroup.Jsii$Proxy
Enclosing interface:
IGroup

@Internal public static interface IGroup.Jsii$Default extends IGroup, IResource.Jsii$Default
Internal default implementation for IGroup.
  • Method Details

    • getNode

      @Stability(Stable) @NotNull default software.constructs.Node getNode()
      The tree node.
      Specified by:
      getNode in interface software.constructs.IConstruct
      Specified by:
      getNode in interface software.constructs.IConstruct.Jsii$Default
      Specified by:
      getNode in interface IResource.Jsii$Default
    • getEnv

      @Stability(Stable) @NotNull default ResourceEnvironment getEnv()
      The environment this resource belongs to.

      For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.

      Specified by:
      getEnv in interface IResource
      Specified by:
      getEnv in interface IResource.Jsii$Default
    • getStack

      @Stability(Stable) @NotNull default Stack getStack()
      The stack in which this resource is defined.
      Specified by:
      getStack in interface IResource
      Specified by:
      getStack in interface IResource.Jsii$Default
    • getGroupArn

      @Stability(Experimental) @NotNull default String getGroupArn()
      (experimental) The arn of the schedule group.
      Specified by:
      getGroupArn in interface IGroup
    • getGroupName

      @Stability(Experimental) @NotNull default String getGroupName()
      (experimental) The name of the schedule group.
      Specified by:
      getGroupName in interface IGroup
    • applyRemovalPolicy

      @Stability(Stable) default void applyRemovalPolicy(@NotNull RemovalPolicy policy)
      Apply the given removal policy to this resource.

      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).

      Specified by:
      applyRemovalPolicy in interface IResource
      Specified by:
      applyRemovalPolicy in interface IResource.Jsii$Default
      Parameters:
      policy - This parameter is required.
    • grant

      @Stability(Experimental) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull @NotNull String... actions)
      (experimental) Grant the indicated permissions on this group to the given principal.

      Specified by:
      grant in interface IGroup
      Parameters:
      grantee - This parameter is required.
      actions - This parameter is required.
    • grantDeleteSchedules

      @Stability(Experimental) @NotNull default Grant grantDeleteSchedules(@NotNull IGrantable identity)
      (experimental) Grant delete schedule permission for schedules in this group to the given principal.

      Specified by:
      grantDeleteSchedules in interface IGroup
      Parameters:
      identity - This parameter is required.
    • grantReadSchedules

      @Stability(Experimental) @NotNull default Grant grantReadSchedules(@NotNull IGrantable identity)
      (experimental) Grant list and get schedule permissions for schedules in this group to the given principal.

      Specified by:
      grantReadSchedules in interface IGroup
      Parameters:
      identity - This parameter is required.
    • grantWriteSchedules

      @Stability(Experimental) @NotNull default Grant grantWriteSchedules(@NotNull IGrantable identity)
      (experimental) Grant create and update schedule permissions for schedules in this group to the given principal.

      Specified by:
      grantWriteSchedules in interface IGroup
      Parameters:
      identity - This parameter is required.
    • metric

      @Stability(Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
      (experimental) Return the given named metric for this group schedules.

      Default: - sum over 5 minutes

      Specified by:
      metric in interface IGroup
      Parameters:
      metricName - This parameter is required.
      props -
    • metricAttempts

      @Stability(Experimental) @NotNull default Metric metricAttempts(@Nullable MetricOptions props)
      (experimental) Metric for all invocation attempts.

      Default: - sum over 5 minutes

      Specified by:
      metricAttempts in interface IGroup
      Parameters:
      props -
    • metricDropped

      @Stability(Experimental) @NotNull default Metric metricDropped(@Nullable MetricOptions props)
      (experimental) Metric for dropped invocations when EventBridge Scheduler stops attempting to invoke the target after a schedule's retry policy has been exhausted.

      Default: - sum over 5 minutes

      Specified by:
      metricDropped in interface IGroup
      Parameters:
      props -
    • metricFailedToBeSentToDLQ

      @Stability(Experimental) @NotNull default Metric metricFailedToBeSentToDLQ(@Nullable String errorCode, @Nullable MetricOptions props)
      (experimental) Metric for failed invocations that also failed to deliver to DLQ.

      Default: - sum over 5 minutes

      Specified by:
      metricFailedToBeSentToDLQ in interface IGroup
      Parameters:
      errorCode -
      props -
    • metricSentToDLQ

      @Stability(Experimental) @NotNull default Metric metricSentToDLQ(@Nullable MetricOptions props)
      (experimental) Metric for invocations delivered to the DLQ.

      Default: - sum over 5 minutes

      Specified by:
      metricSentToDLQ in interface IGroup
      Parameters:
      props -
    • metricSentToDLQTruncated

      @Stability(Experimental) @NotNull default Metric metricSentToDLQTruncated(@Nullable MetricOptions props)
      (experimental) 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.

      Default: - sum over 5 minutes

      Specified by:
      metricSentToDLQTruncated in interface IGroup
      Parameters:
      props -
    • metricTargetErrors

      @Stability(Experimental) @NotNull default Metric metricTargetErrors(@Nullable MetricOptions props)
      (experimental) Emitted when the target returns an exception after EventBridge Scheduler calls the target API.

      Default: - sum over 5 minutes

      Specified by:
      metricTargetErrors in interface IGroup
      Parameters:
      props -
    • metricTargetThrottled

      @Stability(Experimental) @NotNull default Metric metricTargetThrottled(@Nullable MetricOptions props)
      (experimental) Metric for invocation failures due to API throttling by the target.

      Default: - sum over 5 minutes

      Specified by:
      metricTargetThrottled in interface IGroup
      Parameters:
      props -
    • metricThrottled

      @Stability(Experimental) @NotNull default Metric metricThrottled(@Nullable MetricOptions props)
      (experimental) Metric for the number of invocations that were throttled because it exceeds your service quotas.

      Default: - sum over 5 minutes

      Specified by:
      metricThrottled in interface IGroup
      Parameters:
      props -
      See Also: