Experimental
@aws-cdk/aws-imagebuilder-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ComponentDataConfig Struct
The rendered component data value, for use in CloudFormation.
- For inline components, data is the component text
- For S3-backed components, uri is the S3 URL
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';
const componentDataConfig: imagebuilder_alpha.ComponentDataConfig = {
data: 'data',
uri: 'uri',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_imagebuilder_alpha as imagebuilder_alpha
component_data_config = imagebuilder_alpha.ComponentDataConfig(
data="data",
uri="uri"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.imagebuilder.alpha.*;
ComponentDataConfig componentDataConfig = ComponentDataConfig.builder()
.data("data")
.uri("uri")
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.ImageBuilder.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ImageBuilder.Alpha;
var componentDataConfig = new ComponentDataConfig {
Data = "data",
Uri = "uri"
};
go
// Install: go get github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import imagebuilder_alpha "github.com/aws/aws-cdk-go/awsimagebuilderalpha"
componentDataConfig := &ComponentDataConfig{
Data: jsii.String("data"),
Uri: jsii.String("uri"),
}
Properties
The rendered component data, for use in CloudFormation.
Default: none if uri is set
The rendered component data URI, for use in CloudFormation.
Default: none if data is set