@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:44.018Z") @Stability(value=Experimental) public interface AwsSdkCall extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
AwsSdkCall.Builder
A builder for
AwsSdkCall |
static class |
AwsSdkCall.Jsii$Proxy
An implementation for
AwsSdkCall |
Modifier and Type | Method and Description |
---|---|
static AwsSdkCall.Builder |
builder() |
String |
getAction()
(experimental) The service action to call.
|
default String |
getApiVersion()
(experimental) API version to use for the service.
|
default 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.
|
default String |
getIgnoreErrorCodesMatching()
(experimental) The regex pattern to use to catch API errors.
|
default List<String> |
getOutputPaths()
(experimental) Restrict the data returned by the custom resource to specific paths in the API response.
|
default Object |
getParameters()
(experimental) The parameters for the service action.
|
default PhysicalResourceId |
getPhysicalResourceId()
(experimental) The physical resource id of the custom resource for this call.
|
default String |
getRegion()
(experimental) The region to send service requests to.
|
String |
getService()
(experimental) The service to call.
|
@Stability(value=Experimental) @NotNull String getAction()
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html
@Stability(value=Experimental) @NotNull String getService()
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html
@Stability(value=Experimental) @Nullable default String getApiVersion()
Default: - use latest available API version
https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/locking-api-versions.html
@Stability(value=Experimental) @Nullable default String getAssumedRoleArn()
Example for Route53 / associateVPCWithHostedZone
Default: - run without assuming role
@Stability(value=Experimental) @Nullable default String getIgnoreErrorCodesMatching()
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
@Stability(value=Experimental) @Nullable default List<String> getOutputPaths()
Use 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
@Stability(value=Experimental) @Nullable default Object getParameters()
Default: - no parameters
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html
@Stability(value=Experimental) @Nullable default PhysicalResourceId getPhysicalResourceId()
Mandatory for onCreate or onUpdate calls.
Default: - no physical resource id
@Stability(value=Experimental) @Nullable default String getRegion()
Note: 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
@Stability(value=Experimental) static AwsSdkCall.Builder builder()
AwsSdkCall.Builder
of AwsSdkCall
Copyright © 2021. All rights reserved.