@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-10T17:05:56.592Z") @Stability(value=Stable) 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)
Called when the lambda or layer is initialized to allow this object to bind to the stack, add resources and have fun.
|
Boolean |
getIsInline()
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=Stable)
public S3Code(@NotNull
IBucket bucket,
@NotNull
String key,
@Nullable
String objectVersion)
bucket - This parameter is required.key - This parameter is required.objectVersion - @Stability(value=Stable) @NotNull public CodeConfig bind(@NotNull Construct _scope)
@Stability(value=Stable) @NotNull public Boolean getIsInline()
getIsInline in class CodeCopyright © 2023. All rights reserved.