@Generated(value="jsii-pacmak/1.15.0 (build 585166b)", date="2020-12-12T01:56:02.748Z") @Stability(value=Experimental) public class CustomResourceProvider extends Construct
software.constructs.Construct.Buildersoftware.amazon.jsii.JsiiObject.InitializationModeIConstruct.Jsii$Default, IConstruct.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
CustomResourceProvider(software.constructs.Construct scope,
String id,
CustomResourceProviderProps props) |
protected |
CustomResourceProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CustomResourceProvider(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static String |
getOrCreate(software.constructs.Construct scope,
String uniqueid,
CustomResourceProviderProps props)
(experimental) Returns a stack-level singleton ARN (service token) for the custom resource provider.
|
String |
getServiceToken()
(experimental) The ARN of the provider's AWS Lambda function which should be used as the `serviceToken` when defining a custom resource.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CustomResourceProvider(software.amazon.jsii.JsiiObjectRef objRef)
protected CustomResourceProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
protected CustomResourceProvider(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CustomResourceProviderProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static String getOrCreate(@NotNull software.constructs.Construct scope, @NotNull String uniqueid, @NotNull CustomResourceProviderProps props)
scope - Construct scope. This parameter is required.uniqueid - A globally unique id that will be used for the stack-level construct. This parameter is required.props - Provider properties which will only be applied when the provider is first created. This parameter is required.@Stability(value=Experimental) @NotNull public String getServiceToken()
Example:
// Example automatically generated. See https://github.com/aws/jsii/issues/826 CustomResource.Builder.create(this, "MyCustomResource") // ... .serviceToken(myProvider.getServiceToken()) .build();
Copyright © 2020. All rights reserved.