Skip to content
v2.278.0

PhoneNumberReference Struct ​

A reference to a PhoneNumber 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 phoneNumberReference: interfaces_connect.PhoneNumberReference = {
  phoneNumberArn: 'phoneNumberArn',
};
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

phone_number_reference = interfaces_connect.PhoneNumberReference(
    phone_number_arn="phoneNumberArn"
)
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.*;

PhoneNumberReference phoneNumberReference = PhoneNumberReference.builder()
        .phoneNumberArn("phoneNumberArn")
        .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 phoneNumberReference = new PhoneNumberReference {
    PhoneNumberArn = "phoneNumberArn"
};
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"

phoneNumberReference := &PhoneNumberReference{
	PhoneNumberArn: jsii.String("phoneNumberArn"),
}

Properties ​

phoneNumberArnstringphone_number_arnstrphoneNumberArnStringPhoneNumberArnstringPhoneNumberArn*string required #
The PhoneNumberArn of the PhoneNumber resource.