public static final class IStringListParameter.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IStringListParameter.Jsii$Default
IStringListParameter.Jsii$Default, IStringListParameter.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
ConstructNode |
getNode()
The construct tree node for this construct.
|
java.lang.String |
getParameterArn()
The ARN of the SSM Parameter resource.
|
java.lang.String |
getParameterName()
The name of the SSM Parameter resource.
|
java.lang.String |
getParameterType()
The type of the SSM Parameter resource.
|
Stack |
getStack()
The stack in which this resource is defined.
|
java.util.List<java.lang.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.
|
public final ConstructNode getNode()
getNode
in interface IConstruct
getNode
in interface IConstruct.Jsii$Default
getNode
in interface IResource.Jsii$Default
getNode
in interface IParameter.Jsii$Default
getNode
in interface IStringListParameter.Jsii$Default
public final ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv
in interface IResource
getEnv
in interface IResource.Jsii$Default
getEnv
in interface IParameter.Jsii$Default
getEnv
in interface IStringListParameter.Jsii$Default
public final Stack getStack()
getStack
in interface IResource
getStack
in interface IResource.Jsii$Default
getStack
in interface IParameter.Jsii$Default
getStack
in interface IStringListParameter.Jsii$Default
public final java.lang.String getParameterArn()
getParameterArn
in interface IParameter
getParameterArn
in interface IParameter.Jsii$Default
getParameterArn
in interface IStringListParameter.Jsii$Default
public final java.lang.String getParameterName()
getParameterName
in interface IParameter
getParameterName
in interface IParameter.Jsii$Default
getParameterName
in interface IStringListParameter.Jsii$Default
public final java.lang.String getParameterType()
getParameterType
in interface IParameter
getParameterType
in interface IParameter.Jsii$Default
getParameterType
in interface IStringListParameter.Jsii$Default
public final java.util.List<java.lang.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
getStringListValue
in interface IStringListParameter.Jsii$Default
public final void applyRemovalPolicy(RemovalPolicy policy)
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY
), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN
).
applyRemovalPolicy
in interface IResource
applyRemovalPolicy
in interface IResource.Jsii$Default
applyRemovalPolicy
in interface IParameter.Jsii$Default
applyRemovalPolicy
in interface IStringListParameter.Jsii$Default
policy
- This parameter is required.public final Grant grantRead(IGrantable grantee)
grantRead
in interface IParameter
grantRead
in interface IParameter.Jsii$Default
grantRead
in interface IStringListParameter.Jsii$Default
grantee
- the role to be granted read-only access to the parameter. This parameter is required.public final Grant grantWrite(IGrantable grantee)
grantWrite
in interface IParameter
grantWrite
in interface IParameter.Jsii$Default
grantWrite
in interface IStringListParameter.Jsii$Default
grantee
- the role to be granted write access to the parameter. This parameter is required.