aws apigateway create-domain-name
Creates a new domain name
Options
Name | Description |
---|---|
--domain-name <string> | [Required] The name of the DomainName resource |
--certificate-name <string> | The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name |
--certificate-body <string> | [Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name provided by your certificate authority |
--certificate-private-key <string> | [Deprecated] Your edge-optimized endpoint's domain name certificate's private key |
--certificate-chain <string> | [Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path |
--certificate-arn <string> | The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source |
--regional-certificate-name <string> | The user-friendly name of the certificate that will be used by regional endpoint for this domain name |
--regional-certificate-arn <string> | The reference to an AWS-managed certificate that will be used by regional endpoint for this domain name. AWS Certificate Manager is the only supported source |
--endpoint-configuration <structure> | The endpoint configuration of this DomainName showing the endpoint types of the domain name |
--tags <map> | The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters |
--security-policy <string> | The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2 |
--mutual-tls-authentication <structure> | If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your custom domain name |
--cli-input-json <string> | Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally |
--generate-cli-skeleton <string> | Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command |