@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.235Z") @Stability(value=Experimental) public interface ApiGatewayProps extends software.amazon.jsii.JsiiSerializable, TargetBaseProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
ApiGatewayProps.Builder
A builder for
ApiGatewayProps |
static class |
ApiGatewayProps.Jsii$Proxy
An implementation for
ApiGatewayProps |
| Modifier and Type | Method and Description |
|---|---|
static ApiGatewayProps.Builder |
builder() |
default IRole |
getEventRole()
(experimental) The role to assume before invoking the target (i.e., the pipeline) when the given rule is triggered.
|
default Map<String,String> |
getHeaderParameters()
(experimental) The headers to be set when requesting API.
|
default String |
getMethod()
(experimental) The method for api resource invoked by the rule.
|
default String |
getPath()
(experimental) The api resource invoked by the rule.
|
default List<String> |
getPathParameterValues()
(experimental) The path parameter values to be used to populate to wildcards("*") of requesting api path.
|
default RuleTargetInput |
getPostBody()
(experimental) This will be the post request body send to the API.
|
default Map<String,String> |
getQueryStringParameters()
(experimental) The query parameters to be set when requesting API.
|
default String |
getStage()
(experimental) The deploy stage of api gateway invoked by the rule.
|
getDeadLetterQueue, getMaxEventAge, getRetryAttempts@Stability(value=Experimental) @Nullable default IRole getEventRole()
Default: - a new role will be created
@Stability(value=Experimental) @Nullable default Map<String,String> getHeaderParameters()
Default: no header parameters
@Stability(value=Experimental) @Nullable default String getMethod()
Default: '*' that treated as ANY
@Stability(value=Experimental) @Nullable default String getPath()
We can use wildcards('*') to specify the path. In that case, an equal number of real values must be specified for pathParameterValues.
Default: '/'
@Stability(value=Experimental) @Nullable default List<String> getPathParameterValues()
Default: no path parameters
@Stability(value=Experimental) @Nullable default RuleTargetInput getPostBody()
Default: the entire EventBridge event
@Stability(value=Experimental) @Nullable default Map<String,String> getQueryStringParameters()
Default: no querystring parameters
@Stability(value=Experimental) @Nullable default String getStage()
Default: the value of deploymentStage.stageName of target api gateway.
@Stability(value=Experimental) static ApiGatewayProps.Builder builder()
builder in interface TargetBasePropsApiGatewayProps.Builder of ApiGatewayPropsCopyright © 2021. All rights reserved.