Class CustomResourceLogRetention
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.customresources.CustomResourceLogRetention
- All Implemented Interfaces:
IAspect,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:02.827Z")
@Stability(Stable)
public class CustomResourceLogRetention
extends software.amazon.jsii.JsiiObject
implements IAspect
Manages log retention for 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.services.logs.*; import software.amazon.awscdk.customresources.*; CustomResourceLogRetention customResourceLogRetention = new CustomResourceLogRetention(RetentionDays.ONE_DAY);
-
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.IAspect
IAspect.Jsii$Default, IAspect.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionCustomResourceLogRetention(RetentionDays setLogRetention) protectedCustomResourceLogRetention(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCustomResourceLogRetention(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidvisit(software.constructs.IConstruct node) All aspects can visit an IConstruct.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
-
CustomResourceLogRetention
protected CustomResourceLogRetention(software.amazon.jsii.JsiiObjectRef objRef) -
CustomResourceLogRetention
protected CustomResourceLogRetention(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CustomResourceLogRetention
- Parameters:
setLogRetention- This parameter is required.
-
-
Method Details