@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 assumedRoleArn,
String ignoreErrorCodesMatching,
List<String> outputPaths,
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 |
getAssumedRoleArn()
(experimental) Used for running the SDK calls in underlying lambda with a different role Can be used primarily for cross-account requests to for example connect hostedzone with a shared vpc.
|
String |
getIgnoreErrorCodesMatching()
(experimental) The regex pattern to use to catch API errors.
|
List<String> |
getOutputPaths()
(experimental) Restrict the data returned by the custom resource to specific paths 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 assumedRoleArn, String ignoreErrorCodesMatching, List<String> outputPaths, 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 getAssumedRoleArn()
AwsSdkCallExample for Route53 / associateVPCWithHostedZone
Default: - run without assuming role
getAssumedRoleArn in interface AwsSdkCallpublic 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 List<String> getOutputPaths()
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
getOutputPaths 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.