Class ApiGatewayConfig
java.lang.Object
software.amazon.smithy.aws.apigateway.openapi.ApiGatewayConfig
API Gateway OpenAPI configuration.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe type of API Gateway service to generate.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.booleanvoidsetAdditionalAllowedCorsHeaders(Collection<String> additionalAllowedCorsHeaders) Sets the additional allowed CORS headers.voidsetApiGatewayType(ApiGatewayConfig.ApiType apiGatewayType) Sets the type of API Gateway API to generate.voidsetDisableCloudFormationSubstitution(boolean disableCloudFormationSubstitution) Disables CloudFormation substitutions of specific paths when they contain ${} placeholders.
- 
Constructor Details- 
ApiGatewayConfigpublic ApiGatewayConfig()
 
- 
- 
Method Details- 
getDisableCloudFormationSubstitutionpublic boolean getDisableCloudFormationSubstitution()- Returns:
- Returns true if CloudFormation substitutions are disabled.
 
- 
setDisableCloudFormationSubstitutionpublic void setDisableCloudFormationSubstitution(boolean disableCloudFormationSubstitution) Disables CloudFormation substitutions of specific paths when they contain ${} placeholders. When found, these are expanded into CloudFormation Fn::Sub intrinsic functions.- Parameters:
- disableCloudFormationSubstitution- Set to true to disable intrinsics.
 
- 
getApiGatewayType- Returns:
- the type of API Gateway API to generate.
 
- 
setApiGatewayTypeSets the type of API Gateway API to generate.If not set, this value defaults to a "REST" API. - Parameters:
- apiGatewayType- API type to set.
 
- 
getAdditionalAllowedCorsHeadersDeprecated.
- 
getAdditionalAllowedCorsHeadersSet- Returns:
- the set of additional allowed CORS headers.
 
- 
setAdditionalAllowedCorsHeadersSets the additional allowed CORS headers.- Parameters:
- additionalAllowedCorsHeaders- additional cors headers to be allowed.
 
 
- 
getAdditionalAllowedCorsHeadersSet()