Interface DeployTimeSubstitutedFileProps
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- DeployTimeSubstitutedFileProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:47.828Z")
@Stability(Stable)
public interface DeployTimeSubstitutedFileProps
extends software.amazon.jsii.JsiiSerializable
Example:
 
 import software.amazon.awscdk.services.lambda.*;
 Function myLambdaFunction;
 Bucket destinationBucket;
 //(Optional) if provided, the resulting processed file would be uploaded to the destinationBucket under the destinationKey name.
 String destinationKey;
 Role role;
 DeployTimeSubstitutedFile.Builder.create(this, "MyFile")
         .source("my-file.yaml")
         .destinationKey(destinationKey)
         .destinationBucket(destinationBucket)
         .substitutions(Map.of(
                 "variableName", myLambdaFunction.getFunctionName()))
         .role(role)
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDeployTimeSubstitutedFilePropsstatic final classAn implementation forDeployTimeSubstitutedFileProps
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()The S3 bucket to sync the contents of the zip file to.default StringThe object key in the destination bucket where the processed file would be written to.default IRolegetRole()Execution role associated with this function.Path to the user's local file.User-defined substitutions to make in the file.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getDestinationBucketThe S3 bucket to sync the contents of the zip file to.
- 
getSourcePath to the user's local file.
- 
getSubstitutionsUser-defined substitutions to make in the file.Placeholders in the user's local file must be specified with double curly brackets and spaces. For example, if you use the key 'xxxx' in the file, it must be written as: {{ xxxx }} to be recognized by the construct as a substitution. 
- 
getDestinationKeyThe object key in the destination bucket where the processed file would be written to.Default: - Fingerprint of the file content would be used as object key 
- 
getRoleExecution role associated with this function.Default: - A role is automatically created 
- 
builder
 
-