@Generated(value="jsii-pacmak/0.14.3 (build 1b1062d)", date="2019-08-14T08:10:20.292Z") @Stability(value=Stable) public abstract class Resource extends Construct implements IResource
| Modifier | Constructor and Description |
|---|---|
|
Resource(Construct scope,
String id) |
|
Resource(Construct scope,
String id,
ResourceProps props) |
protected |
Resource(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
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.JsiiObject.InitializationMode mode)
@Stability(value=Stable) public Resource(Construct scope, String id, @Nullable ResourceProps props)
@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`.arnComponents - The format of the ARN of this resource.@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`.@Stability(value=Experimental) protected String getPhysicalName()
Copyright © 2019. All rights reserved.