@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:41.820Z") @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.s3.*; import software.amazon.awscdk.services.synthetics.*; 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(software.constructs.Construct _scope,
String _handler,
RuntimeFamily _family)
(experimental) Called when the canary is initialized to allow this object to bind to the stack, add resources and have fun.
|
fromAsset, fromAsset, fromBucket, fromBucket, fromInlinejsiiAsyncCall, 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 software.constructs.Construct _scope, @NotNull String _handler, @NotNull RuntimeFamily _family)
Copyright © 2022. All rights reserved.