IScheduleGroup Interface
Interface representing a created or an imported ScheduleGroup.
| Source | aws-scheduler/lib/schedule-group.ts |
|---|---|
| Type last changed |
Properties
envResourceEnvironmentenvResourceEnvironmentenvResourceEnvironmentEnvResourceEnvironmentEnvResourceEnvironment #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.
scheduleGroupArnstringschedule_group_arnstrscheduleGroupArnStringScheduleGroupArnstringScheduleGroupArn*string #scheduleGroupNamestringschedule_group_namestrscheduleGroupNameStringScheduleGroupNamestringScheduleGroupName*string #scheduleGroupRefScheduleGroupReferenceschedule_group_refScheduleGroupReferencescheduleGroupRefScheduleGroupReferenceScheduleGroupRefScheduleGroupReferenceScheduleGroupRefScheduleGroupReference #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) #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #with(...mixins: IMixin[]): IConstructdef with(self, mixins: IMixin) -> IConstructpublic IConstruct with(IMixin mixins)public IConstruct With(IMixin mixins)func With(Mixins IMixin) IConstruct #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