@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:15.328Z") @Stability(value=Experimental) public class StringListParameter extends Resource implements IStringListParameter, IParameter
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssm.*;
StringListParameter stringListParameter = StringListParameter.Builder.create(this, "MyStringListParameter")
.stringListValue(List.of("stringListValue"))
// the properties below are optional
.allowedPattern("allowedPattern")
.description("description")
.parameterName("parameterName")
.simpleName(false)
.tier(ParameterTier.ADVANCED)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
StringListParameter.Builder
(experimental) 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 |
fromStringListParameterName(software.constructs.Construct scope,
String id,
String stringListParameterName)
(experimental) Imports an external parameter of type string list.
|
IKey |
getEncryptionKey()
(experimental) The encryption key that is used to encrypt this parameter.
|
String |
getParameterArn()
(experimental) The ARN of the SSM Parameter resource.
|
String |
getParameterName()
(experimental) The name of the SSM Parameter resource.
|
String |
getParameterType()
(experimental) The type of the SSM Parameter resource.
|
List<String> |
getStringListValue()
(experimental) The parameter value.
|
Grant |
grantRead(IGrantable grantee)
(experimental) Grants read (DescribeParameter, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
|
Grant |
grantWrite(IGrantable grantee)
(experimental) Grants write (PutParameter) permissions on the SSM Parameter.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected StringListParameter(software.amazon.jsii.JsiiObjectRef objRef)
protected StringListParameter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
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=Experimental) @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=Experimental) @NotNull public Grant grantRead(@NotNull IGrantable grantee)
grantRead in interface IParametergrantee - This parameter is required.@Stability(value=Experimental) @NotNull public Grant grantWrite(@NotNull IGrantable grantee)
grantWrite in interface IParametergrantee - This parameter is required.@Stability(value=Experimental) @NotNull public String getParameterArn()
getParameterArn in interface IParameter@Stability(value=Experimental) @NotNull public String getParameterName()
getParameterName in interface IParameter@Stability(value=Experimental) @NotNull public String getParameterType()
getParameterType in interface IParameter@Stability(value=Experimental) @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=Experimental) @Nullable public IKey getEncryptionKey()
Copyright © 2022. All rights reserved.