Struct aws_sdk_securityhub::model::AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
source · [−]#[non_exhaustive]pub struct AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails { /* private fields */ }Expand description
For tasks that use the awsvpc networking mode, the VPC subnet and security group configuration.
Implementations
sourceimpl AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
impl AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
sourcepub fn assign_public_ip(&self) -> Option<&str>
pub fn assign_public_ip(&self) -> Option<&str>
Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.
Valid values: ENABLED | DISABLED
sourcepub fn security_groups(&self) -> Option<&[String]>
pub fn security_groups(&self) -> Option<&[String]>
The IDs of the security groups associated with the task or service.
You can provide up to five security groups.
sourceimpl AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
impl AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.
Trait Implementations
sourceimpl Clone for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
impl Clone for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
sourcefn clone(&self) -> AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
fn clone(&self) -> AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl PartialEq<AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails> for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
impl PartialEq<AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails> for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
sourcefn eq(
&self,
other: &AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
) -> bool
fn eq(
&self,
other: &AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
) -> bool
impl StructuralPartialEq for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
impl Send for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
impl Sync for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
impl Unpin for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
impl UnwindSafe for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more