@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.444Z") @Stability(value=Experimental) public class CustomResource extends Resource
As a custom resource author, you should be publishing a subclass of this class that hides the choice of provider, and accepts a strongly-typed properties object with the properties your provider accepts.
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomResource.Builder
(experimental) A fluent builder for
CustomResource. |
software.amazon.jsii.JsiiObject.InitializationModeIResource.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
CustomResource(software.constructs.Construct scope,
String id,
CustomResourceProps props) |
protected |
CustomResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CustomResource(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Reference |
getAtt(String attributeName)
(experimental) Returns the value of an attribute of the custom resource of an arbitrary type.
|
String |
getAttString(String attributeName)
(experimental) Returns the value of an attribute of the custom resource of type string.
|
String |
getRef()
(experimental) The physical name of this custom resource.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CustomResource(software.amazon.jsii.JsiiObjectRef objRef)
protected CustomResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public CustomResource(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CustomResourceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public Reference getAtt(@NotNull String attributeName)
Attributes are returned from the custom resource provider through the
Data map where the key is the attribute name.
attributeName - the name of the attribute. This parameter is required.@Stability(value=Experimental) @NotNull public String getAttString(@NotNull String attributeName)
Attributes are returned from the custom resource provider through the
Data map where the key is the attribute name.
attributeName - the name of the attribute. This parameter is required.@Stability(value=Experimental) @NotNull public String getRef()
Copyright © 2021. All rights reserved.