software.amazon.awscdk.Resource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk Show documentation
Show all versions of cdk Show documentation
AWS Cloud Development Kit Core Library
package software.amazon.awscdk;
/**
* A construct which represents an AWS resource.
*/
@javax.annotation.Generated(value = "jsii-pacmak/0.10.5 (build 46bc9b0)", date = "2019-05-06T20:49:40.956Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.$Module.class, fqn = "@aws-cdk/cdk.Resource")
public abstract class Resource extends software.amazon.awscdk.Construct implements software.amazon.awscdk.IResource {
protected Resource(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
super(mode);
}
/**
* Creates a new construct node.
*
* @param scope The scope in which to define this construct.
* @param id The scoped construct ID.
*/
public Resource(final software.amazon.awscdk.Construct scope, final java.lang.String id) {
super(software.amazon.jsii.JsiiObject.InitializationMode.Jsii);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required") });
}
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
final static class Jsii$Proxy extends software.amazon.awscdk.Resource {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
super(mode);
}
/**
* The construct node in the scope tree.
*/
@Override
public software.amazon.awscdk.ConstructNode getNode() {
return this.jsiiGet("node", software.amazon.awscdk.ConstructNode.class);
}
/**
* The set of constructs that form the root of this dependable.
*
* All resources under all returned constructs are included in the ordering
* dependency.
*/
@Override
public java.util.List getDependencyRoots() {
return this.jsiiGet("dependencyRoots", java.util.List.class);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy