Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DomainAssociation = DomainAssociation' {}
- newDomainAssociation :: Text -> Text -> Bool -> DomainStatus -> Text -> DomainAssociation
- domainAssociation_certificateVerificationDNSRecord :: Lens' DomainAssociation (Maybe Text)
- domainAssociation_autoSubDomainCreationPatterns :: Lens' DomainAssociation (Maybe [Text])
- domainAssociation_autoSubDomainIAMRole :: Lens' DomainAssociation (Maybe Text)
- domainAssociation_domainAssociationArn :: Lens' DomainAssociation Text
- domainAssociation_domainName :: Lens' DomainAssociation Text
- domainAssociation_enableAutoSubDomain :: Lens' DomainAssociation Bool
- domainAssociation_domainStatus :: Lens' DomainAssociation DomainStatus
- domainAssociation_statusReason :: Lens' DomainAssociation Text
- domainAssociation_subDomains :: Lens' DomainAssociation [SubDomain]
Documentation
data DomainAssociation Source #
Describes a domain association that associates a custom domain with an Amplify app.
See: newDomainAssociation
smart constructor.
DomainAssociation' | |
|
Instances
:: Text | |
-> Text | |
-> Bool | |
-> DomainStatus | |
-> Text | |
-> DomainAssociation |
Create a value of DomainAssociation
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:certificateVerificationDNSRecord:DomainAssociation'
, domainAssociation_certificateVerificationDNSRecord
- The DNS record for certificate verification.
$sel:autoSubDomainCreationPatterns:DomainAssociation'
, domainAssociation_autoSubDomainCreationPatterns
- Sets branch patterns for automatic subdomain creation.
$sel:autoSubDomainIAMRole:DomainAssociation'
, domainAssociation_autoSubDomainIAMRole
- The required AWS Identity and Access Management (IAM) service role for
the Amazon Resource Name (ARN) for automatically creating subdomains.
$sel:domainAssociationArn:DomainAssociation'
, domainAssociation_domainAssociationArn
- The Amazon Resource Name (ARN) for the domain association.
$sel:domainName:DomainAssociation'
, domainAssociation_domainName
- The name of the domain.
$sel:enableAutoSubDomain:DomainAssociation'
, domainAssociation_enableAutoSubDomain
- Enables the automated creation of subdomains for branches.
$sel:domainStatus:DomainAssociation'
, domainAssociation_domainStatus
- The current status of the domain association.
$sel:statusReason:DomainAssociation'
, domainAssociation_statusReason
- The reason for the current status of the domain association.
$sel:subDomains:DomainAssociation'
, domainAssociation_subDomains
- The subdomains for the domain association.
domainAssociation_certificateVerificationDNSRecord :: Lens' DomainAssociation (Maybe Text) Source #
The DNS record for certificate verification.
domainAssociation_autoSubDomainCreationPatterns :: Lens' DomainAssociation (Maybe [Text]) Source #
Sets branch patterns for automatic subdomain creation.
domainAssociation_autoSubDomainIAMRole :: Lens' DomainAssociation (Maybe Text) Source #
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
domainAssociation_domainAssociationArn :: Lens' DomainAssociation Text Source #
The Amazon Resource Name (ARN) for the domain association.
domainAssociation_domainName :: Lens' DomainAssociation Text Source #
The name of the domain.
domainAssociation_enableAutoSubDomain :: Lens' DomainAssociation Bool Source #
Enables the automated creation of subdomains for branches.
domainAssociation_domainStatus :: Lens' DomainAssociation DomainStatus Source #
The current status of the domain association.
domainAssociation_statusReason :: Lens' DomainAssociation Text Source #
The reason for the current status of the domain association.
domainAssociation_subDomains :: Lens' DomainAssociation [SubDomain] Source #
The subdomains for the domain association.