pub struct PutBlockPublicAccessConfigurationInput {
pub block_public_access_configuration: BlockPublicAccessConfiguration,
}
Fields§
§block_public_access_configuration: BlockPublicAccessConfiguration
A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges
in the BlockPublicAccessConfiguration
. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating BlockPublicSecurityGroupRules
to remove the exception.
For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.
Trait Implementations§
Source§impl Clone for PutBlockPublicAccessConfigurationInput
impl Clone for PutBlockPublicAccessConfigurationInput
Source§fn clone(&self) -> PutBlockPublicAccessConfigurationInput
fn clone(&self) -> PutBlockPublicAccessConfigurationInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for PutBlockPublicAccessConfigurationInput
impl Default for PutBlockPublicAccessConfigurationInput
Source§fn default() -> PutBlockPublicAccessConfigurationInput
fn default() -> PutBlockPublicAccessConfigurationInput
Source§impl PartialEq for PutBlockPublicAccessConfigurationInput
impl PartialEq for PutBlockPublicAccessConfigurationInput
Source§fn eq(&self, other: &PutBlockPublicAccessConfigurationInput) -> bool
fn eq(&self, other: &PutBlockPublicAccessConfigurationInput) -> bool
self
and other
values to be equal, and is used by ==
.