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-22T02:24:00.749Z")
@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 classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IPrefixList
IPrefixList.Jsii$Default, IPrefixList.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
PrefixList
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
PrefixList
(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 IPrefixList
fromPrefixListId
(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, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods 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:
getPrefixListId
in interfaceIPrefixList
-
getPrefixListName
The name of the prefix list. -
getVersion
The version of the prefix list.
-