pub struct AwsVpcConfiguration {
pub assign_public_ip: Option<String>,
pub security_groups: Option<Vec<String>>,
pub subnets: Vec<String>,
}
Expand description
An object representing the networking details for a task or service.
Fields§
§assign_public_ip: Option<String>
Whether the task's elastic network interface receives a public IP address. The default value is DISABLED
.
security_groups: Option<Vec<String>>
The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration
.
All specified security groups must be from the same VPC.
subnets: Vec<String>
The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
Trait Implementations§
Source§impl Clone for AwsVpcConfiguration
impl Clone for AwsVpcConfiguration
Source§fn clone(&self) -> AwsVpcConfiguration
fn clone(&self) -> AwsVpcConfiguration
Returns a duplicate 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 AwsVpcConfiguration
impl Debug for AwsVpcConfiguration
Source§impl Default for AwsVpcConfiguration
impl Default for AwsVpcConfiguration
Source§fn default() -> AwsVpcConfiguration
fn default() -> AwsVpcConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsVpcConfiguration
impl<'de> Deserialize<'de> for AwsVpcConfiguration
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 PartialEq for AwsVpcConfiguration
impl PartialEq for AwsVpcConfiguration
Source§impl Serialize for AwsVpcConfiguration
impl Serialize for AwsVpcConfiguration
impl StructuralPartialEq for AwsVpcConfiguration
Auto Trait Implementations§
impl Freeze for AwsVpcConfiguration
impl RefUnwindSafe for AwsVpcConfiguration
impl Send for AwsVpcConfiguration
impl Sync for AwsVpcConfiguration
impl Unpin for AwsVpcConfiguration
impl UnwindSafe for AwsVpcConfiguration
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