Interface CfnAssetPropsMixin.AssetFileProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssetPropsMixin.AssetFileProperty.Jsii$Proxy
- Enclosing class:
CfnAssetPropsMixin
@Stability(Stable)
public static interface CfnAssetPropsMixin.AssetFileProperty
extends software.amazon.jsii.JsiiSerializable
A single file inside an Asset's bundle.
Path is the diff key on update; Content is write-only and not repopulated by Read.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.devopsagent.*;
Object metadata;
AssetFileProperty assetFileProperty = AssetFileProperty.builder()
.contentBytes("contentBytes")
.contentText("contentText")
.metadata(metadata)
.path("path")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAssetPropsMixin.AssetFilePropertystatic final classAn implementation forCfnAssetPropsMixin.AssetFileProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContentBytes
Base64-encoded binary contents of the file.Mutually exclusive with ContentText (max 6 MiB).
- See Also:
-
getContentText
UTF-8 text contents of the file.Mutually exclusive with ContentBytes (max 1.5 MiB).
- See Also:
-
getMetadata
Per-file metadata document.Values may be strings, numbers, booleans, or lists of any of those (validated server-side).
- See Also:
-
getPath
Path of this file within the asset bundle.- See Also:
-
builder
-