Skip to content
v2.278.0

PredefinedAttributeReference Struct ​

A reference to a PredefinedAttribute resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as interfaces_connect } from 'aws-cdk-lib/interfaces';
const predefinedAttributeReference: interfaces_connect.PredefinedAttributeReference = {
  instanceArn: 'instanceArn',
  predefinedAttributeName: 'predefinedAttributeName',
};
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_connect as interfaces_connect

predefined_attribute_reference = interfaces_connect.PredefinedAttributeReference(
    instance_arn="instanceArn",
    predefined_attribute_name="predefinedAttributeName"
)
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.connect.*;

PredefinedAttributeReference predefinedAttributeReference = PredefinedAttributeReference.builder()
        .instanceArn("instanceArn")
        .predefinedAttributeName("predefinedAttributeName")
        .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.Connect;

var predefinedAttributeReference = new PredefinedAttributeReference {
    InstanceArn = "instanceArn",
    PredefinedAttributeName = "predefinedAttributeName"
};
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"

predefinedAttributeReference := &PredefinedAttributeReference{
	InstanceArn: jsii.String("instanceArn"),
	PredefinedAttributeName: jsii.String("predefinedAttributeName"),
}

Properties ​

instanceArnstringinstance_arnstrinstanceArnStringInstanceArnstringInstanceArn*string required #
The InstanceArn of the PredefinedAttribute resource.
predefinedAttributeNamestringpredefined_attribute_namestrpredefinedAttributeNameStringPredefinedAttributeNamestringPredefinedAttributeName*string required #
The Name of the PredefinedAttribute resource.