NAME
Paws::EMR::PutBlockPublicAccessConfiguration - Arguments for method PutBlockPublicAccessConfiguration on Paws::EMR
DESCRIPTION
This class represents the parameters used for calling the method PutBlockPublicAccessConfiguration on the Amazon Elastic MapReduce service. Use the attributes of this class as arguments to method PutBlockPublicAccessConfiguration.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutBlockPublicAccessConfiguration.
SYNOPSIS
my $elasticmapreduce = Paws->service('EMR');
my $PutBlockPublicAccessConfigurationOutput =
$elasticmapreduce->PutBlockPublicAccessConfiguration(
BlockPublicAccessConfiguration => {
BlockPublicSecurityGroupRules => 1,
PermittedPublicSecurityGroupRuleRanges => [
{
MinRange => 1, # min: -1, max: 65535
MaxRange => 1, # min: -1, max: 65535
},
...
], # OPTIONAL
},
);
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce/PutBlockPublicAccessConfiguration
ATTRIBUTES
REQUIRED BlockPublicAccessConfiguration => Paws::EMR::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.
SEE ALSO
This class forms part of Paws, documenting arguments for method PutBlockPublicAccessConfiguration in Paws::EMR
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues