@Stability(value=Experimental) public static final class AwsSdkCall.Builder extends Object implements software.amazon.jsii.Builder<AwsSdkCall>
AwsSdkCall| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public AwsSdkCall.Builder action(String action)
AwsSdkCall.getAction()action - The service action to call. This parameter is required.this@Stability(value=Experimental) public AwsSdkCall.Builder service(String service)
AwsSdkCall.getService()service - The service to call. This parameter is required.this@Stability(value=Experimental) public AwsSdkCall.Builder apiVersion(String apiVersion)
AwsSdkCall.getApiVersion()apiVersion - API version to use for the service.this@Stability(value=Experimental) public AwsSdkCall.Builder assumedRoleArn(String assumedRoleArn)
AwsSdkCall.getAssumedRoleArn()assumedRoleArn - 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.
Example for Route53 / associateVPCWithHostedZonethis@Stability(value=Experimental) public AwsSdkCall.Builder ignoreErrorCodesMatching(String ignoreErrorCodesMatching)
AwsSdkCall.getIgnoreErrorCodesMatching()ignoreErrorCodesMatching - The regex pattern to use to catch API errors.
The code property of the
Error object will be tested against this pattern. If there is a match an
error will not be thrown.this@Stability(value=Experimental) public AwsSdkCall.Builder outputPaths(List<String> outputPaths)
AwsSdkCall.getOutputPaths()outputPaths - Restrict the data returned by the custom resource to specific paths in the API response.
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']
this@Stability(value=Experimental) public AwsSdkCall.Builder parameters(Object parameters)
AwsSdkCall.getParameters()parameters - The parameters for the service action.this@Stability(value=Experimental) public AwsSdkCall.Builder physicalResourceId(PhysicalResourceId physicalResourceId)
AwsSdkCall.getPhysicalResourceId()physicalResourceId - The physical resource id of the custom resource for this call.
Mandatory for onCreate or onUpdate calls.this@Stability(value=Experimental) public AwsSdkCall.Builder region(String region)
AwsSdkCall.getRegion()region - The region to send service requests to.
Note: Cross-region operations are generally considered an anti-pattern.
Consider first deploying a stack in that region.this@Stability(value=Experimental) public AwsSdkCall build()
build in interface software.amazon.jsii.Builder<AwsSdkCall>AwsSdkCallNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.