| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Stratosphere.Resources.ApiGatewayResource
Description
The AWS::ApiGateway::Resource resource creates a resource in an Amazon API Gateway (API Gateway) API.
- data ApiGatewayResource = ApiGatewayResource {}
 - apiGatewayResource :: Val Text -> Val Text -> Val Text -> ApiGatewayResource
 - agrParentId :: Lens' ApiGatewayResource (Val Text)
 - agrPathPart :: Lens' ApiGatewayResource (Val Text)
 - agrRestApiId :: Lens' ApiGatewayResource (Val Text)
 
Documentation
data ApiGatewayResource Source #
Full data type definition for ApiGatewayResource. See
 apiGatewayResource for a more convenient constructor.
Constructors
| ApiGatewayResource | |
Constructor for ApiGatewayResource containing required fields as
 arguments.
agrParentId :: Lens' ApiGatewayResource (Val Text) Source #
If you want to create a child resource, the ID of the parent resource. For resources without a parent, specify the RestApi root resource ID, such as { Fn::GetAtt: [MyRestApi, RootResourceId] }.
agrPathPart :: Lens' ApiGatewayResource (Val Text) Source #
A path name for the resource.
agrRestApiId :: Lens' ApiGatewayResource (Val Text) Source #
The ID of the RestApi resource in which you want to create this resource.