Struct aws_sdk_apprunner::client::fluent_builders::AssociateCustomDomain [−][src]
pub struct AssociateCustomDomain<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AssociateCustomDomain
.
Associate your own domain name with the App Runner subdomain URL of your App Runner service.
After you call AssociateCustomDomain
and receive a successful response, use the information in the CustomDomain
record that's returned to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain and one or more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name that you associated. App Runner tracks domain validity in a certificate stored in AWS Certificate Manager (ACM).
Implementations
impl<C, M, R> AssociateCustomDomain<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssociateCustomDomain<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssociateCustomDomainOutput, SdkError<AssociateCustomDomainError>> where
R::Policy: SmithyRetryPolicy<AssociateCustomDomainInputOperationOutputAlias, AssociateCustomDomainOutput, AssociateCustomDomainError, AssociateCustomDomainInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssociateCustomDomainOutput, SdkError<AssociateCustomDomainError>> where
R::Policy: SmithyRetryPolicy<AssociateCustomDomainInputOperationOutputAlias, AssociateCustomDomainOutput, AssociateCustomDomainError, AssociateCustomDomainInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The Amazon Resource Name (ARN) of the App Runner service that you want to associate a custom domain name with.
The Amazon Resource Name (ARN) of the App Runner service that you want to associate a custom domain name with.
A custom domain endpoint to associate. Specify a root domain (for example, example.com
), a subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard (for example, *.example.com
).
A custom domain endpoint to associate. Specify a root domain (for example, example.com
), a subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard (for example, *.example.com
).
Set to true
to associate the subdomain www.DomainName
with the App Runner service in addition to the base domain.
Default: true
Set to true
to associate the subdomain www.DomainName
with the App Runner service in addition to the base domain.
Default: true
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AssociateCustomDomain<C, M, R>
impl<C, M, R> Send for AssociateCustomDomain<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssociateCustomDomain<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssociateCustomDomain<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AssociateCustomDomain<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more