@Stability(value=Experimental) @Internal public static final class AwsCustomResourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AwsCustomResourceProps
AwsCustomResourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeAwsCustomResourceProps.Builder, AwsCustomResourceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AwsCustomResourcePolicy policy,
String functionName,
Boolean installLatestAwsSdk,
RetentionDays logRetention,
AwsSdkCall onCreate,
AwsSdkCall onDelete,
AwsSdkCall onUpdate,
String resourceType,
IRole role,
Duration timeout)
Constructor that initializes the object based on literal property values passed by the
AwsCustomResourceProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getFunctionName()
(experimental) A name for the Lambda function implementing this custom resource.
|
Boolean |
getInstallLatestAwsSdk()
(experimental) Whether to install the latest AWS SDK v2.
|
RetentionDays |
getLogRetention()
(experimental) The number of days log events of the Lambda function implementing this custom resource are kept in CloudWatch Logs.
|
AwsSdkCall |
getOnCreate()
(experimental) The AWS SDK call to make when the resource is created.
|
AwsSdkCall |
getOnDelete()
(experimental) The AWS SDK call to make when the resource is deleted.
|
AwsSdkCall |
getOnUpdate()
(experimental) The AWS SDK call to make when the resource is updated.
|
AwsCustomResourcePolicy |
getPolicy()
(experimental) The policy that will be added to the execution role of the Lambda function implementing this custom resource provider.
|
String |
getResourceType()
(experimental) Cloudformation Resource type.
|
IRole |
getRole()
(experimental) The execution role for the Lambda function implementing this custom resource provider.
|
Duration |
getTimeout()
(experimental) The timeout for the Lambda function implementing this custom resource.
|
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(AwsCustomResourcePolicy policy, String functionName, Boolean installLatestAwsSdk, RetentionDays logRetention, AwsSdkCall onCreate, AwsSdkCall onDelete, AwsSdkCall onUpdate, String resourceType, IRole role, Duration timeout)
AwsCustomResourceProps.Builder.public final AwsCustomResourcePolicy getPolicy()
AwsCustomResourceProps
The custom resource also implements iam.IGrantable, making it possible
to use the grantXxx() methods.
As this custom resource uses a singleton Lambda function, it's important to note the that function's role will eventually accumulate the permissions/grants from all resources.
getPolicy in interface AwsCustomResourcePropsPolicy.fromSdkCallspublic final String getFunctionName()
AwsCustomResourcePropsDefault: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
getFunctionName in interface AwsCustomResourcePropspublic final Boolean getInstallLatestAwsSdk()
AwsCustomResourcePropsThe installation takes around 60 seconds.
Default: true
getInstallLatestAwsSdk in interface AwsCustomResourcePropspublic final RetentionDays getLogRetention()
AwsCustomResourcePropsDefault: logs.RetentionDays.INFINITE
getLogRetention in interface AwsCustomResourcePropspublic final AwsSdkCall getOnCreate()
AwsCustomResourcePropsDefault: - the call when the resource is updated
getOnCreate in interface AwsCustomResourcePropspublic final AwsSdkCall getOnDelete()
AwsCustomResourcePropsDefault: - no call
getOnDelete in interface AwsCustomResourcePropspublic final AwsSdkCall getOnUpdate()
AwsCustomResourcePropsDefault: - no call
getOnUpdate in interface AwsCustomResourcePropspublic final String getResourceType()
AwsCustomResourcePropsDefault: - Custom::AWS
getResourceType in interface AwsCustomResourcePropspublic final IRole getRole()
AwsCustomResourceProps
This role will apply to all AwsCustomResource
instances in the stack. The role must be assumable by the
lambda.amazonaws.com service principal.
Default: - a new role is created
getRole in interface AwsCustomResourcePropspublic final Duration getTimeout()
AwsCustomResourcePropsDefault: Duration.minutes(2)
getTimeout in interface AwsCustomResourceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.