@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:29:10.737Z") public class S3EnvironmentFile extends EnvironmentFile
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.ecs.*; import software.amazon.awscdk.services.s3.*; Bucket bucket; S3EnvironmentFile s3EnvironmentFile = new S3EnvironmentFile(bucket, "key", "objectVersion");
Modifier | Constructor and Description |
---|---|
|
S3EnvironmentFile(IBucket bucket,
java.lang.String key) |
|
S3EnvironmentFile(IBucket bucket,
java.lang.String key,
java.lang.String objectVersion) |
protected |
S3EnvironmentFile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
S3EnvironmentFile(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
EnvironmentFileConfig |
bind(Construct _scope)
Called when the container is initialized to allow this object to bind to the stack.
|
fromAsset, fromAsset, fromBucket, fromBucket
protected S3EnvironmentFile(software.amazon.jsii.JsiiObjectRef objRef)
protected S3EnvironmentFile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public S3EnvironmentFile(IBucket bucket, java.lang.String key, java.lang.String objectVersion)
bucket
- This parameter is required.key
- This parameter is required.objectVersion
- public S3EnvironmentFile(IBucket bucket, java.lang.String key)
bucket
- This parameter is required.key
- This parameter is required.public EnvironmentFileConfig bind(Construct _scope)
bind
in class EnvironmentFile
_scope
- This parameter is required.