Class IdentifierUtils
- java.lang.Object
-
- software.amazon.cloudformation.resource.IdentifierUtils
-
public class IdentifierUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgenerateResourceIdentifier(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 StringgenerateResourceIdentifier(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://...
-
-
-
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 CloudFormationclientRequestToken- 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 CloudFormationclientRequestToken- the idempotent token from CloudFormation to help detect duplicate callsmaxLength- the maximum length size for the identifier- Returns:
- generated ID string
-
-