Interface CfnPrefixListProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrefixListProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.909Z")
@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") .maxEntries(123) .prefixListName("prefixListName") // the properties below are optional .entries(List.of(EntryProperty.builder() .cidr("cidr") // the properties below are optional .description("description") .build())) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPrefixListProps
static final class
An implementation forCfnPrefixListProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPrefixListProps.Builder
builder()
The IP address type.default Object
One or more entries for the prefix list.The 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
-
getMaxEntries
The maximum number of entries for the prefix list. -
getPrefixListName
A name for the prefix list.Constraints: Up to 255 characters in length. The name cannot start with
com.amazonaws
. -
getEntries
One or more entries for the prefix list. -
getTags
The tags for the prefix list. -
builder
- Returns:
- a
CfnPrefixListProps.Builder
ofCfnPrefixListProps
-