CmdID / aws / aws apigateway
aws apigateway create-rest-api
Creates a new RestApi resource. AWS CLI reference
13 options Its page in the AWS CLI reference
Options
--api-key-sourceThe source of the API key for metering requests according to a usage plan.--api-versionA version identifier for the API.--binary-media-typesThe list of binary media types supported by the RestApi.--clone-fromThe ID of the RestApi that you want to clone from.--descriptionThe description of the RestApi.--disable-execute-api-endpointSpecifies whether clients can invoke your API by using the default execute-api endpoint.--endpoint-access-modeThe endpoint access mode of the RestApi.--endpoint-configurationThe endpoint configuration of this RestApi showing the endpoint types and IP address types of the API.--minimum-compression-sizeA nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API.--nameThe name of the RestApi.--policyA stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.--security-policyThe Transport Layer Security (TLS) version + cipher suite for this RestApi.--tagsThe key-value map of strings.