Struct aws_sdk_mediaconnect::types::VpcInterfaceRequest
source · #[non_exhaustive]pub struct VpcInterfaceRequest {
pub name: Option<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
Desired VPC Interface for a Flow
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>The name of the VPC Interface. This value must be unique within the current flow.
network_interface_type: Option<NetworkInterfaceType>The type of network interface. If this value is not included in the request, MediaConnect uses ENA as the networkInterfaceType.
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 VpcInterfaceRequest
impl VpcInterfaceRequest
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the VPC Interface. This value must be unique within the current flow.
sourcepub fn network_interface_type(&self) -> Option<&NetworkInterfaceType>
pub fn network_interface_type(&self) -> Option<&NetworkInterfaceType>
The type of network interface. If this value is not included in the request, MediaConnect uses ENA as the networkInterfaceType.
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 VpcInterfaceRequest
impl VpcInterfaceRequest
sourcepub fn builder() -> VpcInterfaceRequestBuilder
pub fn builder() -> VpcInterfaceRequestBuilder
Creates a new builder-style object to manufacture VpcInterfaceRequest.
Trait Implementations§
source§impl Clone for VpcInterfaceRequest
impl Clone for VpcInterfaceRequest
source§fn clone(&self) -> VpcInterfaceRequest
fn clone(&self) -> VpcInterfaceRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VpcInterfaceRequest
impl Debug for VpcInterfaceRequest
source§impl PartialEq for VpcInterfaceRequest
impl PartialEq for VpcInterfaceRequest
source§fn eq(&self, other: &VpcInterfaceRequest) -> bool
fn eq(&self, other: &VpcInterfaceRequest) -> bool
self and other values to be equal, and is used
by ==.