interface PrefixListReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.EC2.PrefixListReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsec2#PrefixListReference |
Java | software.amazon.awscdk.interfaces.ec2.PrefixListReference |
Python | aws_cdk.interfaces.aws_ec2.PrefixListReference |
TypeScript | aws-cdk-lib » interfaces » aws_ec2 » PrefixListReference |
A reference to a PrefixList resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const prefixListReference: interfaces_ec2.PrefixListReference = {
prefixListArn: 'prefixListArn',
prefixListId: 'prefixListId',
};
Properties
| Name | Type | Description |
|---|---|---|
| prefix | string | The ARN of the PrefixList resource. |
| prefix | string | The PrefixListId of the PrefixList resource. |
prefixListArn
Type:
string
The ARN of the PrefixList resource.
prefixListId
Type:
string
The PrefixListId of the PrefixList resource.

.NET
Go
Java
Python
TypeScript