Skip to content
v2.278.0

LogTypeMapKeyValuePairProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emrserverless as emrserverless } from 'aws-cdk-lib';
const logTypeMapKeyValuePairProperty: emrserverless.CfnApplication.LogTypeMapKeyValuePairProperty = {
  key: 'key',
  value: ['value'],
};
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_emrserverless as emrserverless

log_type_map_key_value_pair_property = emrserverless.CfnApplication.LogTypeMapKeyValuePairProperty(
    key="key",
    value=["value"]
)
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.emrserverless.*;

LogTypeMapKeyValuePairProperty logTypeMapKeyValuePairProperty = LogTypeMapKeyValuePairProperty.builder()
        .key("key")
        .value(List.of("value"))
        .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.EMRServerless;

var logTypeMapKeyValuePairProperty = new LogTypeMapKeyValuePairProperty {
    Key = "key",
    Value = new [] { "value" }
};
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"

logTypeMapKeyValuePairProperty := &LogTypeMapKeyValuePairProperty{
	Key: jsii.String("key"),
	Value: []*string{
		jsii.String("value"),
	},
}

Properties ​

keystringkeystrkeyStringKeystringKey*string required #
valuestring[]valuetyping.List[str]valueList<String>Valuestring[]Value*[]*string required #
List of Applicable values: [STDOUT, STDERR, HIVE_LOG, TEZ_AM, SYSTEM_LOGS].