@Stability(value=Experimental) @Internal public static final class AwsApiProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AwsApiProps
AwsApiPropssoftware.amazon.jsii.JsiiObject.InitializationModeAwsApiProps.Builder, AwsApiProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(PolicyStatement policyStatement,
String action,
String service,
String apiVersion,
String catchErrorPattern,
Object parameters)
Constructor that initializes the object based on literal property values passed by the
AwsApiProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAction()
(experimental) The service action to call.
|
String |
getApiVersion()
(experimental) API version to use for the service.
|
String |
getCatchErrorPattern()
(experimental) The regex pattern to use to catch API errors.
|
Object |
getParameters()
(experimental) The parameters for the service action.
|
PolicyStatement |
getPolicyStatement()
(experimental) The IAM policy statement to allow the API call.
|
String |
getService()
(experimental) The service to call.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(PolicyStatement policyStatement, String action, String service, String apiVersion, String catchErrorPattern, Object parameters)
AwsApiProps.Builder.public final PolicyStatement getPolicyStatement()
AwsApiPropsUse only if resource restriction is needed.
Default: - extract the permission from the API call
getPolicyStatement in interface AwsApiPropspublic final String getAction()
AwsApiInputgetAction in interface AwsApiInputhttps://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.htmlpublic final String getService()
AwsApiInputgetService in interface AwsApiInputhttps://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.htmlpublic final String getApiVersion()
AwsApiInputDefault: - use latest available API version
getApiVersion in interface AwsApiInputhttps://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/locking-api-versions.htmlpublic final String getCatchErrorPattern()
AwsApiInput
The code property of the
Error object will be tested against this pattern. If there is a match an
error will not be thrown.
Default: - do not catch errors
getCatchErrorPattern in interface AwsApiInputpublic final Object getParameters()
AwsApiInputDefault: - no parameters
getParameters in interface AwsApiInputhttps://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.