Class S3EnvironmentFile
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.EnvironmentFile
software.amazon.awscdk.services.ecs.S3EnvironmentFile
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:50.596Z")
@Stability(Stable)
public class S3EnvironmentFile
extends EnvironmentFile
Environment file from S3.
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");
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionS3EnvironmentFile(IBucket bucket, String key) S3EnvironmentFile(IBucket bucket, String key, String objectVersion) protectedS3EnvironmentFile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedS3EnvironmentFile(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind(software.constructs.Construct _scope) Called when the container is initialized to allow this object to bind to the stack.Methods inherited from class software.amazon.awscdk.services.ecs.EnvironmentFile
fromAsset, fromAsset, fromBucket, fromBucketMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
S3EnvironmentFile
protected S3EnvironmentFile(software.amazon.jsii.JsiiObjectRef objRef) -
S3EnvironmentFile
protected S3EnvironmentFile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
S3EnvironmentFile
@Stability(Stable) public S3EnvironmentFile(@NotNull IBucket bucket, @NotNull String key, @Nullable String objectVersion) - Parameters:
bucket- This parameter is required.key- This parameter is required.objectVersion-
-
S3EnvironmentFile
- Parameters:
bucket- This parameter is required.key- This parameter is required.
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public EnvironmentFileConfig bind(@NotNull software.constructs.Construct _scope) Called when the container is initialized to allow this object to bind to the stack.- Specified by:
bindin classEnvironmentFile- Parameters:
_scope- This parameter is required.
-