NAME
Paws::EMR::BlockPublicAccessConfiguration
USAGE
This class represents one of two things:
Arguments in a call to a service
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 });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::BlockPublicAccessConfiguration object:
$result = $service_obj->Method(...);
$result->Att1->BlockPublicSecurityGroupRules
DESCRIPTION
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
.
ATTRIBUTES
REQUIRED BlockPublicSecurityGroupRules => Bool
Indicates whether Amazon EMR block public access is enabled (true
) or disabled (false
). By default, the value is false
for accounts that have created EMR clusters before July 2019. For accounts created after this, the default is true
.
PermittedPublicSecurityGroupRuleRanges => ArrayRef[Paws::EMR::PortRange]
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 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
.
SEE ALSO
This class forms part of Paws, describing an object used 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