GroupReference Struct
A reference to a Group resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_resourcegroups as interfaces_resourcegroups } from 'aws-cdk-lib/interfaces';
const groupReference: interfaces_resourcegroups.GroupReference = {
groupArn: 'groupArn',
groupName: 'groupName',
};
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_resourcegroups as interfaces_resourcegroups
group_reference = interfaces_resourcegroups.GroupReference(
group_arn="groupArn",
group_name="groupName"
)
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.resourcegroups.*;
GroupReference groupReference = GroupReference.builder()
.groupArn("groupArn")
.groupName("groupName")
.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.ResourceGroups;
var groupReference = new GroupReference {
GroupArn = "groupArn",
GroupName = "groupName"
};
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"
groupReference := &GroupReference{
GroupArn: jsii.String("groupArn"),
GroupName: jsii.String("groupName"),
}