Class S3EnvironmentFile
Environment file from S3.
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class S3EnvironmentFile : EnvironmentFile
Syntax (vb)
Public Class S3EnvironmentFile
Inherits EnvironmentFile
Remarks
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.ECS;
using Amazon.CDK.AWS.S3;
Bucket bucket;
var s3EnvironmentFile = new S3EnvironmentFile(bucket, "key", "objectVersion");
Synopsis
Constructors
S3EnvironmentFile(IBucket, String, String) | |
S3EnvironmentFile(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
S3EnvironmentFile(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Construct) | Called when the container is initialized to allow this object to bind to the stack. |
Constructors
S3EnvironmentFile(IBucket, String, String)
public S3EnvironmentFile(IBucket bucket, string key, string objectVersion = null)
Parameters
- bucket IBucket
- key System.String
- objectVersion System.String
S3EnvironmentFile(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected S3EnvironmentFile(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
S3EnvironmentFile(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected S3EnvironmentFile(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(Construct)
Called when the container is initialized to allow this object to bind to the stack.
public override IEnvironmentFileConfig Bind(Construct scope)
Parameters
- scope Constructs.Construct
Returns