Class IdentifierUtils


  • public class IdentifierUtils
    extends Object
    • Method Detail

      • 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