

# StringSetting

The specification for a string setting.

## Contents
<a name="API_StringSetting_Contents"></a>

 ** default **   <a name="systemsmanagercloudextensions-Type-StringSetting-default"></a>
The default value to use when you don't provide one.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

 ** enum **   <a name="systemsmanagercloudextensions-Type-StringSetting-enum"></a>
An explicit list of allowed values. You must choose a value from this list.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 10 items.  
Length Constraints: Minimum length of 1. Maximum length of 16.  
Required: No

 ** format **   <a name="systemsmanagercloudextensions-Type-StringSetting-format"></a>
A named format constraint that implies additional validation. `arn` means that the value must be a valid Amazon Resource Name (ARN). `filepath` means that the value must be a valid file path.  
Type: String  
Valid Values: `arn | filepath`   
Required: No

 ** maxLength **   <a name="systemsmanagercloudextensions-Type-StringSetting-maxLength"></a>
The maximum length of the value. This value must be greater than 0 and at least `minLength`.  
Type: Integer  
Valid Range: Minimum value of 0.  
Required: No

 ** minLength **   <a name="systemsmanagercloudextensions-Type-StringSetting-minLength"></a>
The minimum length of the value.  
Type: Integer  
Valid Range: Minimum value of 0.  
Required: No

 ** pattern **   <a name="systemsmanagercloudextensions-Type-StringSetting-pattern"></a>
A regular expression that the value must match.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

## See Also
<a name="API_StringSetting_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/cloudextensions-2026-11-29/StringSetting) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudextensions-2026-11-29/StringSetting) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudextensions-2026-11-29/StringSetting) 