Skip to content
v2.278.0

WorkGroupReference Struct ​

A reference to a WorkGroup resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_athena as interfaces_athena } from 'aws-cdk-lib/interfaces';
const workGroupReference: interfaces_athena.WorkGroupReference = {
  workGroupName: 'workGroupName',
};
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_athena as interfaces_athena

work_group_reference = interfaces_athena.WorkGroupReference(
    work_group_name="workGroupName"
)
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.athena.*;

WorkGroupReference workGroupReference = WorkGroupReference.builder()
        .workGroupName("workGroupName")
        .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.Athena;

var workGroupReference = new WorkGroupReference {
    WorkGroupName = "workGroupName"
};
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"

workGroupReference := &WorkGroupReference{
	WorkGroupName: jsii.String("workGroupName"),
}

Properties ​

workGroupNamestringwork_group_namestrworkGroupNameStringWorkGroupNamestringWorkGroupName*string required #
The Name of the WorkGroup resource.