@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:11.427Z") @Stability(value=Experimental) public class S3Code 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.*; import software.amazon.awscdk.services.s3.*; Bucket bucket; S3Code s3Code = new S3Code(bucket, "key", "objectVersion");
| Modifier | Constructor and Description |
|---|---|
|
S3Code(IBucket bucket,
String key) |
|
S3Code(IBucket bucket,
String key,
String objectVersion) |
protected |
S3Code(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
S3Code(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
CodeConfig |
bind(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.
|
asset, bindToResource, bindToResource, bucket, bucket, cfnParameters, cfnParameters, fromAsset, fromAsset, fromAssetImage, fromAssetImage, fromBucket, fromBucket, fromCfnParameters, fromCfnParameters, fromDockerBuild, fromDockerBuild, fromEcrImage, fromEcrImage, fromInline, inlinejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected S3Code(software.amazon.jsii.JsiiObjectRef objRef)
protected S3Code(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public S3Code(@NotNull
IBucket bucket,
@NotNull
String key,
@Nullable
String objectVersion)
bucket - This parameter is required.key - This parameter is required.objectVersion - @Stability(value=Experimental) @NotNull public CodeConfig bind(@NotNull Construct _scope)
@Stability(value=Experimental) @NotNull public Boolean getIsInline()
getIsInline in class CodeCopyright © 2022. All rights reserved.