libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2
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.ApiGatewayV2.Types.DomainNameConfiguration

Description

 
Synopsis

Documentation

data DomainNameConfiguration Source #

The domain name configuration.

See: newDomainNameConfiguration smart constructor.

Constructors

DomainNameConfiguration' 

Fields

  • apiGatewayDomainName :: Maybe Text

    A domain name for the API.

  • ownershipVerificationCertificateArn :: Maybe Text

    The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn

  • certificateName :: Maybe Text

    The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.

  • hostedZoneId :: Maybe Text

    The Amazon Route 53 Hosted Zone ID of the endpoint.

  • certificateArn :: Maybe Text

    An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

  • endpointType :: Maybe EndpointType

    The endpoint type.

  • securityPolicy :: Maybe SecurityPolicy

    The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.

  • certificateUploadDate :: Maybe POSIX

    The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

  • domainNameStatusMessage :: Maybe Text

    An optional text message containing detailed information about status of the domain name migration.

  • domainNameStatus :: Maybe DomainNameStatus

    The status of the domain name migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

Instances

Instances details
Eq DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Read DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Show DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Generic DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Associated Types

type Rep DomainNameConfiguration :: Type -> Type #

NFData DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Methods

rnf :: DomainNameConfiguration -> () #

Hashable DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

ToJSON DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

FromJSON DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

type Rep DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

type Rep DomainNameConfiguration = D1 ('MetaData "DomainNameConfiguration" "Amazonka.ApiGatewayV2.Types.DomainNameConfiguration" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "DomainNameConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "apiGatewayDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ownershipVerificationCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "endpointType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointType)) :*: S1 ('MetaSel ('Just "securityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityPolicy))) :*: (S1 ('MetaSel ('Just "certificateUploadDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "domainNameStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainNameStatus)))))))

newDomainNameConfiguration :: DomainNameConfiguration Source #

Create a value of DomainNameConfiguration 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:apiGatewayDomainName:DomainNameConfiguration', domainNameConfiguration_apiGatewayDomainName - A domain name for the API.

$sel:ownershipVerificationCertificateArn:DomainNameConfiguration', domainNameConfiguration_ownershipVerificationCertificateArn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn

$sel:certificateName:DomainNameConfiguration', domainNameConfiguration_certificateName - The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.

$sel:hostedZoneId:DomainNameConfiguration', domainNameConfiguration_hostedZoneId - The Amazon Route 53 Hosted Zone ID of the endpoint.

$sel:certificateArn:DomainNameConfiguration', domainNameConfiguration_certificateArn - An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

$sel:endpointType:DomainNameConfiguration', domainNameConfiguration_endpointType - The endpoint type.

$sel:securityPolicy:DomainNameConfiguration', domainNameConfiguration_securityPolicy - The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.

$sel:certificateUploadDate:DomainNameConfiguration', domainNameConfiguration_certificateUploadDate - The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

$sel:domainNameStatusMessage:DomainNameConfiguration', domainNameConfiguration_domainNameStatusMessage - An optional text message containing detailed information about status of the domain name migration.

$sel:domainNameStatus:DomainNameConfiguration', domainNameConfiguration_domainNameStatus - The status of the domain name migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

domainNameConfiguration_ownershipVerificationCertificateArn :: Lens' DomainNameConfiguration (Maybe Text) Source #

The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn

domainNameConfiguration_certificateName :: Lens' DomainNameConfiguration (Maybe Text) Source #

The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.

domainNameConfiguration_hostedZoneId :: Lens' DomainNameConfiguration (Maybe Text) Source #

The Amazon Route 53 Hosted Zone ID of the endpoint.

domainNameConfiguration_certificateArn :: Lens' DomainNameConfiguration (Maybe Text) Source #

An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

domainNameConfiguration_securityPolicy :: Lens' DomainNameConfiguration (Maybe SecurityPolicy) Source #

The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.

domainNameConfiguration_certificateUploadDate :: Lens' DomainNameConfiguration (Maybe UTCTime) Source #

The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

domainNameConfiguration_domainNameStatusMessage :: Lens' DomainNameConfiguration (Maybe Text) Source #

An optional text message containing detailed information about status of the domain name migration.

domainNameConfiguration_domainNameStatus :: Lens' DomainNameConfiguration (Maybe DomainNameStatus) Source #

The status of the domain name migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.