@Stability(value=Stable) public static final class AwsIntegrationProps.Builder extends Object implements software.amazon.jsii.Builder<AwsIntegrationProps>
AwsIntegrationProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public AwsIntegrationProps.Builder service(String service)
AwsIntegrationProps.getService()service - The name of the integrated AWS service (e.g. `s3`). This parameter is required.this@Stability(value=Stable) public AwsIntegrationProps.Builder action(String action)
AwsIntegrationProps.getAction()action - The AWS action to perform in the integration.
Use actionParams to specify key-value params for the action.
Mutually exclusive with path.
this@Stability(value=Stable) public AwsIntegrationProps.Builder actionParameters(Map<String,String> actionParameters)
AwsIntegrationProps.getActionParameters()actionParameters - Parameters for the action.
action must be set, and path must be undefined.
The action params will be URL encoded.this@Stability(value=Stable) public AwsIntegrationProps.Builder integrationHttpMethod(String integrationHttpMethod)
AwsIntegrationProps.getIntegrationHttpMethod()integrationHttpMethod - The integration's HTTP method type.this@Stability(value=Stable) public AwsIntegrationProps.Builder options(IntegrationOptions options)
AwsIntegrationProps.getOptions()options - Integration options, such as content handling, request/response mapping, etc.this@Stability(value=Stable) public AwsIntegrationProps.Builder path(String path)
AwsIntegrationProps.getPath()path - The path to use for path-base APIs.
For example, for S3 GET, you can set path to bucket/key.
For lambda, you can set path to 2015-03-31/functions/${function-arn}/invocations
Mutually exclusive with the action options.
this@Stability(value=Stable) public AwsIntegrationProps.Builder proxy(Boolean proxy)
AwsIntegrationProps.getProxy()proxy - Use AWS_PROXY integration.this@Stability(value=Stable) public AwsIntegrationProps.Builder region(String region)
AwsIntegrationProps.getRegion()region - The region of the integrated AWS service.this@Stability(value=Stable) public AwsIntegrationProps.Builder subdomain(String subdomain)
AwsIntegrationProps.getSubdomain()subdomain - A designated subdomain supported by certain AWS service for fast host-name lookup.this@Stability(value=Stable) public AwsIntegrationProps build()
build in interface software.amazon.jsii.Builder<AwsIntegrationProps>AwsIntegrationPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.