amazonka-apigatewayv2-2.0: Amazon ApiGatewayV2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

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

  • certificateName :: Maybe Text

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

  • certificateUploadDate :: Maybe ISO8601

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

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

  • domainNameStatusMessage :: Maybe Text

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

  • endpointType :: Maybe EndpointType

    The endpoint type.

  • hostedZoneId :: Maybe Text

    The Amazon Route 53 Hosted Zone ID of the endpoint.

  • 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

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

Instances

Instances details
FromJSON DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

ToJSON 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 #

Read DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Show DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

NFData DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Methods

rnf :: DomainNameConfiguration -> () #

Eq DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Hashable 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" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" 'False) (C1 ('MetaCons "DomainNameConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "apiGatewayDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "certificateUploadDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "domainNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainNameStatus))))) :*: ((S1 ('MetaSel ('Just "domainNameStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointType))) :*: (S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ownershipVerificationCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "securityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityPolicy)))))))

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: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: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:certificateUploadDate:DomainNameConfiguration', domainNameConfiguration_certificateUploadDate - The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

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

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

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

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

$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: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.

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

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

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

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

The Amazon Route 53 Hosted Zone ID of the endpoint.

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