Interface IPrefixListLookupOptions
Properties for looking up an existing managed prefix list.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPrefixListLookupOptions
Syntax (vb)
Public Interface IPrefixListLookupOptions
Remarks
ExampleMetadata: infused
Examples
ApplicationLoadBalancer alb;
var cfOriginFacing = PrefixList.FromLookup(this, "CloudFrontOriginFacing", new PrefixListLookupOptions {
PrefixListName = "com.amazonaws.global.cloudfront.origin-facing"
});
alb.Connections.AllowFrom(cfOriginFacing, Port.HTTP);
Synopsis
Properties
| AddressFamily | The address family of the managed prefix list. |
| OwnerId | The ID of the AWS account that owns the managed prefix list. |
| PrefixListName | The name of the managed prefix list. |
Properties
AddressFamily
The address family of the managed prefix list.
AddressFamily? AddressFamily { get; }
Property Value
Remarks
Default: - Don't filter on addressFamily
OwnerId
The ID of the AWS account that owns the managed prefix list.
string? OwnerId { get; }
Property Value
Remarks
Default: - Don't filter on ownerId
PrefixListName
The name of the managed prefix list.
string PrefixListName { get; }
Property Value
Remarks
ExampleMetadata: infused