LogsConfigurationPolicyProperty Struct
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cleanroomsml as cleanroomsml } from 'aws-cdk-lib';
const logsConfigurationPolicyProperty: cleanroomsml.CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty = {
allowedAccountIds: ['allowedAccountIds'],
// the properties below are optional
filterPattern: 'filterPattern',
logRedactionConfiguration: {
entitiesToRedact: ['entitiesToRedact'],
// the properties below are optional
customEntityConfig: {
customDataIdentifiers: ['customDataIdentifiers'],
},
},
logType: 'logType',
};
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_cleanroomsml as cleanroomsml
logs_configuration_policy_property = cleanroomsml.CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty(
allowed_account_ids=["allowedAccountIds"],
# the properties below are optional
filter_pattern="filterPattern",
log_redaction_configuration=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.LogRedactionConfigurationProperty(
entities_to_redact=["entitiesToRedact"],
# the properties below are optional
custom_entity_config=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.CustomEntityConfigProperty(
custom_data_identifiers=["customDataIdentifiers"]
)
),
log_type="logType"
)
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.cleanroomsml.*;
LogsConfigurationPolicyProperty logsConfigurationPolicyProperty = LogsConfigurationPolicyProperty.builder()
.allowedAccountIds(List.of("allowedAccountIds"))
// the properties below are optional
.filterPattern("filterPattern")
.logRedactionConfiguration(LogRedactionConfigurationProperty.builder()
.entitiesToRedact(List.of("entitiesToRedact"))
// the properties below are optional
.customEntityConfig(CustomEntityConfigProperty.builder()
.customDataIdentifiers(List.of("customDataIdentifiers"))
.build())
.build())
.logType("logType")
.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.CleanRoomsML;
var logsConfigurationPolicyProperty = new LogsConfigurationPolicyProperty {
AllowedAccountIds = new [] { "allowedAccountIds" },
// the properties below are optional
FilterPattern = "filterPattern",
LogRedactionConfiguration = new LogRedactionConfigurationProperty {
EntitiesToRedact = new [] { "entitiesToRedact" },
// the properties below are optional
CustomEntityConfig = new CustomEntityConfigProperty {
CustomDataIdentifiers = new [] { "customDataIdentifiers" }
}
},
LogType = "logType"
};
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"
logsConfigurationPolicyProperty := &LogsConfigurationPolicyProperty{
AllowedAccountIds: []*string{
jsii.String("allowedAccountIds"),
},
// the properties below are optional
FilterPattern: jsii.String("filterPattern"),
LogRedactionConfiguration: &LogRedactionConfigurationProperty{
EntitiesToRedact: []*string{
jsii.String("entitiesToRedact"),
},
// the properties below are optional
CustomEntityConfig: &CustomEntityConfigProperty{
CustomDataIdentifiers: []*string{
jsii.String("customDataIdentifiers"),
},
},
},
LogType: jsii.String("logType"),
}
Properties
allowedAccountIdsstring[]allowed_account_idstyping.List[str]allowedAccountIdsList<String>AllowedAccountIdsstring[]AllowedAccountIds*[]*string required #filterPatternoptionalstringfilter_patternoptionalstrfilterPatternoptionalStringFilterPatternoptionalstringFilterPatternoptional*string #logRedactionConfigurationoptionalIResolvable | CfnConfiguredModelAlgorithmAssociation.log_redaction_configurationoptionaltyping.Union[IResolvable, LogRedactionConfigurationProperty]logRedactionConfigurationoptionalIResolvableLogRedactionConfigurationoptionalIResolvableLogRedactionConfigurationoptionalinterface{} #logTypeoptionalstringlog_typeoptionalstrlogTypeoptionalStringLogTypeoptionalstringLogTypeoptional*string #