Struct aws_sdk_redshift::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressInput
source · #[non_exhaustive]pub struct RevokeClusterSecurityGroupIngressInput {
pub cluster_security_group_name: Option<String>,
pub cidrip: Option<String>,
pub ec2_security_group_name: Option<String>,
pub ec2_security_group_owner_id: Option<String>,
}
Expand description
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.cluster_security_group_name: Option<String>
The name of the security Group from which to revoke the ingress rule.
cidrip: Option<String>
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.
ec2_security_group_name: Option<String>
The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName
is specified, EC2SecurityGroupOwnerId
must also be provided and CIDRIP
cannot be provided.
ec2_security_group_owner_id: Option<String>
The Amazon Web Services account number of the owner of the security group specified in the EC2SecurityGroupName
parameter. The Amazon Web Services access key ID is not an acceptable value. If EC2SecurityGroupOwnerId
is specified, EC2SecurityGroupName
must also be provided. and CIDRIP
cannot be provided.
Example: 111122223333
Implementations§
source§impl RevokeClusterSecurityGroupIngressInput
impl RevokeClusterSecurityGroupIngressInput
sourcepub fn cluster_security_group_name(&self) -> Option<&str>
pub fn cluster_security_group_name(&self) -> Option<&str>
The name of the security Group from which to revoke the ingress rule.
sourcepub fn cidrip(&self) -> Option<&str>
pub fn cidrip(&self) -> Option<&str>
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.
sourcepub fn ec2_security_group_name(&self) -> Option<&str>
pub fn ec2_security_group_name(&self) -> Option<&str>
The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName
is specified, EC2SecurityGroupOwnerId
must also be provided and CIDRIP
cannot be provided.
sourcepub fn ec2_security_group_owner_id(&self) -> Option<&str>
pub fn ec2_security_group_owner_id(&self) -> Option<&str>
The Amazon Web Services account number of the owner of the security group specified in the EC2SecurityGroupName
parameter. The Amazon Web Services access key ID is not an acceptable value. If EC2SecurityGroupOwnerId
is specified, EC2SecurityGroupName
must also be provided. and CIDRIP
cannot be provided.
Example: 111122223333
source§impl RevokeClusterSecurityGroupIngressInput
impl RevokeClusterSecurityGroupIngressInput
sourcepub fn builder() -> RevokeClusterSecurityGroupIngressInputBuilder
pub fn builder() -> RevokeClusterSecurityGroupIngressInputBuilder
Creates a new builder-style object to manufacture RevokeClusterSecurityGroupIngressInput
.
Trait Implementations§
source§impl Clone for RevokeClusterSecurityGroupIngressInput
impl Clone for RevokeClusterSecurityGroupIngressInput
source§fn clone(&self) -> RevokeClusterSecurityGroupIngressInput
fn clone(&self) -> RevokeClusterSecurityGroupIngressInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RevokeClusterSecurityGroupIngressInput
impl PartialEq for RevokeClusterSecurityGroupIngressInput
source§fn eq(&self, other: &RevokeClusterSecurityGroupIngressInput) -> bool
fn eq(&self, other: &RevokeClusterSecurityGroupIngressInput) -> bool
self
and other
values to be equal, and is used
by ==
.