Skip to content
v2.277.0

CloudAssemblyBuilderProps Struct ​

Construction properties for CloudAssemblyBuilder.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cx_api } from 'aws-cdk-lib';

declare const cloudAssemblyBuilder: cx_api.CloudAssemblyBuilder;
const cloudAssemblyBuilderProps: cx_api.CloudAssemblyBuilderProps = {
  assetOutdir: 'assetOutdir',
  parentBuilder: cloudAssemblyBuilder,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import cx_api

# cloud_assembly_builder: cx_api.CloudAssemblyBuilder

cloud_assembly_builder_props = cx_api.CloudAssemblyBuilderProps(
    asset_outdir="assetOutdir",
    parent_builder=cloud_assembly_builder
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cxapi.*;

CloudAssemblyBuilder cloudAssemblyBuilder;

CloudAssemblyBuilderProps cloudAssemblyBuilderProps = CloudAssemblyBuilderProps.builder()
        .assetOutdir("assetOutdir")
        .parentBuilder(cloudAssemblyBuilder)
        .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.CXAPI;

CloudAssemblyBuilder cloudAssemblyBuilder;

var cloudAssemblyBuilderProps = new CloudAssemblyBuilderProps {
    AssetOutdir = "assetOutdir",
    ParentBuilder = cloudAssemblyBuilder
};
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 "github.com/aws/aws-cdk-go/awscdk"

var cloudAssemblyBuilder CloudAssemblyBuilder

cloudAssemblyBuilderProps := &CloudAssemblyBuilderProps{
	AssetOutdir: jsii.String("assetOutdir"),
	ParentBuilder: cloudAssemblyBuilder,
}

Properties ​

assetOutdiroptionalstringasset_outdiroptionalstrassetOutdiroptionalStringAssetOutdiroptionalstringAssetOutdiroptional*string #
Use the given asset output directory.

Default: Same as the manifest outdir

parentBuilderoptionalCloudAssemblyBuilderparent_builderoptionalCloudAssemblyBuilderparentBuilderoptionalCloudAssemblyBuilderParentBuilderoptionalCloudAssemblyBuilderParentBuilderoptionalCloudAssemblyBuilder #
If this builder is for a nested assembly, the parent assembly builder.

Default: This is a root assembly