@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:57.381Z") public class PhysicalResourceIdReference extends software.amazon.jsii.JsiiObject implements IResolvable
Example:
AwsCustomResource awsCustom = AwsCustomResource.Builder.create(this, "aws-custom") .onCreate(AwsSdkCall.builder() .service("...") .action("...") .parameters(Map.of( "text", "...")) .physicalResourceId(PhysicalResourceId.of("...")) .build()) .onUpdate(AwsSdkCall.builder() .service("...") .action("...") .parameters(Map.of( "text", "...", "resourceId", new PhysicalResourceIdReference())) .build()) .policy(AwsCustomResourcePolicy.fromSdkCalls(SdkCallsPolicyOptions.builder() .resources(AwsCustomResourcePolicy.ANY_RESOURCE) .build())) .build();
IResolvable.Jsii$Default, IResolvable.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
|
PhysicalResourceIdReference() |
protected |
PhysicalResourceIdReference(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
PhysicalResourceIdReference(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getCreationStack()
The creation stack of this resolvable which will be appended to errors thrown during resolution.
|
java.lang.Object |
resolve(IResolveContext _)
Produce the Token's value at resolution time.
|
java.lang.String |
toJSON()
toJSON serialization to replace `PhysicalResourceIdReference` with a magic string.
|
java.lang.String |
toString()
Return a string representation of this resolvable object.
|
protected PhysicalResourceIdReference(software.amazon.jsii.JsiiObjectRef objRef)
protected PhysicalResourceIdReference(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public PhysicalResourceIdReference()
public java.lang.Object resolve(IResolveContext _)
resolve
in interface IResolvable
_
- This parameter is required.public java.lang.String toJSON()
public java.lang.String toString()
Returns a reversible string representation.
toString
in interface IResolvable
public java.util.List<java.lang.String> getCreationStack()
This may return an array with a single informational element indicating how to get this property populated, if it was skipped for performance reasons.
getCreationStack
in interface IResolvable