AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::EMR::Model::BlockPublicAccessConfiguration Class Reference

#include <BlockPublicAccessConfiguration.h>

Public Member Functions

 BlockPublicAccessConfiguration ()
 
 BlockPublicAccessConfiguration (Aws::Utils::Json::JsonView jsonValue)
 
BlockPublicAccessConfigurationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
bool GetBlockPublicSecurityGroupRules () const
 
bool BlockPublicSecurityGroupRulesHasBeenSet () const
 
void SetBlockPublicSecurityGroupRules (bool value)
 
BlockPublicAccessConfigurationWithBlockPublicSecurityGroupRules (bool value)
 
const Aws::Vector< PortRange > & GetPermittedPublicSecurityGroupRuleRanges () const
 
bool PermittedPublicSecurityGroupRuleRangesHasBeenSet () const
 
void SetPermittedPublicSecurityGroupRuleRanges (const Aws::Vector< PortRange > &value)
 
void SetPermittedPublicSecurityGroupRuleRanges (Aws::Vector< PortRange > &&value)
 
BlockPublicAccessConfigurationWithPermittedPublicSecurityGroupRuleRanges (const Aws::Vector< PortRange > &value)
 
BlockPublicAccessConfigurationWithPermittedPublicSecurityGroupRuleRanges (Aws::Vector< PortRange > &&value)
 
BlockPublicAccessConfigurationAddPermittedPublicSecurityGroupRuleRanges (const PortRange &value)
 
BlockPublicAccessConfigurationAddPermittedPublicSecurityGroupRuleRanges (PortRange &&value)
 

Detailed 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.

See Also:

AWS API Reference

Definition at line 38 of file BlockPublicAccessConfiguration.h.

Constructor & Destructor Documentation

◆ BlockPublicAccessConfiguration() [1/2]

Aws::EMR::Model::BlockPublicAccessConfiguration::BlockPublicAccessConfiguration ( )

◆ BlockPublicAccessConfiguration() [2/2]

Aws::EMR::Model::BlockPublicAccessConfiguration::BlockPublicAccessConfiguration ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddPermittedPublicSecurityGroupRuleRanges() [1/2]

BlockPublicAccessConfiguration& Aws::EMR::Model::BlockPublicAccessConfiguration::AddPermittedPublicSecurityGroupRuleRanges ( const PortRange value)
inline

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.

Definition at line 169 of file BlockPublicAccessConfiguration.h.

◆ AddPermittedPublicSecurityGroupRuleRanges() [2/2]

BlockPublicAccessConfiguration& Aws::EMR::Model::BlockPublicAccessConfiguration::AddPermittedPublicSecurityGroupRuleRanges ( PortRange &&  value)
inline

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.

Definition at line 182 of file BlockPublicAccessConfiguration.h.

◆ BlockPublicSecurityGroupRulesHasBeenSet()

bool Aws::EMR::Model::BlockPublicAccessConfiguration::BlockPublicSecurityGroupRulesHasBeenSet ( ) const
inline

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.

Definition at line 61 of file BlockPublicAccessConfiguration.h.

◆ GetBlockPublicSecurityGroupRules()

bool Aws::EMR::Model::BlockPublicAccessConfiguration::GetBlockPublicSecurityGroupRules ( ) const
inline

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.

Definition at line 53 of file BlockPublicAccessConfiguration.h.

◆ GetPermittedPublicSecurityGroupRuleRanges()

const Aws::Vector<PortRange>& Aws::EMR::Model::BlockPublicAccessConfiguration::GetPermittedPublicSecurityGroupRuleRanges ( ) const
inline

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.

Definition at line 91 of file BlockPublicAccessConfiguration.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::EMR::Model::BlockPublicAccessConfiguration::Jsonize ( ) const

◆ operator=()

BlockPublicAccessConfiguration& Aws::EMR::Model::BlockPublicAccessConfiguration::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PermittedPublicSecurityGroupRuleRangesHasBeenSet()

bool Aws::EMR::Model::BlockPublicAccessConfiguration::PermittedPublicSecurityGroupRuleRangesHasBeenSet ( ) const
inline

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.

Definition at line 104 of file BlockPublicAccessConfiguration.h.

◆ SetBlockPublicSecurityGroupRules()

void Aws::EMR::Model::BlockPublicAccessConfiguration::SetBlockPublicSecurityGroupRules ( bool  value)
inline

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.

Definition at line 69 of file BlockPublicAccessConfiguration.h.

◆ SetPermittedPublicSecurityGroupRuleRanges() [1/2]

void Aws::EMR::Model::BlockPublicAccessConfiguration::SetPermittedPublicSecurityGroupRuleRanges ( const Aws::Vector< PortRange > &  value)
inline

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.

Definition at line 117 of file BlockPublicAccessConfiguration.h.

◆ SetPermittedPublicSecurityGroupRuleRanges() [2/2]

void Aws::EMR::Model::BlockPublicAccessConfiguration::SetPermittedPublicSecurityGroupRuleRanges ( Aws::Vector< PortRange > &&  value)
inline

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.

Definition at line 130 of file BlockPublicAccessConfiguration.h.

◆ WithBlockPublicSecurityGroupRules()

BlockPublicAccessConfiguration& Aws::EMR::Model::BlockPublicAccessConfiguration::WithBlockPublicSecurityGroupRules ( bool  value)
inline

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.

Definition at line 77 of file BlockPublicAccessConfiguration.h.

◆ WithPermittedPublicSecurityGroupRuleRanges() [1/2]

BlockPublicAccessConfiguration& Aws::EMR::Model::BlockPublicAccessConfiguration::WithPermittedPublicSecurityGroupRuleRanges ( const Aws::Vector< PortRange > &  value)
inline

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.

Definition at line 143 of file BlockPublicAccessConfiguration.h.

◆ WithPermittedPublicSecurityGroupRuleRanges() [2/2]

BlockPublicAccessConfiguration& Aws::EMR::Model::BlockPublicAccessConfiguration::WithPermittedPublicSecurityGroupRuleRanges ( Aws::Vector< PortRange > &&  value)
inline

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.

Definition at line 156 of file BlockPublicAccessConfiguration.h.


The documentation for this class was generated from the following file: