Struct aws_sdk_emr::operation::get_block_public_access_configuration::GetBlockPublicAccessConfigurationOutput
source · #[non_exhaustive]pub struct GetBlockPublicAccessConfigurationOutput {
pub block_public_access_configuration: Option<BlockPublicAccessConfiguration>,
pub block_public_access_configuration_metadata: Option<BlockPublicAccessConfigurationMetadata>,
/* private fields */
}
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.block_public_access_configuration: Option<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 the block public access configuration 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 Amazon EMR cluster in a Region before this date, block public access is enabled by default in that Region.
block_public_access_configuration_metadata: Option<BlockPublicAccessConfigurationMetadata>
Properties that describe the Amazon Web Services principal that created the BlockPublicAccessConfiguration
using the PutBlockPublicAccessConfiguration
action as well as the date and time that the configuration was created. Each time a configuration for block public access is updated, Amazon EMR updates this metadata.
Implementations§
source§impl GetBlockPublicAccessConfigurationOutput
impl GetBlockPublicAccessConfigurationOutput
sourcepub fn block_public_access_configuration(
&self
) -> Option<&BlockPublicAccessConfiguration>
pub fn block_public_access_configuration( &self ) -> Option<&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 the block public access configuration 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 Amazon EMR cluster in a Region before this date, block public access is enabled by default in that Region.
sourcepub fn block_public_access_configuration_metadata(
&self
) -> Option<&BlockPublicAccessConfigurationMetadata>
pub fn block_public_access_configuration_metadata( &self ) -> Option<&BlockPublicAccessConfigurationMetadata>
Properties that describe the Amazon Web Services principal that created the BlockPublicAccessConfiguration
using the PutBlockPublicAccessConfiguration
action as well as the date and time that the configuration was created. Each time a configuration for block public access is updated, Amazon EMR updates this metadata.
source§impl GetBlockPublicAccessConfigurationOutput
impl GetBlockPublicAccessConfigurationOutput
sourcepub fn builder() -> GetBlockPublicAccessConfigurationOutputBuilder
pub fn builder() -> GetBlockPublicAccessConfigurationOutputBuilder
Creates a new builder-style object to manufacture GetBlockPublicAccessConfigurationOutput
.
Trait Implementations§
source§impl Clone for GetBlockPublicAccessConfigurationOutput
impl Clone for GetBlockPublicAccessConfigurationOutput
source§fn clone(&self) -> GetBlockPublicAccessConfigurationOutput
fn clone(&self) -> GetBlockPublicAccessConfigurationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetBlockPublicAccessConfigurationOutput
impl PartialEq for GetBlockPublicAccessConfigurationOutput
source§fn eq(&self, other: &GetBlockPublicAccessConfigurationOutput) -> bool
fn eq(&self, other: &GetBlockPublicAccessConfigurationOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetBlockPublicAccessConfigurationOutput
impl RequestId for GetBlockPublicAccessConfigurationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.