@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:43.945Z") 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,
java.lang.String key) |
|
S3Code(IBucket bucket,
java.lang.String key,
java.lang.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,
java.lang.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, fromInline
protected S3Code(software.amazon.jsii.JsiiObjectRef objRef)
protected S3Code(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public S3Code(IBucket bucket, java.lang.String key, java.lang.String objectVersion)
bucket
- This parameter is required.key
- This parameter is required.objectVersion
- public S3Code(IBucket bucket, java.lang.String key)
bucket
- This parameter is required.key
- This parameter is required.public CodeConfig bind(software.constructs.Construct _scope, java.lang.String _handler, RuntimeFamily _family)