@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.892Z") @Stability(value=Stable) 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();
software.amazon.jsii.JsiiObject.InitializationModeIResolvable.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 |
|---|---|
List<String> |
getCreationStack()
The creation stack of this resolvable which will be appended to errors thrown during resolution.
|
Object |
resolve(IResolveContext _)
Produce the Token's value at resolution time.
|
String |
toJSON()
toJSON serialization to replace `PhysicalResourceIdReference` with a magic string.
|
String |
toString()
Return a string representation of this resolvable object.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected PhysicalResourceIdReference(software.amazon.jsii.JsiiObjectRef objRef)
protected PhysicalResourceIdReference(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public PhysicalResourceIdReference()
@Stability(value=Stable) @NotNull public Object resolve(@NotNull IResolveContext _)
resolve in interface IResolvable_ - This parameter is required.@Stability(value=Stable) @NotNull public String toJSON()
@Stability(value=Stable) @NotNull public String toString()
Returns a reversible string representation.
toString in interface IResolvabletoString in class Object@Stability(value=Stable) @NotNull public List<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 IResolvableCopyright © 2022. All rights reserved.