Interface CfnPrefixListProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrefixListProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:24:58.110Z")
@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
Modifier 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
The entries for the prefix list.default Number
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
- 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.- See Also:
-
getMaxEntries
The maximum number of entries for the prefix list.- See Also:
-
getTags
The tags for the prefix list.- See Also:
-
builder
- Returns:
- a
CfnPrefixListProps.Builder
ofCfnPrefixListProps
-