Skip to content
v2.278.0

PoolReference ​

Struct External

A reference to a Pool resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_smsvoice as interfaces_smsvoice } from 'aws-cdk-lib/interfaces';
const poolReference: interfaces_smsvoice.PoolReference = {
  poolArn: 'poolArn',
  poolId: 'poolId',
};
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_smsvoice as interfaces_smsvoice

pool_reference = interfaces_smsvoice.PoolReference(
    pool_arn="poolArn",
    pool_id="poolId"
)
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.smsvoice.*;

PoolReference poolReference = PoolReference.builder()
        .poolArn("poolArn")
        .poolId("poolId")
        .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.SMSVOICE;

var poolReference = new PoolReference {
    PoolArn = "poolArn",
    PoolId = "poolId"
};
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"

poolReference := &PoolReference{
	PoolArn: jsii.String("poolArn"),
	PoolId: jsii.String("poolId"),
}

Properties ​

poolArnstringpool_arnstrpoolArnStringPoolArnstringPoolArn*string required #
The ARN of the Pool resource.
poolIdstringpool_idstrpoolIdStringPoolIdstringPoolId*string required #
The PoolId of the Pool resource.