Class UniqueResourceNameOptions
Options for creating a unique resource name.
Inheritance
System.Object
UniqueResourceNameOptions
Implements
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class UniqueResourceNameOptions : Object, IUniqueResourceNameOptions
Syntax (vb)
Public Class UniqueResourceNameOptions
Inherits Object
Implements IUniqueResourceNameOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var uniqueResourceNameOptions = new UniqueResourceNameOptions {
AllowedSpecialCharacters = "allowedSpecialCharacters",
MaxLength = 123,
Separator = "separator"
};
Synopsis
Constructors
UniqueResourceNameOptions() |
Properties
AllowedSpecialCharacters | Non-alphanumeric characters allowed in the unique resource name. |
MaxLength | The maximum length of the unique resource name. |
Separator | The separator used between the path components. |
Constructors
UniqueResourceNameOptions()
public UniqueResourceNameOptions()
Properties
AllowedSpecialCharacters
Non-alphanumeric characters allowed in the unique resource name.
public string AllowedSpecialCharacters { get; set; }
Property Value
System.String
Remarks
Default: - none
MaxLength
The maximum length of the unique resource name.
public Nullable<double> MaxLength { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - 256
Separator
The separator used between the path components.
public string Separator { get; set; }
Property Value
System.String
Remarks
Default: - none