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§
source§impl 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.
source§impl AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
impl AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
.
Trait Implementations§
source§impl Clone for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
impl Clone for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
source§fn clone(&self) -> AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
fn clone(&self) -> AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
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 PartialEq<AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails> for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
impl PartialEq<AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails> for AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
source§fn eq(
&self,
other: &AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
) -> bool
fn eq(
&self,
other: &AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.