Skip to content
v2.278.0

ScheduleGroupReference Struct ​

A reference to a ScheduleGroup resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_scheduler as interfaces_scheduler } from 'aws-cdk-lib/interfaces';
const scheduleGroupReference: interfaces_scheduler.ScheduleGroupReference = {
  scheduleGroupArn: 'scheduleGroupArn',
  scheduleGroupName: 'scheduleGroupName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_scheduler as interfaces_scheduler

schedule_group_reference = interfaces_scheduler.ScheduleGroupReference(
    schedule_group_arn="scheduleGroupArn",
    schedule_group_name="scheduleGroupName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.scheduler.*;

ScheduleGroupReference scheduleGroupReference = ScheduleGroupReference.builder()
        .scheduleGroupArn("scheduleGroupArn")
        .scheduleGroupName("scheduleGroupName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.Scheduler;

var scheduleGroupReference = new ScheduleGroupReference {
    ScheduleGroupArn = "scheduleGroupArn",
    ScheduleGroupName = "scheduleGroupName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

scheduleGroupReference := &ScheduleGroupReference{
	ScheduleGroupArn: jsii.String("scheduleGroupArn"),
	ScheduleGroupName: jsii.String("scheduleGroupName"),
}

Properties ​

scheduleGroupArnstringschedule_group_arnstrscheduleGroupArnStringScheduleGroupArnstringScheduleGroupArn*string required #
The ARN of the ScheduleGroup resource.
scheduleGroupNamestringschedule_group_namestrscheduleGroupNameStringScheduleGroupNamestringScheduleGroupName*string required #
The Name of the ScheduleGroup resource.