Class AwsCustomResourceProps.Jsii$Proxy
- All Implemented Interfaces:
AwsCustomResourceProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- AwsCustomResourceProps
AwsCustomResourceProps-
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.AwsCustomResourceProps
AwsCustomResourceProps.Builder, AwsCustomResourceProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(AwsCustomResourceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theAwsCustomResourceProps.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 StringA name for the singleton Lambda function implementing this custom resource.final BooleanWhether to install the latest AWS SDK v2.final RetentionDaysThe number of days log events of the singleton Lambda function implementing this custom resource are kept in CloudWatch Logs.final AwsSdkCallThe AWS SDK call to make when the resource is created.final AwsSdkCallThe AWS SDK call to make when the resource is deleted.final AwsSdkCallThe AWS SDK call to make when the resource is updated.final AwsCustomResourcePolicyThe policy that will be added to the execution role of the Lambda function implementing this custom resource provider.final StringCloudformation Resource type.final IRolegetRole()The execution role for the singleton Lambda function implementing this custom resource provider.final DurationThe timeout for the singleton Lambda function implementing this custom resource.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 theAwsCustomResourceProps.Builder.
-
-
Method Details
-
getPolicy
Description copied from interface:AwsCustomResourcePropsThe policy that will be added to the execution role of the Lambda function implementing this custom resource provider.The custom resource also implements
iam.IGrantable, making it possible to use thegrantXxx()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.
- Specified by:
getPolicyin interfaceAwsCustomResourceProps- See Also:
-
getFunctionName
Description copied from interface:AwsCustomResourcePropsA name for the singleton Lambda function implementing this custom resource.The function name will remain the same after the first AwsCustomResource is created in a stack.
Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
- Specified by:
getFunctionNamein interfaceAwsCustomResourceProps
-
getInstallLatestAwsSdk
Description copied from interface:AwsCustomResourcePropsWhether to install the latest AWS SDK v2. Allows to use the latest API calls documented at https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html.The installation takes around 60 seconds.
Default: true
- Specified by:
getInstallLatestAwsSdkin interfaceAwsCustomResourceProps
-
getLogRetention
Description copied from interface:AwsCustomResourcePropsThe number of days log events of the singleton Lambda function implementing this custom resource are kept in CloudWatch Logs.Default: logs.RetentionDays.INFINITE
- Specified by:
getLogRetentionin interfaceAwsCustomResourceProps
-
getOnCreate
Description copied from interface:AwsCustomResourcePropsThe AWS SDK call to make when the resource is created.Default: - the call when the resource is updated
- Specified by:
getOnCreatein interfaceAwsCustomResourceProps
-
getOnDelete
Description copied from interface:AwsCustomResourcePropsThe AWS SDK call to make when the resource is deleted.Default: - no call
- Specified by:
getOnDeletein interfaceAwsCustomResourceProps
-
getOnUpdate
Description copied from interface:AwsCustomResourcePropsThe AWS SDK call to make when the resource is updated.Default: - no call
- Specified by:
getOnUpdatein interfaceAwsCustomResourceProps
-
getResourceType
Description copied from interface:AwsCustomResourcePropsCloudformation Resource type.Default: - Custom::AWS
- Specified by:
getResourceTypein interfaceAwsCustomResourceProps
-
getRole
Description copied from interface:AwsCustomResourcePropsThe execution role for the singleton Lambda function implementing this custom resource provider.This role will apply to all
AwsCustomResourceinstances in the stack. The role must be assumable by thelambda.amazonaws.com.rproxy.govskope.caservice principal.Default: - a new role is created
- Specified by:
getRolein interfaceAwsCustomResourceProps
-
getTimeout
Description copied from interface:AwsCustomResourcePropsThe timeout for the singleton Lambda function implementing this custom resource.Default: Duration.minutes(2)
- Specified by:
getTimeoutin interfaceAwsCustomResourceProps
-
$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()
-