openapi: 3.0.0
info:
version: '2020-05-15'
x-release: v4
title: 'AWS App Runner Amazon App Runner AWS App Runner API #X Amz Target=AppRunner.AssociateCustomDomain API'
description:
App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code to a running service in the Amazon Web Services Cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to provision and configure Amazon Web Services resources.
App Runner connects directly to your container registry or source code repository. It provides an automatic delivery pipeline with fully managed operations, high performance, scalability, and security.
For more information about App Runner, see the App Runner Developer Guide. For release information, see the App Runner Release Notes.
To install the Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that you can use to access the API, see Tools for Amazon Web Services.
Endpoints
For a list of Region-specific endpoints that App Runner supports, see App Runner endpoints and quotas in the Amazon Web Services General Reference.
x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: apprunner x-aws-signingName: apprunner x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/apprunner-2020-05-15.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://apprunner.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS App Runner multi-region endpoint - url: https://apprunner.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS App Runner multi-region endpoint - url: http://apprunner.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS App Runner endpoint for China (Beijing) and China (Ningxia) - url: https://apprunner.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS App Runner endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: '#X Amz Target=AppRunner.AssociateCustomDomain' paths: /#X-Amz-Target=AppRunner.AssociateCustomDomain: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: AssociateCustomDomain description: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).
example.com), a subdomain (for example, login.example.com or admin.login.example.com), or a wildcard (for example, *.example.com).
EnableWWWSubdomain:
allOf:
- $ref: '#/components/schemas/NullableBoolean'
- description: When true, the subdomain www.DomainName is associated with the App Runner service in addition to the base domain.
CertificateValidationRecords:
allOf:
- $ref: '#/components/schemas/CertificateValidationRecordList'
- description: A list of certificate CNAME records that's used for this domain name.
Status:
allOf:
- $ref: '#/components/schemas/CustomDomainAssociationStatus'
- description: The current state of the domain name association.
description: Describes a custom domain that's associated with an App Runner service.
String:
type: string
pattern: .*
minLength: 0
maxLength: 51200
VpcDNSTargetList:
type: array
items:
$ref: '#/components/schemas/VpcDNSTarget'
CertificateValidationRecordList:
type: array
items:
$ref: '#/components/schemas/CertificateValidationRecord'
NullableBoolean:
type: boolean
AssociateCustomDomainResponse:
type: object
required:
- DNSTarget
- ServiceArn
- CustomDomain
- VpcDNSTargets
properties:
DNSTarget:
allOf:
- $ref: '#/components/schemas/String'
- description: The App Runner subdomain of the App Runner service. The custom domain name is mapped to this target name.
ServiceArn:
allOf:
- $ref: '#/components/schemas/AppRunnerResourceArn'
- description: The Amazon Resource Name (ARN) of the App Runner service with which a custom domain name is associated.
CustomDomain:
allOf:
- $ref: '#/components/schemas/CustomDomain'
- description: A description of the domain name that's being associated.
VpcDNSTargets:
allOf:
- $ref: '#/components/schemas/VpcDNSTargetList'
- description: 'DNS Target records for the custom domains of this Amazon VPC. '
VpcDNSTarget:
type: object
properties:
VpcIngressConnectionArn:
allOf:
- $ref: '#/components/schemas/AppRunnerResourceArn'
- description: The Amazon Resource Name (ARN) of the VPC Ingress Connection that is associated with your service.
VpcId:
allOf:
- $ref: '#/components/schemas/String'
- description: The ID of the Amazon VPC that is associated with the custom domain name of the target DNS.
DomainName:
allOf:
- $ref: '#/components/schemas/DomainName'
- description: The domain name of your target DNS that is associated with the Amazon VPC.
description: DNS Target record for a custom domain of this Amazon VPC.
CustomDomainAssociationStatus:
type: string
enum:
- CREATING
- CREATE_FAILED
- ACTIVE
- DELETING
- DELETE_FAILED
- PENDING_CERTIFICATE_DNS_VALIDATION
- BINDING_CERTIFICATE
AppRunnerResourceArn:
type: string
pattern: arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}
minLength: 1
maxLength: 1011
InternalServiceErrorException: {}
CertificateValidationRecord:
type: object
properties:
Name:
allOf:
- $ref: '#/components/schemas/String'
- description: The certificate CNAME record name.
Type:
allOf:
- $ref: '#/components/schemas/String'
- description: The record type, always CNAME.
Value:
allOf:
- $ref: '#/components/schemas/String'
- description: The certificate CNAME record value.
Status:
allOf:
- $ref: '#/components/schemas/CertificateValidationRecordStatus'
- description: The current state of the certificate CNAME record validation. It should change to SUCCESS after App Runner completes validation with your DNS.
description: Describes a certificate CNAME record to add to your DNS. For more information, see AssociateCustomDomain.
InvalidRequestException: {}
DomainName:
type: string
pattern: '[A-Za-z0-9*.-]{1,255}'
minLength: 1
maxLength: 255
AssociateCustomDomainRequest:
type: object
required:
- ServiceArn
- DomainName
title: AssociateCustomDomainRequest
properties:
ServiceArn:
allOf:
- $ref: '#/components/schemas/AppRunnerResourceArn'
- description: The Amazon Resource Name (ARN) of the App Runner service that you want to associate a custom domain name with.
DomainName:
allOf:
- $ref: '#/components/schemas/DomainName'
- description: 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).
EnableWWWSubdomain:
allOf:
- $ref: '#/components/schemas/NullableBoolean'
- description: 'Set to true to associate the subdomain www.DomainName with the App Runner service in addition to the base domain.
Default: true