Skip to content
v2.278.0

ImageLoggingConfigurationProperty Struct ​

The logging configuration that's defined for the image.

Image Builder uses the defined settings to direct execution log output during image creation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const imageLoggingConfigurationProperty: imagebuilder.CfnImage.ImageLoggingConfigurationProperty = {
  logGroupName: 'logGroupName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_imagebuilder as imagebuilder

image_logging_configuration_property = imagebuilder.CfnImage.ImageLoggingConfigurationProperty(
    log_group_name="logGroupName"
)
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.*;

ImageLoggingConfigurationProperty imageLoggingConfigurationProperty = ImageLoggingConfigurationProperty.builder()
        .logGroupName("logGroupName")
        .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.AWS.ImageBuilder;

var imageLoggingConfigurationProperty = new ImageLoggingConfigurationProperty {
    LogGroupName = "logGroupName"
};
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"

imageLoggingConfigurationProperty := &ImageLoggingConfigurationProperty{
	LogGroupName: jsii.String("logGroupName"),
}

Properties ​

logGroupNameoptionalstringlog_group_nameoptionalstrlogGroupNameoptionalStringLogGroupNameoptionalstringLogGroupNameoptional*string #
The log group name that Image Builder uses for image creation.

If not specified, the log group name defaults to /aws/imagebuilder/image-name .