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.104.0 (build e79254c)",
date="2024-10-31T19:13:07.357Z")
@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
ModifierConstructorDescriptionprotected
CustomResourceConfig
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CustomResourceConfig
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLambdaRuntime
(Runtime lambdaRuntime) Set the runtime version on AWS-vended custom resources lambdas.void
addLogRetentionLifetime
(RetentionDays rentention) Set the log retention of AWS-vended custom resource lambdas.void
addRemovalPolicy
(RemovalPolicy removalPolicy) Set the removal policy of AWS-vended custom resource logGroup.static CustomResourceConfig
of
(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, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
rentention
- 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.
-