interface IPrefixListRef
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.IPrefixListRef |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#IPrefixListRef |
Java | software.amazon.awscdk.services.ec2.IPrefixListRef |
Python | aws_cdk.aws_ec2.IPrefixListRef |
TypeScript | aws-cdk-lib » aws_ec2 » IPrefixListRef |
Implemented by
Cfn, Prefix
Obtainable from
Cfn.fromPrefixListArn(), Cfn.fromPrefixListId()
Indicates that this resource can be referenced as a PrefixList.
Properties
| Name | Type | Description |
|---|---|---|
| env | Resource | The environment this resource belongs to. |
| node | Node | The tree node. |
| prefix | Prefix | A reference to a PrefixList resource. |
env
Type:
Resource
The environment this resource belongs to.
For resources that are created and managed in a Stack (those created by
creating new class instances like new Role(), new Bucket(), etc.), this
is always the same as the environment of the stack they belong to.
For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be
different than the stack they were imported into.
node
Type:
Node
The tree node.
prefixListRef
Type:
Prefix
A reference to a PrefixList resource.

.NET
Go
Java
Python
TypeScript