@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.332Z") @Stability(value=Stable) public class StringListParameter extends Resource implements IStringListParameter, IParameter
Example:
// Example automatically generated from non-compiling source. May contain errors. StringListParameter.valueForTypedListParameter(stack, "/My/Public/Parameter", ParameterValueType.AWS_EC2_IMAGE_ID);
| Modifier and Type | Class and Description |
|---|---|
static class |
StringListParameter.Builder
A fluent builder for
StringListParameter. |
software.amazon.jsii.JsiiObject.InitializationModeIStringListParameter.Jsii$Default, IStringListParameter.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
StringListParameter(software.constructs.Construct scope,
String id,
StringListParameterProps props) |
protected |
StringListParameter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
StringListParameter(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IStringListParameter |
fromListParameterAttributes(software.constructs.Construct scope,
String id,
ListParameterAttributes attrs)
Imports an external string list parameter with name and optional version.
|
static IStringListParameter |
fromStringListParameterName(software.constructs.Construct scope,
String id,
String stringListParameterName)
Imports an external parameter of type string list.
|
IKey |
getEncryptionKey()
The encryption key that is used to encrypt this parameter.
|
String |
getParameterArn()
The ARN of the SSM Parameter resource.
|
String |
getParameterName()
The name of the SSM Parameter resource.
|
String |
getParameterType()
The type of the SSM Parameter resource.
|
List<String> |
getStringListValue()
The parameter value.
|
Grant |
grantRead(IGrantable grantee)
Grants read (DescribeParameter, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
|
Grant |
grantWrite(IGrantable grantee)
Grants write (PutParameter) permissions on the SSM Parameter.
|
static List<String> |
valueForTypedListParameter(software.constructs.Construct scope,
String parameterName)
Returns a token that will resolve (during deployment) to the list value of an SSM StringList parameter.
|
static List<String> |
valueForTypedListParameter(software.constructs.Construct scope,
String parameterName,
ParameterValueType type)
Returns a token that will resolve (during deployment) to the list value of an SSM StringList parameter.
|
static List<String> |
valueForTypedListParameter(software.constructs.Construct scope,
String parameterName,
ParameterValueType type,
Number version)
Returns a token that will resolve (during deployment) to the list value of an SSM StringList parameter.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected StringListParameter(software.amazon.jsii.JsiiObjectRef objRef)
protected StringListParameter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public StringListParameter(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
StringListParameterProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public static IStringListParameter fromListParameterAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ListParameterAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Stable) @NotNull public static IStringListParameter fromStringListParameterName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String stringListParameterName)
Returns a token and should not be parsed.
scope - This parameter is required.id - This parameter is required.stringListParameterName - This parameter is required.@Stability(value=Stable) @NotNull public static List<String> valueForTypedListParameter(@NotNull software.constructs.Construct scope, @NotNull String parameterName, @Nullable ParameterValueType type, @Nullable Number version)
scope - Some scope within a stack. This parameter is required.parameterName - The name of the SSM parameter. This parameter is required.type - the type of the SSM list parameter.version - The parameter version (recommended in order to ensure that the value won't change during deployment).@Stability(value=Stable) @NotNull public static List<String> valueForTypedListParameter(@NotNull software.constructs.Construct scope, @NotNull String parameterName, @Nullable ParameterValueType type)
scope - Some scope within a stack. This parameter is required.parameterName - The name of the SSM parameter. This parameter is required.type - the type of the SSM list parameter.@Stability(value=Stable) @NotNull public static List<String> valueForTypedListParameter(@NotNull software.constructs.Construct scope, @NotNull String parameterName)
scope - Some scope within a stack. This parameter is required.parameterName - The name of the SSM parameter. This parameter is required.@Stability(value=Stable) @NotNull public Grant grantRead(@NotNull IGrantable grantee)
grantRead in interface IParametergrantee - This parameter is required.@Stability(value=Stable) @NotNull public Grant grantWrite(@NotNull IGrantable grantee)
grantWrite in interface IParametergrantee - This parameter is required.@Stability(value=Stable) @NotNull public String getParameterArn()
getParameterArn in interface IParameter@Stability(value=Stable) @NotNull public String getParameterName()
getParameterName in interface IParameter@Stability(value=Stable) @NotNull public String getParameterType()
getParameterType in interface IParameter@Stability(value=Stable) @NotNull public List<String> getStringListValue()
Value must not nest another parameter. Do not use {{}} in the value. Values in the array
cannot contain commas (,).
getStringListValue in interface IStringListParameter@Stability(value=Stable) @Nullable public IKey getEncryptionKey()
Copyright © 2022. All rights reserved.