--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_amplify_domain Resource - terraform-provider-awscc" subcategory: "" description: |- The AWS::Amplify::Domain resource allows you to connect a custom domain to your app. --- # awscc_amplify_domain (Resource) The AWS::Amplify::Domain resource allows you to connect a custom domain to your app. ## Schema ### Required - `app_id` (String) - `domain_name` (String) - `sub_domain_settings` (Attributes List) (see [below for nested schema](#nestedatt--sub_domain_settings)) ### Optional - `auto_sub_domain_creation_patterns` (List of String) - `auto_sub_domain_iam_role` (String) - `enable_auto_sub_domain` (Boolean) ### Read-Only - `arn` (String) - `certificate_record` (String) - `domain_status` (String) - `id` (String) Uniquely identifies the resource. - `status_reason` (String) ### Nested Schema for `sub_domain_settings` Required: - `branch_name` (String) - `prefix` (String) ## Import Import is supported using the following syntax: ```shell $ terraform import awscc_amplify_domain.example ```