Class S3Code
(experimental) S3 bucket path to the code zip file.
Inherited Members
Namespace: Amazon.CDK.AWS.Synthetics
Assembly: Amazon.CDK.AWS.Synthetics.dll
Syntax (csharp)
public class S3Code : Code
Syntax (vb)
Public Class S3Code
Inherits Code
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
using Amazon.CDK.AWS.Synthetics;
Bucket bucket;
var s3Code = new S3Code(bucket, "key", "objectVersion");
Synopsis
Constructors
S3Code(IBucket, String, String) | |
S3Code(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
S3Code(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Construct, String, RuntimeFamily) | (experimental) Called when the canary is initialized to allow this object to bind to the stack, add resources and have fun. |
Constructors
S3Code(IBucket, String, String)
public S3Code(IBucket bucket, string key, string objectVersion = null)
Parameters
- bucket IBucket
- key System.String
- objectVersion System.String
Remarks
Stability: Experimental
S3Code(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected S3Code(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
S3Code(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected S3Code(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(Construct, String, RuntimeFamily)
(experimental) Called when the canary is initialized to allow this object to bind to the stack, add resources and have fun.
public override ICodeConfig Bind(Construct scope, string handler, RuntimeFamily family)
Parameters
- scope Constructs.Construct
- handler System.String
- family RuntimeFamily
Returns
Overrides
Remarks
Stability: Experimental