@Generated(value="jsii-pacmak/0.20.4 (build 96d89e1)", date="2019-11-12T11:54:39.765Z") @Stability(value=Stable) public abstract class Resource extends Construct implements IResource
| Modifier | Constructor and Description |
|---|---|
protected |
Resource(Construct scope,
String id) |
protected |
Resource(Construct scope,
String id,
ResourceProps props) |
protected |
Resource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Resource(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
generatePhysicalName() |
protected String |
getPhysicalName()
Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource.
|
protected String |
getResourceArnAttribute(String arnAttr,
ArnComponents arnComponents)
Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g.
|
protected String |
getResourceNameAttribute(String nameAttr)
Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g.
|
Stack |
getStack()
The stack in which this resource is defined.
|
getNode, isConstruct, prepare, synthesize, toString, validatejsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected Resource(software.amazon.jsii.JsiiObjectRef objRef)
protected Resource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) protected Resource(Construct scope, String id, ResourceProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable) protected String generatePhysicalName()
@Stability(value=Experimental) protected String getResourceArnAttribute(String arnAttr, ArnComponents arnComponents)
arnAttr - The CFN attribute which resolves to the ARN of the resource. Commonly it will be called "Arn" (e.g. `resource.attrArn`), but sometimes it's the CFN resource's `ref`. This parameter is required.arnComponents - The format of the ARN of this resource. This parameter is required.@Stability(value=Experimental) protected String getResourceNameAttribute(String nameAttr)
nameAttr - The CFN attribute which resolves to the resource's name. Commonly this is the resource's `ref`. This parameter is required.@Stability(value=Experimental) protected String getPhysicalName()
Copyright © 2019. All rights reserved.