interface UniqueResourceNameOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.UniqueResourceNameOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2#UniqueResourceNameOptions |
![]() | software.amazon.awscdk.UniqueResourceNameOptions |
![]() | aws_cdk.UniqueResourceNameOptions |
![]() | aws-cdk-lib » UniqueResourceNameOptions |
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 * as cdk from 'aws-cdk-lib';
const uniqueResourceNameOptions: cdk.UniqueResourceNameOptions = {
allowedSpecialCharacters: 'allowedSpecialCharacters',
maxLength: 123,
separator: 'separator',
};
Properties
Name | Type | Description |
---|---|---|
allowed | string | Non-alphanumeric characters allowed in the unique resource name. |
max | number | The maximum length of the unique resource name. |
separator? | string | The separator used between the path components. |
allowedSpecialCharacters?
Type:
string
(optional, default: none)
Non-alphanumeric characters allowed in the unique resource name.
maxLength?
Type:
number
(optional, default: 256)
The maximum length of the unique resource name.
separator?
Type:
string
(optional, default: none)
The separator used between the path components.