@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.425Z") @Stability(value=Experimental) public abstract class CfnElement extends software.constructs.Construct
| Modifier | Constructor and Description |
|---|---|
protected |
CfnElement(software.constructs.Construct scope,
String id)
(experimental) Creates an entity and binds it to a tree.
|
protected |
CfnElement(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnElement(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCreationStack() |
String |
getLogicalId()
(experimental) The logical ID for this CloudFormation stack element.
|
Stack |
getStack()
(experimental) The stack in which this element is defined.
|
static Boolean |
isCfnElement(Object x)
(experimental) Returns `true` if a construct is a stack element (i.e.
|
void |
overrideLogicalId(String newLogicalId)
(experimental) Overrides the auto-generated logical ID with a specific ID.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CfnElement(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnElement(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
protected CfnElement(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
Note that the root of the tree must be a Stack object (not just any Root).
scope - The parent construct. This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static Boolean isCfnElement(@NotNull Object x)
Uses duck-typing instead of instanceof to allow stack elements from different
versions of this library to be included in the same stack.
x - This parameter is required.@Stability(value=Experimental)
public void overrideLogicalId(@NotNull
String newLogicalId)
newLogicalId - The new logical ID to use for this stack element. This parameter is required.@Stability(value=Experimental) @NotNull public List<String> getCreationStack()
@Stability(value=Experimental) @NotNull public String getLogicalId()
The logical ID of the element is calculated from the path of the resource node in the construct tree.
To override this value, use overrideLogicalId(newLogicalId).
@Stability(value=Experimental) @NotNull public Stack getStack()
CfnElements must be defined within a stack scope (directly or indirectly).
Copyright © 2021. All rights reserved.