@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:54:56.898Z") @Stability(value=Experimental) public interface RestApiProps extends software.amazon.jsii.JsiiSerializable, ResourceOptions, RestApiBaseProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
RestApiProps.Builder
A builder for
RestApiProps |
static class |
RestApiProps.Jsii$Proxy
An implementation for
RestApiProps |
| Modifier and Type | Method and Description |
|---|---|
static RestApiProps.Builder |
builder() |
default ApiKeySourceType |
getApiKeySourceType()
(experimental) The source of the API key for metering requests according to a usage plan.
|
default List<String> |
getBinaryMediaTypes()
(experimental) The list of binary media mime-types that are supported by the RestApi resource, such as "image/png" or "application/octet-stream".
|
default IRestApi |
getCloneFrom()
(experimental) The ID of the API Gateway RestApi resource that you want to clone.
|
default String |
getDescription()
(experimental) A description of the purpose of this API Gateway RestApi resource.
|
default EndpointConfiguration |
getEndpointConfiguration()
(experimental) The EndpointConfiguration property type specifies the endpoint types of a REST API.
|
default Number |
getMinimumCompressionSize()
(experimental) A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (when undefined) on an API.
|
getDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptionsgetCloudWatchRole, getDeploy, getDeployOptions, getDomainName, getEndpointExportName, getEndpointTypes, getFailOnWarnings, getParameters, getPolicy, getRestApiName, getRetainDeployments@Stability(value=Experimental) @Nullable default ApiKeySourceType getApiKeySourceType()
Default: - Metering is disabled.
@Stability(value=Experimental) @Nullable default List<String> getBinaryMediaTypes()
Default: - RestApi supports only UTF-8-encoded text payloads.
@Stability(value=Experimental) @Nullable default IRestApi getCloneFrom()
Default: - None.
@Stability(value=Experimental) @Nullable default String getDescription()
Default: - No description.
@Stability(value=Experimental) @Nullable default EndpointConfiguration getEndpointConfiguration()
Default: EndpointType.EDGE
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-restapi-endpointconfiguration.html@Stability(value=Experimental) @Nullable default Number getMinimumCompressionSize()
When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
Default: - Compression is disabled.
@Stability(value=Experimental) static RestApiProps.Builder builder()
builder in interface ResourceOptionsbuilder in interface RestApiBasePropsRestApiProps.Builder of RestApiPropsCopyright © 2021. All rights reserved.