@Stability(value=Stable) public static final class CfnParameter.Builder extends Object implements software.amazon.jsii.Builder<CfnParameter>
CfnParameter.| Modifier and Type | Method and Description |
|---|---|
CfnParameter.Builder |
allowedPattern(String allowedPattern)
A regular expression used to validate the parameter value.
|
CfnParameter |
build() |
static CfnParameter.Builder |
create(Construct scope,
String id) |
CfnParameter.Builder |
dataType(String dataType)
The data type of the parameter, such as `text` or `aws:ec2:image` .
|
CfnParameter.Builder |
description(String description)
Information about the parameter.
|
CfnParameter.Builder |
name(String name)
The name of the parameter.
|
CfnParameter.Builder |
policies(String policies)
Information about the policies assigned to a parameter.
|
CfnParameter.Builder |
tags(Object tags)
Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs).
|
CfnParameter.Builder |
tier(String tier)
The parameter tier.
|
CfnParameter.Builder |
type(String type)
The type of parameter.
|
CfnParameter.Builder |
value(String value)
The parameter value.
|
@Stability(value=Stable) public static CfnParameter.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnParameter.Builder.@Stability(value=Stable) public CfnParameter.Builder type(String type)
AWS CloudFormation doesn't support creating a
SecureStringparameter type.
Allowed Values : String | StringList
type - The type of parameter. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder value(String value)
If type is
StringList, the system returns a comma-separated string with no spaces between commas in theValuefield.
value - The parameter value. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder allowedPattern(String allowedPattern)
For example, for String types with values restricted to numbers, you can specify the following: AllowedPattern=^\d+$
allowedPattern - A regular expression used to validate the parameter value. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder dataType(String dataType)
The default is text .
dataType - The data type of the parameter, such as `text` or `aws:ec2:image` . This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder description(String description)
description - Information about the parameter. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder name(String name)
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
name - The name of the parameter. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder policies(String policies)
Assigning parameter policies in the AWS Systems Manager User Guide .
policies - Information about the policies assigned to a parameter. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder tags(Object tags)
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.
tags - Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder tier(String tier)
tier - The parameter tier. This parameter is required.this@Stability(value=Stable) public CfnParameter build()
build in interface software.amazon.jsii.Builder<CfnParameter>Copyright © 2023. All rights reserved.