Struct aws_sdk_emr::output::get_block_public_access_configuration_output::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }Expand description
A builder for GetBlockPublicAccessConfigurationOutput
Implementations
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 EMR cluster in a Region before this date, block public access is enabled by default in that Region.
pub fn set_block_public_access_configuration(
self,
input: Option<BlockPublicAccessConfiguration>
) -> Self
pub fn set_block_public_access_configuration(
self,
input: Option<BlockPublicAccessConfiguration>
) -> Self
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 EMR cluster in a Region before this date, block public access is enabled by default in that Region.
pub fn block_public_access_configuration_metadata(
self,
input: BlockPublicAccessConfigurationMetadata
) -> Self
pub fn block_public_access_configuration_metadata(
self,
input: BlockPublicAccessConfigurationMetadata
) -> Self
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.
pub fn set_block_public_access_configuration_metadata(
self,
input: Option<BlockPublicAccessConfigurationMetadata>
) -> Self
pub fn set_block_public_access_configuration_metadata(
self,
input: Option<BlockPublicAccessConfigurationMetadata>
) -> Self
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.
Consumes the builder and constructs a GetBlockPublicAccessConfigurationOutput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
