public final class ApiGatewayConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ApiGatewayConfig.ApiType
The type of API Gateway service to generate.
|
Constructor and Description |
---|
ApiGatewayConfig() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAdditionalAllowedCorsHeaders()
Deprecated.
|
java.util.Set<java.lang.String> |
getAdditionalAllowedCorsHeadersSet() |
ApiGatewayConfig.ApiType |
getApiGatewayType() |
boolean |
getDisableCloudFormationSubstitution() |
void |
setAdditionalAllowedCorsHeaders(java.util.Collection<java.lang.String> additionalAllowedCorsHeaders)
Sets the additional allowed CORS headers.
|
void |
setApiGatewayType(ApiGatewayConfig.ApiType apiGatewayType)
Sets the type of API Gateway API to generate.
|
void |
setDisableCloudFormationSubstitution(boolean disableCloudFormationSubstitution)
Disables CloudFormation substitutions of specific paths when they contain
${} placeholders.
|
public boolean getDisableCloudFormationSubstitution()
public void setDisableCloudFormationSubstitution(boolean disableCloudFormationSubstitution)
disableCloudFormationSubstitution
- Set to true to disable intrinsics.public ApiGatewayConfig.ApiType getApiGatewayType()
public void setApiGatewayType(ApiGatewayConfig.ApiType apiGatewayType)
If not set, this value defaults to a "REST" API.
apiGatewayType
- API type to set.@Deprecated public java.util.List<java.lang.String> getAdditionalAllowedCorsHeaders()
getAdditionalAllowedCorsHeadersSet()
public java.util.Set<java.lang.String> getAdditionalAllowedCorsHeadersSet()
public void setAdditionalAllowedCorsHeaders(java.util.Collection<java.lang.String> additionalAllowedCorsHeaders)
additionalAllowedCorsHeaders
- additional cors headers to be allowed.