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.103.1 (build bef2dea)", date="2024-10-25T14:21:25.279Z") @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.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.IAspect

    IAspect.Jsii$Default, IAspect.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    CustomResourceLogRetention(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    CustomResourceLogRetention(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    visit(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, 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

    • CustomResourceLogRetention

      protected CustomResourceLogRetention(software.amazon.jsii.JsiiObjectRef objRef)
    • CustomResourceLogRetention

      protected CustomResourceLogRetention(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CustomResourceLogRetention

      @Stability(Stable) public CustomResourceLogRetention(@NotNull RetentionDays setLogRetention)
      Parameters:
      setLogRetention - This parameter is required.
  • Method Details

    • visit

      @Stability(Stable) public void visit(@NotNull software.constructs.IConstruct node)
      All aspects can visit an IConstruct.

      Specified by:
      visit in interface IAspect
      Parameters:
      node - This parameter is required.