Class IdentifierUtils

java.lang.Object
software.amazon.cloudformation.resource.IdentifierUtils

public class IdentifierUtils extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    generateResourceIdentifier(String logicalResourceId, String clientRequestToken)
    For named resources, use this method to safely generate a user friendly resource name when the customer does not pass in an explicit name For more info, see the named resources section of the developer guide https://...
    static String
    generateResourceIdentifier(String logicalResourceId, String clientRequestToken, int maxLength)
    For named resources, use this method to safely generate a user friendly resource name when the customer does not pass in an explicit name For more info, see the named resources section of the developer guide https://...
    static String
    generateResourceIdentifier(String stackId, String logicalResourceId, String clientRequestToken, int maxLength)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • generateResourceIdentifier

      public static String generateResourceIdentifier(String logicalResourceId, String clientRequestToken)
      For named resources, use this method to safely generate a user friendly resource name when the customer does not pass in an explicit name For more info, see the named resources section of the developer guide https://...
      Parameters:
      logicalResourceId - logical name for the resource as defined in CloudFormation
      clientRequestToken - the idempotent token from CloudFormation to help detect duplicate calls
      Returns:
      generated ID string
    • generateResourceIdentifier

      public static String generateResourceIdentifier(String logicalResourceId, String clientRequestToken, int maxLength)
      For named resources, use this method to safely generate a user friendly resource name when the customer does not pass in an explicit name For more info, see the named resources section of the developer guide https://...
      Parameters:
      logicalResourceId - logical name for the resource as defined in CloudFormation
      clientRequestToken - the idempotent token from CloudFormation to help detect duplicate calls
      maxLength - the maximum length size for the identifier
      Returns:
      generated ID string
    • generateResourceIdentifier

      public static String generateResourceIdentifier(String stackId, String logicalResourceId, String clientRequestToken, int maxLength)