**To associate a domain name and the www subdomain with a service** The following ``associate-custom-domain`` example associates a custom domain name that you control with an App Runner service. The domain name is the root domain ``example.com``, including the special-case subdomain ``www.example.com``. :: aws apprunner associate-custom-domain \ --cli-input-json file://input.json Contents of ``input.json``:: { "ServiceArn": "arn:aws:apprunner:us-east-1:123456789012:service/python-app/8fe1e10304f84fd2b0df550fe98a71fa", "DomainName": "example.com", "EnableWWWSubdomain": true } Output:: { "CustomDomain": { "CertificateValidationRecords": [ { "Name": "_70d3f50a94f7c72dc28784cf55db2f6b.example.com", "Status": "PENDING_VALIDATION", "Type": "CNAME", "Value": "_1270c137383c6307b6832db02504c4b0.bsgbmzkfwj.acm-validations.aws." }, { "Name": "_287870d3f50a94f7c72dc4cf55db2f6b.www.example.com", "Status": "PENDING_VALIDATION", "Type": "CNAME", "Value": "_832db01270c137383c6307b62504c4b0.mzkbsgbfwj.acm-validations.aws." } ], "DomainName": "example.com", "EnableWWWSubdomain": true, "Status": "CREATING" }, "DNSTarget": "psbqam834h.us-east-1.awsapprunner.com", "ServiceArn": "arn:aws:apprunner:us-east-1:123456789012:service/python-app/8fe1e10304f84fd2b0df550fe98a71fa" }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
associate-custom-domain.rst | File | 1.65 KB | 0644 |
|
create-auto-scaling-configuration.rst | File | 1.41 KB | 0644 |
|
create-connection.rst | File | 1.08 KB | 0644 |
|
create-service.rst | File | 9.6 KB | 0644 |
|
delete-auto-scaling-configuration.rst | File | 2.72 KB | 0644 |
|
delete-connection.rst | File | 812 B | 0644 |
|
delete-service.rst | File | 2.26 KB | 0644 |
|
describe-auto-scaling-configuration.rst | File | 2.58 KB | 0644 |
|
describe-custom-domains.rst | File | 2.23 KB | 0644 |
|
describe-service.rst | File | 2.2 KB | 0644 |
|
disassociate-custom-domain.rst | File | 1.59 KB | 0644 |
|
list-auto-scaling-configurations.rst | File | 1.42 KB | 0644 |
|
list-connections.rst | File | 1.63 KB | 0644 |
|
list-operations.rst | File | 1 KB | 0644 |
|
list-services.rst | File | 1.78 KB | 0644 |
|
list-tags-for-resource.rst | File | 710 B | 0644 |
|
pause-service.rst | File | 2.25 KB | 0644 |
|
resume-service.rst | File | 2.26 KB | 0644 |
|
start-deployment.rst | File | 480 B | 0644 |
|
tag-resource.rst | File | 656 B | 0644 |
|
untag-resource.rst | File | 510 B | 0644 |
|
update-service.rst | File | 2.59 KB | 0644 |
|