pub struct VpcAccessibleServices {
pub allowed_services: Option<Vec<String>>,
pub enable_restriction: Option<bool>,
}
Expand description
Specifies how APIs are allowed to communicate within the Service Perimeter.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allowed_services: Option<Vec<String>>
The list of APIs usable within the Service Perimeter. Must be empty unless ‘enable_restriction’ is True. You can specify a list of individual services, as well as include the ‘RESTRICTED-SERVICES’ value, which automatically includes all of the services protected by the perimeter.
enable_restriction: Option<bool>
Whether to restrict API calls within the Service Perimeter to the list of APIs specified in ‘allowed_services’.
Trait Implementations§
source§impl Clone for VpcAccessibleServices
impl Clone for VpcAccessibleServices
source§fn clone(&self) -> VpcAccessibleServices
fn clone(&self) -> VpcAccessibleServices
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VpcAccessibleServices
impl Debug for VpcAccessibleServices
source§impl Default for VpcAccessibleServices
impl Default for VpcAccessibleServices
source§fn default() -> VpcAccessibleServices
fn default() -> VpcAccessibleServices
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VpcAccessibleServices
impl<'de> Deserialize<'de> for VpcAccessibleServices
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for VpcAccessibleServices
impl Serialize for VpcAccessibleServices
impl Part for VpcAccessibleServices
Auto Trait Implementations§
impl RefUnwindSafe for VpcAccessibleServices
impl Send for VpcAccessibleServices
impl Sync for VpcAccessibleServices
impl Unpin for VpcAccessibleServices
impl UnwindSafe for VpcAccessibleServices
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more