@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.320Z") @Stability(value=Stable) public interface CfnParameterProps extends software.amazon.jsii.JsiiSerializable
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.*;
Object tags;
CfnParameterProps cfnParameterProps = CfnParameterProps.builder()
.type("type")
.value("value")
// the properties below are optional
.allowedPattern("allowedPattern")
.dataType("dataType")
.description("description")
.name("name")
.policies("policies")
.tags(tags)
.tier("tier")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnParameterProps.Builder
A builder for
CfnParameterProps |
static class |
CfnParameterProps.Jsii$Proxy
An implementation for
CfnParameterProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnParameterProps.Builder |
builder() |
default String |
getAllowedPattern()
A regular expression used to validate the parameter value.
|
default String |
getDataType()
The data type of the parameter, such as `text` or `aws:ec2:image` .
|
default String |
getDescription()
Information about the parameter.
|
default String |
getName()
The name of the parameter.
|
default String |
getPolicies()
Information about the policies assigned to a parameter.
|
default Object |
getTags()
Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs).
|
default String |
getTier()
The parameter tier.
|
String |
getType()
The type of parameter.
|
String |
getValue()
The parameter value.
|
@Stability(value=Stable) @NotNull String getType()
AWS CloudFormation doesn't support creating a
SecureStringparameter type.
Allowed Values : String | StringList
@Stability(value=Stable) @NotNull String getValue()
If type is
StringList, the system returns a comma-separated string with no spaces between commas in theValuefield.
@Stability(value=Stable) @Nullable default String getAllowedPattern()
For example, for String types with values restricted to numbers, you can specify the following: AllowedPattern=^\d+$
@Stability(value=Stable) @Nullable default String getDataType()
The default is text .
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getName()
The maximum length constraint listed below includes capacity for additional system attributes that aren't part of the name. The maximum length for a parameter name, including the full length of the parameter ARN, is 1011 characters. For example, the length of the following parameter name is 65 characters, not 20 characters:
arn:aws:ssm:us-east-2:111222333444:parameter/ExampleParameterName
@Stability(value=Stable) @Nullable default String getPolicies()
Assigning parameter policies in the AWS Systems Manager User Guide .
@Stability(value=Stable) @Nullable default Object getTags()
Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a Systems Manager parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter.
@Stability(value=Stable) @Nullable default String getTier()
@Stability(value=Stable) static CfnParameterProps.Builder builder()
CfnParameterProps.Builder of CfnParameterPropsCopyright © 2022. All rights reserved.