@Stability(value=Experimental) @Internal public static final class AwsSdkCall.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AwsSdkCall
AwsSdkCallsoftware.amazon.jsii.JsiiObject.InitializationModeAwsSdkCall.Builder, AwsSdkCall.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(String action,
String service,
String apiVersion,
String ignoreErrorCodesMatching,
String outputPath,
Object parameters,
PhysicalResourceId physicalResourceId,
String region)
Constructor that initializes the object based on literal property values passed by the
AwsSdkCall.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 |
getIgnoreErrorCodesMatching()
(experimental) The regex pattern to use to catch API errors.
|
String |
getOutputPath()
(experimental) Restrict the data returned by the custom resource to a specific path in the API response.
|
Object |
getParameters()
(experimental) The parameters for the service action.
|
PhysicalResourceId |
getPhysicalResourceId()
(experimental) The physical resource id of the custom resource for this call.
|
String |
getRegion()
(experimental) The region to send service requests to.
|
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(String action, String service, String apiVersion, String ignoreErrorCodesMatching, String outputPath, Object parameters, PhysicalResourceId physicalResourceId, String region)
AwsSdkCall.Builder.public final String getAction()
AwsSdkCallgetAction in interface AwsSdkCallhttps://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.htmlpublic final String getService()
AwsSdkCallgetService in interface AwsSdkCallhttps://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.htmlpublic final String getApiVersion()
AwsSdkCallDefault: - use latest available API version
getApiVersion in interface AwsSdkCallhttps://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/locking-api-versions.htmlpublic final String getIgnoreErrorCodesMatching()
AwsSdkCall
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
getIgnoreErrorCodesMatching in interface AwsSdkCallpublic final String getOutputPath()
AwsSdkCallUse this to limit the data returned by the custom resource if working with API calls that could potentially result in custom response objects exceeding the hard limit of 4096 bytes.
Example for ECS / updateService: 'service.deploymentConfiguration.maximumPercent'
Default: - return all data
getOutputPath in interface AwsSdkCallpublic final Object getParameters()
AwsSdkCallDefault: - no parameters
getParameters in interface AwsSdkCallhttps://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.htmlpublic final PhysicalResourceId getPhysicalResourceId()
AwsSdkCallMandatory for onCreate or onUpdate calls.
Default: - no physical resource id
getPhysicalResourceId in interface AwsSdkCallpublic final String getRegion()
AwsSdkCallNote: Cross-region operations are generally considered an anti-pattern. Consider first deploying a stack in that region.
Default: - the region where this custom resource is deployed
getRegion in interface AwsSdkCall@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.