Paws::EMR::BlockPublicAccessConfiguration
This class represents one of two things:
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::EMR::BlockPublicAccessConfiguration object:
$service_obj->Method(Att1 => { BlockPublicSecurityGroupRules => $value, ..., PermittedPublicSecurityGroupRuleRanges => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::BlockPublicAccessConfiguration object:
$result = $service_obj->Method(...); $result->Att1->BlockPublicSecurityGroupRules
A configuration for Amazon EMR block public access. When BlockPublicSecurityGroupRules is set to true, Amazon EMR prevents cluster creation if one of the cluster's security groups has a rule that allows inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges.
BlockPublicSecurityGroupRules
true
PermittedPublicSecurityGroupRuleRanges
Indicates whether EMR block public access is enabled (C<true>) or disabled (C<false>). By default, the value is C<false> for accounts that have created EMR clusters before July 2019. For accounts created after this, the default is C<true>.
Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from all public sources. For example, if Port 23 (Telnet) is specified for C<PermittedPublicSecurityGroupRuleRanges>, Amazon EMR allows cluster creation if a security group associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or IPv6 port ::/0 as the source.
By default, Port 22, which is used for SSH access to the cluster EC2 instances, is in the list of PermittedPublicSecurityGroupRuleRanges.
This class forms part of Paws, describing an object used in Paws::EMR
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.