BlockPublicAccessConfiguration class
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
.
Constructors
-
BlockPublicAccessConfiguration({required bool blockPublicSecurityGroupRules, List<
PortRange> ? permittedPublicSecurityGroupRuleRanges}) -
BlockPublicAccessConfiguration.fromJson(Map<
String, dynamic> json) -
factory
Properties
- blockPublicSecurityGroupRules → bool
-
Indicates whether Amazon EMR block public access is enabled
(
true
) or disabled (false
). By default, the value isfalse
for accounts that have created EMR clusters before July 2019. For accounts created after this, the default istrue
.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
permittedPublicSecurityGroupRuleRanges
→ List<
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.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited