Class CustomResourceConfig
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.customresources.CustomResourceConfig
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:47.719Z")
@Stability(Stable)
public class CustomResourceConfig
extends software.amazon.jsii.JsiiObject
Manages AWS-vended Custom Resources.
This feature is currently experimental.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.customresources.*; CustomResourceConfig customResourceConfig = CustomResourceConfig.of(this);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCustomResourceConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCustomResourceConfig(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLambdaRuntime(Runtime lambdaRuntime) Set the runtime version on AWS-vended custom resources lambdas.voidaddLogRetentionLifetime(RetentionDays retention) Set the log retention of AWS-vended custom resource lambdas.voidaddRemovalPolicy(RemovalPolicy removalPolicy) Set the removal policy of AWS-vended custom resource logGroup.static CustomResourceConfigof(software.constructs.IConstruct scope) Returns the CustomResourceConfig for this scope.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CustomResourceConfig
protected CustomResourceConfig(software.amazon.jsii.JsiiObjectRef objRef) -
CustomResourceConfig
protected CustomResourceConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
of
@Stability(Stable) @NotNull public static CustomResourceConfig of(@NotNull software.constructs.IConstruct scope) Returns the CustomResourceConfig for this scope.- Parameters:
scope- This parameter is required.
-
addLambdaRuntime
Set the runtime version on AWS-vended custom resources lambdas.This feature is currently experimental.
- Parameters:
lambdaRuntime- This parameter is required.
-
addLogRetentionLifetime
Set the log retention of AWS-vended custom resource lambdas.This feature is currently experimental.
- Parameters:
retention- This parameter is required.
-
addRemovalPolicy
Set the removal policy of AWS-vended custom resource logGroup.This feature is currently experimental.
- Parameters:
removalPolicy- This parameter is required.
-