Struct aws_sdk_emr::operation::get_block_public_access_configuration::builders::GetBlockPublicAccessConfigurationOutputBuilder
source · #[non_exhaustive]pub struct GetBlockPublicAccessConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for GetBlockPublicAccessConfigurationOutput
.
Implementations§
source§impl GetBlockPublicAccessConfigurationOutputBuilder
impl GetBlockPublicAccessConfigurationOutputBuilder
sourcepub fn block_public_access_configuration(
self,
input: BlockPublicAccessConfiguration
) -> Self
pub fn block_public_access_configuration( self, input: 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 Amazon EMR cluster in a Region before this date, block public access is enabled by default in that Region.
sourcepub 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 Amazon EMR cluster in a Region before this date, block public access is enabled by default in that Region.
sourcepub fn get_block_public_access_configuration(
&self
) -> &Option<BlockPublicAccessConfiguration>
pub fn get_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,
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.
sourcepub 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.
sourcepub fn get_block_public_access_configuration_metadata(
&self
) -> &Option<BlockPublicAccessConfigurationMetadata>
pub fn get_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.
sourcepub fn build(self) -> GetBlockPublicAccessConfigurationOutput
pub fn build(self) -> GetBlockPublicAccessConfigurationOutput
Consumes the builder and constructs a GetBlockPublicAccessConfigurationOutput
.
Trait Implementations§
source§impl Clone for GetBlockPublicAccessConfigurationOutputBuilder
impl Clone for GetBlockPublicAccessConfigurationOutputBuilder
source§fn clone(&self) -> GetBlockPublicAccessConfigurationOutputBuilder
fn clone(&self) -> GetBlockPublicAccessConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetBlockPublicAccessConfigurationOutputBuilder
impl Default for GetBlockPublicAccessConfigurationOutputBuilder
source§fn default() -> GetBlockPublicAccessConfigurationOutputBuilder
fn default() -> GetBlockPublicAccessConfigurationOutputBuilder
source§impl PartialEq for GetBlockPublicAccessConfigurationOutputBuilder
impl PartialEq for GetBlockPublicAccessConfigurationOutputBuilder
source§fn eq(&self, other: &GetBlockPublicAccessConfigurationOutputBuilder) -> bool
fn eq(&self, other: &GetBlockPublicAccessConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetBlockPublicAccessConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for GetBlockPublicAccessConfigurationOutputBuilder
impl RefUnwindSafe for GetBlockPublicAccessConfigurationOutputBuilder
impl Send for GetBlockPublicAccessConfigurationOutputBuilder
impl Sync for GetBlockPublicAccessConfigurationOutputBuilder
impl Unpin for GetBlockPublicAccessConfigurationOutputBuilder
impl UnwindSafe for GetBlockPublicAccessConfigurationOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more