software.aws.awsprototypingsdk.cdkgraph.AttributeReference Maven / Gradle / Ivy
Show all versions of cdk-graph Show documentation
package software.aws.awsprototypingsdk.cdkgraph;
/**
* (experimental) Attribute type reference edge.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.82.0 (build 2d2ddd7)", date = "2023-08-15T05:45:13.642Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.aws.awsprototypingsdk.cdkgraph.$Module.class, fqn = "@aws-prototyping-sdk/cdk-graph.AttributeReference")
public class AttributeReference extends software.aws.awsprototypingsdk.cdkgraph.Reference {
protected AttributeReference(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected AttributeReference(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
static {
ATT_VALUE = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.aws.awsprototypingsdk.cdkgraph.AttributeReference.class, "ATT_VALUE", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
PREFIX = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.aws.awsprototypingsdk.cdkgraph.AttributeReference.class, "PREFIX", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public AttributeReference(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.IAttributeReferenceProps props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* (experimental) Indicates if edge in an **Fn::GetAtt** {@link Reference}.
*
* @param edge This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull java.lang.Boolean isAtt(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.Edge edge) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.aws.awsprototypingsdk.cdkgraph.AttributeReference.class, "isAtt", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class), new Object[] { java.util.Objects.requireNonNull(edge, "edge is required") });
}
/**
* (experimental) Attribute key for resolved value of attribute reference.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final static java.lang.String ATT_VALUE;
/**
* (experimental) Edge prefix to denote Fn::GetAtt type reference edge.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final static java.lang.String PREFIX;
/**
* (experimental) Get the resolved attribute value.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.String getValue() {
return software.amazon.jsii.Kernel.get(this, "value", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
}