#[non_exhaustive]pub struct ProvisionByoipCidrInput {
pub cidr: Option<String>,
pub cidr_authorization_context: Option<CidrAuthorizationContext>,
pub publicly_advertisable: Option<bool>,
pub description: Option<String>,
pub dry_run: Option<bool>,
pub pool_tag_specifications: Option<Vec<TagSpecification>>,
pub multi_region: Option<bool>,
pub network_border_group: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cidr: Option<String>The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is /24. The most specific IPv6 address range that you can bring is /48 for CIDRs that are publicly advertisable and /56 for CIDRs that are not publicly advertisable. The address range cannot overlap with another address range that you've brought to this or another Region.
A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.
publicly_advertisable: Option<bool>(IPv6 only) Indicate whether the address range will be publicly advertised to the internet.
Default: true
description: Option<String>A description for the address range and the address pool.
dry_run: Option<bool>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
pool_tag_specifications: Option<Vec<TagSpecification>>The tags to apply to the address pool.
multi_region: Option<bool>Reserved.
network_border_group: Option<String>If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.
You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
-
us-east-1-dfw-2
-
us-west-2-lax-1
-
us-west-2-phx-2
You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.
Implementations§
source§impl ProvisionByoipCidrInput
impl ProvisionByoipCidrInput
sourcepub fn cidr(&self) -> Option<&str>
pub fn cidr(&self) -> Option<&str>
The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is /24. The most specific IPv6 address range that you can bring is /48 for CIDRs that are publicly advertisable and /56 for CIDRs that are not publicly advertisable. The address range cannot overlap with another address range that you've brought to this or another Region.
A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.
sourcepub fn publicly_advertisable(&self) -> Option<bool>
pub fn publicly_advertisable(&self) -> Option<bool>
(IPv6 only) Indicate whether the address range will be publicly advertised to the internet.
Default: true
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the address range and the address pool.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn pool_tag_specifications(&self) -> &[TagSpecification]
pub fn pool_tag_specifications(&self) -> &[TagSpecification]
The tags to apply to the address pool.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .pool_tag_specifications.is_none().
sourcepub fn multi_region(&self) -> Option<bool>
pub fn multi_region(&self) -> Option<bool>
Reserved.
sourcepub fn network_border_group(&self) -> Option<&str>
pub fn network_border_group(&self) -> Option<&str>
If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.
You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
-
us-east-1-dfw-2
-
us-west-2-lax-1
-
us-west-2-phx-2
You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.
source§impl ProvisionByoipCidrInput
impl ProvisionByoipCidrInput
sourcepub fn builder() -> ProvisionByoipCidrInputBuilder
pub fn builder() -> ProvisionByoipCidrInputBuilder
Creates a new builder-style object to manufacture ProvisionByoipCidrInput.
Trait Implementations§
source§impl Clone for ProvisionByoipCidrInput
impl Clone for ProvisionByoipCidrInput
source§fn clone(&self) -> ProvisionByoipCidrInput
fn clone(&self) -> ProvisionByoipCidrInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ProvisionByoipCidrInput
impl Debug for ProvisionByoipCidrInput
source§impl PartialEq for ProvisionByoipCidrInput
impl PartialEq for ProvisionByoipCidrInput
source§fn eq(&self, other: &ProvisionByoipCidrInput) -> bool
fn eq(&self, other: &ProvisionByoipCidrInput) -> bool
self and other values to be equal, and is used
by ==.