create_domain_association
¶
create_domain_association(
app_name: AppName,
domain_name: CustomDomainName,
routing: Routing,
dns_management_type: DnsManagementType,
*,
config_overrides: Optional[AmplifyGen3ClientConfig] = None,
tags: Optional[TagMap] = None,
) -> CreateDomainAssociationResponse
Creates a domain association that connects a custom domain to a Gen 3 app.
Parameters:
-
app_name(AppName) –The name of the app.
-
domain_name(CustomDomainName) –The fully qualified domain name.
-
routing(Routing) –The routing configuration for the domain.
-
dns_management_type(DnsManagementType) –How DNS records for the domain are managed.
-
tags(Optional[TagMap], default:None) –The tags to apply to the resource.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–The request conflicts with the current state of the resource.
-
InternalServerException–An internal error occurred. Retry the request.
-
ResourceNotFoundException–The requested resource was not found.
-
ServiceQuotaExceededException–The request would exceed a service quota for your account.
-
ThrottlingException–The request was denied because the request rate exceeds the allowed limit.
-
ValidationException–The request contains invalid parameters or is otherwise malformed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplifygen3/_services/amplify_gen3.py
3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 | |