Interface UniqueResourceNameOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
UniqueResourceNameOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-11T15:55:52.152Z") @Stability(Stable) public interface UniqueResourceNameOptions extends software.amazon.jsii.JsiiSerializable
Options for creating a unique resource name.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 UniqueResourceNameOptions uniqueResourceNameOptions = UniqueResourceNameOptions.builder()
         .allowedSpecialCharacters("allowedSpecialCharacters")
         .maxLength(123)
         .separator("separator")
         .build();
 
  • Method Details

    • getAllowedSpecialCharacters

      @Stability(Stable) @Nullable default String getAllowedSpecialCharacters()
      Non-alphanumeric characters allowed in the unique resource name.

      Default: - none

    • getMaxLength

      @Stability(Stable) @Nullable default Number getMaxLength()
      The maximum length of the unique resource name.

      Default: - 256

    • getSeparator

      @Stability(Stable) @Nullable default String getSeparator()
      The separator used between the path components.

      Default: - none

    • builder

      @Stability(Stable) static UniqueResourceNameOptions.Builder builder()
      Returns:
      a UniqueResourceNameOptions.Builder of UniqueResourceNameOptions