Class AwsSdkCall.Jsii$Proxy
- All Implemented Interfaces:
AwsSdkCall,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AwsSdkCall
AwsSdkCall-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.customresources.AwsSdkCall
AwsSdkCall.Builder, AwsSdkCall.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(AwsSdkCall.Builder builder) Constructor that initializes the object based on literal property values passed by theAwsSdkCall.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe service action to call.final StringAPI version to use for the service.final StringUsed for running the SDK calls in underlying lambda with a different role.final StringExternal ID to use when assuming the role for cross-account requests.final StringThe regex pattern to use to catch API errors.final LoggingA property used to configure logging during lambda function execution.Restrict the data returned by the custom resource to specific paths in the API response.final ObjectThe parameters for the service action.final PhysicalResourceIdThe physical resource id of the custom resource for this call.final StringThe region to send service requests to.final StringThe service to call.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theAwsSdkCall.Builder.
-
-
Method Details
-
getAction
Description copied from interface:AwsSdkCallThe service action to call.This is the name of an AWS API call, in one of the following forms:
- An API call name as found in the API Reference documentation (
GetObject) - The API call name starting with a lowercase letter (
getObject) - The AWS SDK for JavaScript v3 command class name (
GetObjectCommand)
- Specified by:
getActionin interfaceAwsSdkCall- See Also:
- An API call name as found in the API Reference documentation (
-
getService
Description copied from interface:AwsSdkCallThe service to call.This is the name of an AWS service, in one of the following forms:
- An AWS SDK for JavaScript v3 package name (
@aws-sdk/client-api-gateway) - An AWS SDK for JavaScript v3 client name (
api-gateway) - An AWS SDK for JavaScript v2 constructor name (
APIGateway) - A lowercase AWS SDK for JavaScript v2 constructor name (
apigateway)
- Specified by:
getServicein interfaceAwsSdkCall- See Also:
- An AWS SDK for JavaScript v3 package name (
-
getApiVersion
Description copied from interface:AwsSdkCallAPI version to use for the service.Default: - use latest available API version
- Specified by:
getApiVersionin interfaceAwsSdkCall- See Also:
-
getAssumedRoleArn
Description copied from interface:AwsSdkCallUsed 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. Region controls where assumeRole call is made.
Example for Route53 / associateVPCWithHostedZone
Default: - run without assuming role
- Specified by:
getAssumedRoleArnin interfaceAwsSdkCall
-
getExternalId
Description copied from interface:AwsSdkCallExternal ID to use when assuming the role for cross-account requests.This is an additional security measure that helps prevent the "confused deputy" problem where an entity that doesn't have permission to perform an action can coerce a more-privileged entity to perform the action.
The external ID must be provided by the third-party service and should not be generated by you. This value should be unique among the third-party service's customers.
This property is only used when
assumedRoleArnis specified.Default: - no external ID
- Specified by:
getExternalIdin interfaceAwsSdkCall- See Also:
-
getIgnoreErrorCodesMatching
Description copied from interface:AwsSdkCallThe regex pattern to use to catch API errors.The
codeproperty of theErrorobject will be tested against this pattern. If there is a match an error will not be thrown.Default: - do not catch errors
- Specified by:
getIgnoreErrorCodesMatchingin interfaceAwsSdkCall
-
getLogging
Description copied from interface:AwsSdkCallA property used to configure logging during lambda function execution.Note: The default Logging configuration is all. This configuration will enable logging on all logged data in the lambda handler. This includes:
- The event object that is received by the lambda handler
- The response received after making a API call
- The response object that the lambda handler will return
- SDK versioning information
- Caught and uncaught errors
Default: Logging.all()
- Specified by:
getLoggingin interfaceAwsSdkCall
-
getOutputPaths
Description copied from interface:AwsSdkCallRestrict 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']
Default: - return all data
- Specified by:
getOutputPathsin interfaceAwsSdkCall
-
getParameters
Description copied from interface:AwsSdkCallThe parameters for the service action.Default: - no parameters
- Specified by:
getParametersin interfaceAwsSdkCall- See Also:
-
getPhysicalResourceId
Description copied from interface:AwsSdkCallThe physical resource id of the custom resource for this call.Mandatory for onCreate call. In onUpdate, you can omit this to passthrough it from request.
Default: - no physical resource id
- Specified by:
getPhysicalResourceIdin interfaceAwsSdkCall
-
getRegion
Description copied from interface:AwsSdkCallThe region to send service requests to.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
- Specified by:
getRegionin interfaceAwsSdkCall
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-