AddFileAssetOptions Struct
Options for the addFileAsset operation.
| Source | core/lib/stack-synthesizers/asset-manifest-builder.ts |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const addFileAssetOptions: cdk.AddFileAssetOptions = {
displayName: 'displayName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk
add_file_asset_options = cdk.AddFileAssetOptions(
display_name="displayName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
AddFileAssetOptions addFileAssetOptions = AddFileAssetOptions.builder()
.displayName("displayName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var addFileAssetOptions = new AddFileAssetOptions {
DisplayName = "displayName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"
addFileAssetOptions := &AddFileAssetOptions{
DisplayName: jsii.String("displayName"),
}
Properties
displayNameoptionalstringdisplay_nameoptionalstrdisplayNameoptionalStringDisplayNameoptionalstringDisplayNameoptional*string #A display name to associate with the asset.
Default: No display name