@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:07.122Z") @Stability(value=Experimental) public class InlineCode extends Code
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
InlineCode inlineCode = new InlineCode("code");
| Modifier | Constructor and Description |
|---|---|
protected |
InlineCode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
InlineCode(software.amazon.jsii.JsiiObjectRef objRef) |
|
InlineCode(String code) |
| Modifier and Type | Method and Description |
|---|---|
CodeConfig |
bind(software.constructs.Construct _scope)
(experimental) Called when the lambda or layer is initialized to allow this object to bind to the stack, add resources and have fun.
|
Boolean |
getIsInline()
(experimental) Determines whether this Code is inline code or not.
|
bindToResource, bindToResource, fromAsset, fromAsset, fromAssetImage, fromAssetImage, fromBucket, fromBucket, fromCfnParameters, fromCfnParameters, fromDockerBuild, fromDockerBuild, fromEcrImage, fromEcrImage, fromInlinejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected InlineCode(software.amazon.jsii.JsiiObjectRef objRef)
protected InlineCode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public InlineCode(@NotNull
String code)
code - This parameter is required.@Stability(value=Experimental) @NotNull public CodeConfig bind(@NotNull software.constructs.Construct _scope)
@Stability(value=Experimental) @NotNull public Boolean getIsInline()
Copyright © 2021. All rights reserved.