#[non_exhaustive]pub struct AwsEc2SecurityGroupDetails { /* private fields */ }
Expand description
Details about an Amazon EC2 security group.
Implementations§
source§impl AwsEc2SecurityGroupDetails
impl AwsEc2SecurityGroupDetails
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the security group.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The Amazon Web Services account ID of the owner of the security group.
sourcepub fn ip_permissions(&self) -> Option<&[AwsEc2SecurityGroupIpPermission]>
pub fn ip_permissions(&self) -> Option<&[AwsEc2SecurityGroupIpPermission]>
The inbound rules associated with the security group.
sourcepub fn ip_permissions_egress(
&self
) -> Option<&[AwsEc2SecurityGroupIpPermission]>
pub fn ip_permissions_egress(
&self
) -> Option<&[AwsEc2SecurityGroupIpPermission]>
[VPC only] The outbound rules associated with the security group.
source§impl AwsEc2SecurityGroupDetails
impl AwsEc2SecurityGroupDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2SecurityGroupDetails
.
Trait Implementations§
source§impl Clone for AwsEc2SecurityGroupDetails
impl Clone for AwsEc2SecurityGroupDetails
source§fn clone(&self) -> AwsEc2SecurityGroupDetails
fn clone(&self) -> AwsEc2SecurityGroupDetails
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 Debug for AwsEc2SecurityGroupDetails
impl Debug for AwsEc2SecurityGroupDetails
source§impl PartialEq<AwsEc2SecurityGroupDetails> for AwsEc2SecurityGroupDetails
impl PartialEq<AwsEc2SecurityGroupDetails> for AwsEc2SecurityGroupDetails
source§fn eq(&self, other: &AwsEc2SecurityGroupDetails) -> bool
fn eq(&self, other: &AwsEc2SecurityGroupDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.