Skip to content
v2.278.0

LogConfigurationProperty Struct ​

The access log configuration parameters for your channel.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackage as mediapackage } from 'aws-cdk-lib';
const logConfigurationProperty: mediapackage.CfnChannel.LogConfigurationProperty = {
  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_mediapackage as mediapackage

log_configuration_property = mediapackage.CfnChannel.LogConfigurationProperty(
    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.mediapackage.*;

LogConfigurationProperty logConfigurationProperty = LogConfigurationProperty.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.MediaPackage;

var logConfigurationProperty = new LogConfigurationProperty {
    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"

logConfigurationProperty := &LogConfigurationProperty{
	LogGroupName: jsii.String("logGroupName"),
}

Properties ​

logGroupNameoptionalstringlog_group_nameoptionalstrlogGroupNameoptionalStringLogGroupNameoptionalstringLogGroupNameoptional*string #
Sets a custom Amazon CloudWatch log group name.