@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:44.017Z") @Stability(value=Experimental) public class AwsCustomResource extends software.constructs.Construct implements IGrantable
Use this to bridge any gap that might exist in the CloudFormation Coverage. You can specify exactly which calls are invoked for the 'CREATE', 'UPDATE' and 'DELETE' life cycle events.
| Modifier and Type | Class and Description |
|---|---|
static class |
AwsCustomResource.Builder
(experimental) A fluent builder for
AwsCustomResource. |
software.amazon.jsii.JsiiObject.InitializationModeIGrantable.Jsii$Default, IGrantable.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
AwsCustomResource(software.constructs.Construct scope,
String id,
AwsCustomResourceProps props) |
protected |
AwsCustomResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AwsCustomResource(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
IPrincipal |
getGrantPrincipal()
(experimental) The principal to grant permissions to.
|
String |
getResponseField(String dataPath)
(experimental) Returns response data for the AWS SDK call as string.
|
Reference |
getResponseFieldReference(String dataPath)
(experimental) Returns response data for the AWS SDK call.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected AwsCustomResource(software.amazon.jsii.JsiiObjectRef objRef)
protected AwsCustomResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public AwsCustomResource(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
AwsCustomResourceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public String getResponseField(@NotNull String dataPath)
Example for S3 / listBucket : 'Buckets.0.Name'
Note that you cannot use this method if ignoreErrorCodesMatching
is configured for any of the SDK calls. This is because in such a case,
the response data might not exist, and will cause a CloudFormation deploy time error.
dataPath - the path to the data. This parameter is required.@Stability(value=Experimental) @NotNull public Reference getResponseFieldReference(@NotNull String dataPath)
Example for S3 / listBucket : 'Buckets.0.Name'
Use Token.asXxx to encode the returned Reference as a specific type or
use the convenience getDataString for string attributes.
Note that you cannot use this method if ignoreErrorCodesMatching
is configured for any of the SDK calls. This is because in such a case,
the response data might not exist, and will cause a CloudFormation deploy time error.
dataPath - the path to the data. This parameter is required.@Stability(value=Experimental) @NotNull public IPrincipal getGrantPrincipal()
getGrantPrincipal in interface IGrantableCopyright © 2021. All rights reserved.