libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
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.APIGateway.Types.EndpointConfiguration

Description

 
Synopsis

Documentation

data EndpointConfiguration Source #

The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.

See: newEndpointConfiguration smart constructor.

Constructors

EndpointConfiguration' 

Fields

  • types :: Maybe [EndpointType]

    A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.

  • vpcEndpointIds :: Maybe [Text]

    A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.

Instances

Instances details
Eq EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Read EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Show EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Generic EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Associated Types

type Rep EndpointConfiguration :: Type -> Type #

NFData EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Methods

rnf :: EndpointConfiguration -> () #

Hashable EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

ToJSON EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

FromJSON EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

type Rep EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

type Rep EndpointConfiguration = D1 ('MetaData "EndpointConfiguration" "Amazonka.APIGateway.Types.EndpointConfiguration" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "EndpointConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "types") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EndpointType])) :*: S1 ('MetaSel ('Just "vpcEndpointIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newEndpointConfiguration :: EndpointConfiguration Source #

Create a value of EndpointConfiguration 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:types:EndpointConfiguration', endpointConfiguration_types - A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.

$sel:vpcEndpointIds:EndpointConfiguration', endpointConfiguration_vpcEndpointIds - A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.

endpointConfiguration_types :: Lens' EndpointConfiguration (Maybe [EndpointType]) Source #

A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.

endpointConfiguration_vpcEndpointIds :: Lens' EndpointConfiguration (Maybe [Text]) Source #

A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.