Struct aws_sdk_emr::model::BlockPublicAccessConfiguration  
source · #[non_exhaustive]pub struct BlockPublicAccessConfiguration { /* private fields */ }Expand description
A configuration for Amazon EMR block public access. When BlockPublicSecurityGroupRules is set to true, Amazon EMR prevents cluster creation if one of the cluster's security groups has a rule that allows inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges.
Implementations§
source§impl BlockPublicAccessConfiguration
 
impl BlockPublicAccessConfiguration
sourcepub fn block_public_security_group_rules(&self) -> bool
 
pub fn block_public_security_group_rules(&self) -> bool
Indicates whether Amazon EMR block public access is enabled (true) or disabled (false). By default, the value is false for accounts that have created EMR clusters before July 2019. For accounts created after this, the default is true.
sourcepub fn permitted_public_security_group_rule_ranges(
    &self
) -> Option<&[PortRange]>
 
pub fn permitted_public_security_group_rule_ranges(
    &self
) -> Option<&[PortRange]>
Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from all public sources. For example, if Port 23 (Telnet) is specified for PermittedPublicSecurityGroupRuleRanges, Amazon EMR allows cluster creation if a security group associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or IPv6 port ::/0 as the source.
By default, Port 22, which is used for SSH access to the cluster EC2 instances, is in the list of PermittedPublicSecurityGroupRuleRanges.
sourcepub fn classification(&self) -> Option<&str>
 
pub fn classification(&self) -> Option<&str>
The classification within a configuration.
sourcepub fn configurations(&self) -> Option<&[Configuration]>
 
pub fn configurations(&self) -> Option<&[Configuration]>
A list of additional configurations to apply within a configuration object.
source§impl BlockPublicAccessConfiguration
 
impl BlockPublicAccessConfiguration
sourcepub fn builder() -> Builder
 
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BlockPublicAccessConfiguration.
Trait Implementations§
source§impl Clone for BlockPublicAccessConfiguration
 
impl Clone for BlockPublicAccessConfiguration
source§fn clone(&self) -> BlockPublicAccessConfiguration
 
fn clone(&self) -> BlockPublicAccessConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read more