Struct aws_sdk_mediaconnect::types::VpcInterface
source · #[non_exhaustive]pub struct VpcInterface {
pub name: Option<String>,
pub network_interface_ids: Option<Vec<String>>,
pub network_interface_type: Option<NetworkInterfaceType>,
pub role_arn: Option<String>,
pub security_group_ids: Option<Vec<String>>,
pub subnet_id: Option<String>,
}Expand description
The settings for a VPC Source.
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.name: Option<String>Immutable and has to be a unique against other VpcInterfaces in this Flow.
network_interface_ids: Option<Vec<String>>IDs of the network interfaces created in customer’s account by MediaConnect.
network_interface_type: Option<NetworkInterfaceType>The type of network interface.
role_arn: Option<String>Role Arn MediaConnect can assumes to create ENIs in customer’s account
security_group_ids: Option<Vec<String>>Security Group IDs to be used on ENI.
subnet_id: Option<String>Subnet must be in the AZ of the Flow
Implementations§
source§impl VpcInterface
impl VpcInterface
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Immutable and has to be a unique against other VpcInterfaces in this Flow.
sourcepub fn network_interface_ids(&self) -> &[String]
pub fn network_interface_ids(&self) -> &[String]
IDs of the network interfaces created in customer’s account by MediaConnect.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .network_interface_ids.is_none().
sourcepub fn network_interface_type(&self) -> Option<&NetworkInterfaceType>
pub fn network_interface_type(&self) -> Option<&NetworkInterfaceType>
The type of network interface.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
Role Arn MediaConnect can assumes to create ENIs in customer’s account
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
Security Group IDs to be used on ENI.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_ids.is_none().
source§impl VpcInterface
impl VpcInterface
sourcepub fn builder() -> VpcInterfaceBuilder
pub fn builder() -> VpcInterfaceBuilder
Creates a new builder-style object to manufacture VpcInterface.
Trait Implementations§
source§impl Clone for VpcInterface
impl Clone for VpcInterface
source§fn clone(&self) -> VpcInterface
fn clone(&self) -> VpcInterface
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VpcInterface
impl Debug for VpcInterface
source§impl PartialEq for VpcInterface
impl PartialEq for VpcInterface
source§fn eq(&self, other: &VpcInterface) -> bool
fn eq(&self, other: &VpcInterface) -> bool
self and other values to be equal, and is used
by ==.