Interface CfnPrefixListProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrefixListProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:03.117Z")
@Stability(Stable)
public interface CfnPrefixListProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPrefixList.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnPrefixListProps cfnPrefixListProps = CfnPrefixListProps.builder()
.addressFamily("addressFamily")
.prefixListName("prefixListName")
// the properties below are optional
.entries(List.of(EntryProperty.builder()
.cidr("cidr")
// the properties below are optional
.description("description")
.build()))
.maxEntries(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPrefixListPropsstatic final classAn implementation forCfnPrefixListProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPrefixListProps.Builderbuilder()The IP address type.default ObjectThe entries for the prefix list.default NumberThe maximum number of entries for the prefix list.A name for the prefix list.getTags()The tags for the prefix list.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddressFamily
The IP address type.Valid Values:
IPv4|IPv6- See Also:
-
getPrefixListName
A name for the prefix list.Constraints: Up to 255 characters in length. The name cannot start with
com.amazonaws.- See Also:
-
getEntries
The entries for the prefix list.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPrefixList.EntryProperty>- See Also:
-
getMaxEntries
The maximum number of entries for the prefix list.You can't modify the entries and the size of a prefix list at the same time.
This property is required when you create a prefix list.
- See Also:
-
getTags
The tags for the prefix list.- See Also:
-
builder
- Returns:
- a
CfnPrefixListProps.BuilderofCfnPrefixListProps
-