Class PrefixList
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.ec2.PrefixList
- All Implemented Interfaces:
IResource,IPrefixList,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:08.872Z")
@Stability(Stable)
public class PrefixList
extends Resource
implements IPrefixList
A managed prefix list.
Example:
PrefixList.Builder.create(this, "EmptyPrefixList")
.maxEntries(100)
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IPrefixList
IPrefixList.Jsii$Default, IPrefixList.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPrefixList(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedPrefixList(software.amazon.jsii.JsiiObjectRef objRef) PrefixList(software.constructs.Construct scope, String id) PrefixList(software.constructs.Construct scope, String id, PrefixListProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IPrefixListfromPrefixListId(software.constructs.Construct scope, String id, String prefixListId) Look up prefix list by id.The address family of the prefix list.The owner ID of the prefix list.The ARN of the prefix list.The ID of the prefix list.The name of the prefix list.The version of the prefix list.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
PrefixList
protected PrefixList(software.amazon.jsii.JsiiObjectRef objRef) -
PrefixList
protected PrefixList(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
PrefixList
@Stability(Stable) public PrefixList(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable PrefixListProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
PrefixList
@Stability(Stable) public PrefixList(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- This parameter is required.
-
-
Method Details
-
fromPrefixListId
@Stability(Stable) @NotNull public static IPrefixList fromPrefixListId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String prefixListId) Look up prefix list by id.- Parameters:
scope- This parameter is required.id- This parameter is required.prefixListId- This parameter is required.
-
getAddressFamily
The address family of the prefix list. -
getOwnerId
The owner ID of the prefix list. -
getPrefixListArn
The ARN of the prefix list. -
getPrefixListId
The ID of the prefix list.- Specified by:
getPrefixListIdin interfaceIPrefixList
-
getPrefixListName
The name of the prefix list. -
getVersion
The version of the prefix list.
-