UniqueResourceNameOptions
- class aws_cdk.UniqueResourceNameOptions(*, allowed_special_characters=None, max_length=None, separator=None)
Bases:
object
Options for creating a unique resource name.
- Parameters:
allowed_special_characters (
Optional
[str
]) – Non-alphanumeric characters allowed in the unique resource name. Default: - nonemax_length (
Union
[int
,float
,None
]) – The maximum length of the unique resource name. Default: - 256separator (
Optional
[str
]) – The separator used between the path components. Default: - none
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk as cdk unique_resource_name_options = cdk.UniqueResourceNameOptions( allowed_special_characters="allowedSpecialCharacters", max_length=123, separator="separator" )
Attributes
- allowed_special_characters
Non-alphanumeric characters allowed in the unique resource name.
- Default:
none
- max_length
The maximum length of the unique resource name.
- Default:
256
- separator
The separator used between the path components.
- Default:
none