Interface DeployTimeSubstitutedFileProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DeployTimeSubstitutedFileProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-03T18:29:32.191Z")
@Stability(Stable)
public interface DeployTimeSubstitutedFileProps
extends software.amazon.jsii.JsiiSerializable
Example:
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.lambda.*;
Function myLambdaFunction;
Bucket destinationBucket;
Role role;
DeployTimeSubstitutedFile.Builder.create(this, "MyFile")
.source("my-file.yaml")
.destinationBucket(destinationBucket)
.substitutions(Map.of(
"variableName", myLambdaFunction.getFunctionName()))
.role(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDeployTimeSubstitutedFilePropsstatic final classAn implementation forDeployTimeSubstitutedFileProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinationBucket
The S3 bucket to sync the contents of the zip file to. -
getSource
Path to the user's local file. -
getSubstitutions
User-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.
-
getRole
Execution role associated with this function.Default: - A role is automatically created
-
builder
-