Interface CfnAssetProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAssetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:07.551Z") @Stability(Stable) public interface CfnAssetProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnAsset.

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.devopsagent.*;
 Object metadata;
 CfnAssetProps cfnAssetProps = CfnAssetProps.builder()
         .agentSpaceId("agentSpaceId")
         .assetType("assetType")
         // the properties below are optional
         .files(List.of(AssetFileProperty.builder()
                 .path("path")
                 // the properties below are optional
                 .contentBytes("contentBytes")
                 .contentText("contentText")
                 .metadata(metadata)
                 .build()))
         .metadata(metadata)
         .zip("zip")
         .build();
 

See Also: