Modifier and Type | Method and Description |
---|---|
CfnOutput |
build() |
CfnOutput.Builder |
condition(CfnCondition condition)
A condition to associate with this output value.
|
static CfnOutput.Builder |
create(software.constructs.Construct scope,
String id) |
CfnOutput.Builder |
description(String description)
A String type that describes the output value.
|
CfnOutput.Builder |
exportName(String exportName)
The name used to export the value of this output across stacks.
|
CfnOutput.Builder |
value(String value)
The value of the property returned by the aws cloudformation describe-stacks command.
|
@Stability(value=Stable) public static CfnOutput.Builder create(software.constructs.Construct scope, String id)
scope
- The parent construct. This parameter is required.id
- This parameter is required.CfnOutput.Builder
.@Stability(value=Stable) public CfnOutput.Builder value(String value)
The value of an output can include literals, parameter references, pseudo-parameters, a mapping value, or intrinsic functions.
value
- The value of the property returned by the aws cloudformation describe-stacks command. This parameter is required.this
@Stability(value=Stable) public CfnOutput.Builder condition(CfnCondition condition)
If the condition evaluates
to false
, this output value will not be included in the stack.
Default: - No condition is associated with the output.
condition
- A condition to associate with this output value. This parameter is required.this
@Stability(value=Stable) public CfnOutput.Builder description(String description)
The description can be a maximum of 4 K in length.
Default: - No description.
description
- A String type that describes the output value. This parameter is required.this
@Stability(value=Stable) public CfnOutput.Builder exportName(String exportName)
To import the value from another stack, use Fn.importValue(exportName)
.
Default: - the output is not exported
exportName
- The name used to export the value of this output across stacks. This parameter is required.this
Copyright © 2022. All rights reserved.