libZSservicesZSamazonka-emrZSamazonka-emr
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EMR.PutBlockPublicAccessConfiguration

Description

Creates or updates an Amazon EMR block public access configuration for your Amazon Web Services account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.

Synopsis

Creating a Request

data PutBlockPublicAccessConfiguration Source #

See: newPutBlockPublicAccessConfiguration smart constructor.

Constructors

PutBlockPublicAccessConfiguration' 

Fields

  • blockPublicAccessConfiguration :: 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.

Instances

Instances details
Eq PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

Read PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

Show PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

Generic PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

Associated Types

type Rep PutBlockPublicAccessConfiguration :: Type -> Type #

NFData PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

Hashable PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

ToJSON PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

AWSRequest PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

ToHeaders PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

ToPath PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

ToQuery PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

type Rep PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

type Rep PutBlockPublicAccessConfiguration = D1 ('MetaData "PutBlockPublicAccessConfiguration" "Amazonka.EMR.PutBlockPublicAccessConfiguration" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "PutBlockPublicAccessConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockPublicAccessConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BlockPublicAccessConfiguration)))
type AWSResponse PutBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

newPutBlockPublicAccessConfiguration Source #

Create a value of PutBlockPublicAccessConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:blockPublicAccessConfiguration:PutBlockPublicAccessConfiguration', putBlockPublicAccessConfiguration_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.

Request Lenses

putBlockPublicAccessConfiguration_blockPublicAccessConfiguration :: Lens' PutBlockPublicAccessConfiguration BlockPublicAccessConfiguration Source #

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.

Destructuring the Response

data PutBlockPublicAccessConfigurationResponse Source #

Constructors

PutBlockPublicAccessConfigurationResponse' 

Fields

Instances

Instances details
Eq PutBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

Read PutBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

Show PutBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

Generic PutBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

NFData PutBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

type Rep PutBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.PutBlockPublicAccessConfiguration

type Rep PutBlockPublicAccessConfigurationResponse = D1 ('MetaData "PutBlockPublicAccessConfigurationResponse" "Amazonka.EMR.PutBlockPublicAccessConfiguration" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "PutBlockPublicAccessConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutBlockPublicAccessConfigurationResponse Source #

Create a value of PutBlockPublicAccessConfigurationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:PutBlockPublicAccessConfigurationResponse', putBlockPublicAccessConfigurationResponse_httpStatus - The response's http status code.

Response Lenses