Struct aws_sdk_securityhub::model::AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails [−][src]
#[non_exhaustive]pub struct AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails {
pub assign_public_ip: Option<String>,
pub security_groups: Option<Vec<String>>,
pub subnets: Option<Vec<String>>,
}
Expand description
For tasks that use the awsvpc
networking mode, the VPC subnet and security group configuration.
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.assign_public_ip: Option<String>
Whether the task's elastic network interface receives a public IP address. The default value is DISABLED
.
Valid values: ENABLED
| DISABLED
security_groups: Option<Vec<String>>
The IDs of the security groups associated with the task or service.
You can provide up to five security groups.
subnets: Option<Vec<String>>
The IDs of the subnets associated with the task or service.
You can provide up to 16 subnets.
Implementations
Whether the task's elastic network interface receives a public IP address. The default value is DISABLED
.
Valid values: ENABLED
| DISABLED
The IDs of the security groups associated with the task or service.
You can provide up to five security groups.
Creates a new builder-style object to manufacture AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more