Show / Hide Table of Contents

Interface IStringListParameterProps

Properties needed to create a StringList SSM Parameter.

Inherited Members
IParameterOptions.AllowedPattern
IParameterOptions.Description
IParameterOptions.ParameterName
IParameterOptions.SimpleName
IParameterOptions.Tier
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStringListParameterProps : IParameterOptions
Syntax (vb)
Public Interface IStringListParameterProps Inherits IParameterOptions
Remarks

ExampleMetadata: infused

Examples
// Grant read access to some Role
            IRole role;
            // Create a new SSM Parameter holding a String
            var param = new StringParameter(this, "StringParameter", new StringParameterProps {
                // description: 'Some user-friendly description',
                // name: 'ParameterName',
                StringValue = "Initial parameter value"
            });
            param.GrantRead(role);

            // Create a new SSM Parameter holding a StringList
            var listParameter = new StringListParameter(this, "StringListParameter", new StringListParameterProps {
                // description: 'Some user-friendly description',
                // name: 'ParameterName',
                StringListValue = new [] { "Initial parameter value A", "Initial parameter value B" }
            });

Synopsis

Properties

StringListValue

The values of the parameter.

Properties

StringListValue

The values of the parameter.

string[] StringListValue { get; }
Property Value

string[]

Remarks

It may not reference another parameter and {{}} cannot be used in the value.

Back to top Generated by DocFX