@Stability(value=Stable) @Internal public static final class RedactionLambdaProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RedactionLambdaProps
RedactionLambdaPropssoftware.amazon.jsii.JsiiObject.InitializationModeRedactionLambdaProps.Builder, RedactionLambdaProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String confidenceThreshold,
String containsPiiEntitiesThreadCount,
String defaultLanguageCode,
String detectPiiEntitiesThreadCount,
String documentMaxSize,
String documentMaxSizeContainsPiiEntities,
String documentMaxSizeDetectPiiEntities,
String isPartialObjectSupported,
String logLevel,
String maskCharacter,
String maskMode,
String maxCharsOverlap,
String piiEntityTypes,
String publishCloudWatchMetrics,
String semanticVersion,
String subsegmentOverlappingTokens,
String unsupportedFileHandling)
Constructor that initializes the object based on literal property values passed by the
RedactionLambdaProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getConfidenceThreshold()
The minimum prediction confidence score above which PII classification and detection would be considered as final answer.
|
String |
getContainsPiiEntitiesThreadCount()
Number of threads to use for calling Comprehend's ContainsPiiEntities API.
|
String |
getDefaultLanguageCode()
Default language of the text to be processed.
|
String |
getDetectPiiEntitiesThreadCount()
Number of threads to use for calling Comprehend's DetectPiiEntities API.
|
String |
getDocumentMaxSize()
Default maximum document size (in bytes) that this function can process otherwise will throw exception for too large document size.
|
String |
getDocumentMaxSizeContainsPiiEntities()
Maximum document size (in bytes) to be used for making calls to Comprehend's ContainsPiiEntities API.
|
String |
getDocumentMaxSizeDetectPiiEntities()
Maximum document size (in bytes) to be used for making calls to Comprehend's DetectPiiEntities API.
|
String |
getIsPartialObjectSupported()
Whether to support partial objects or not.
|
String |
getLogLevel()
Log level for Lambda function logging, e.g., ERROR, INFO, DEBUG, etc.
|
String |
getMaskCharacter()
A character that replaces each character in the redacted PII entity.
|
String |
getMaskMode()
Specifies whether the PII entity is redacted with the mask character or the entity type.
|
String |
getMaxCharsOverlap()
Maximum characters to overlap among segments of a document in case chunking is needed because of maximum document size limit.
|
String |
getPiiEntityTypes()
List of comma separated PII entity types to be considered for redaction.
|
String |
getPublishCloudWatchMetrics()
True if publish metrics to Cloudwatch, false otherwise.
|
String |
getSemanticVersion()
The version of the serverless application.
|
String |
getSubsegmentOverlappingTokens()
Number of tokens/words to overlap among segments of a document in case chunking is needed because of maximum document size limit.
|
String |
getUnsupportedFileHandling()
Handling logic for Unsupported files.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String confidenceThreshold, String containsPiiEntitiesThreadCount, String defaultLanguageCode, String detectPiiEntitiesThreadCount, String documentMaxSize, String documentMaxSizeContainsPiiEntities, String documentMaxSizeDetectPiiEntities, String isPartialObjectSupported, String logLevel, String maskCharacter, String maskMode, String maxCharsOverlap, String piiEntityTypes, String publishCloudWatchMetrics, String semanticVersion, String subsegmentOverlappingTokens, String unsupportedFileHandling)
RedactionLambdaProps.Builder.public final String getConfidenceThreshold()
RedactionLambdaPropsValid range (0.5 to 1.0).
Default: '0.5'
getConfidenceThreshold in interface RedactionLambdaPropspublic final String getContainsPiiEntitiesThreadCount()
RedactionLambdaPropsThis controls the number of simultaneous calls that will be made from this Lambda.
Default: '20'
getContainsPiiEntitiesThreadCount in interface RedactionLambdaPropspublic final String getDefaultLanguageCode()
RedactionLambdaPropsThis code will be used for interacting with Comprehend.
Default: 'en'
getDefaultLanguageCode in interface RedactionLambdaPropspublic final String getDetectPiiEntitiesThreadCount()
RedactionLambdaPropsThis controls the number of simultaneous calls that will be made from this Lambda.
Default: '8'
getDetectPiiEntitiesThreadCount in interface RedactionLambdaPropspublic final String getDocumentMaxSize()
RedactionLambdaPropsDefault: '102400'
getDocumentMaxSize in interface RedactionLambdaPropspublic final String getDocumentMaxSizeContainsPiiEntities()
RedactionLambdaPropsDefault: '50000'
getDocumentMaxSizeContainsPiiEntities in interface RedactionLambdaPropspublic final String getDocumentMaxSizeDetectPiiEntities()
RedactionLambdaPropsDefault: '5000'
getDocumentMaxSizeDetectPiiEntities in interface RedactionLambdaPropspublic final String getIsPartialObjectSupported()
RedactionLambdaPropsAccessing partial object through http headers such byte-range can corrupt the object and/or affect PII detection accuracy.
Default: 'false'
getIsPartialObjectSupported in interface RedactionLambdaPropspublic final String getLogLevel()
RedactionLambdaPropsDefault: 'INFO'
getLogLevel in interface RedactionLambdaPropspublic final String getMaskCharacter()
RedactionLambdaPropsDefault: '*'
getMaskCharacter in interface RedactionLambdaPropspublic final String getMaskMode()
RedactionLambdaPropsValid values - REPLACE_WITH_PII_ENTITY_TYPE and MASK.
getMaskMode in interface RedactionLambdaPropspublic final String getMaxCharsOverlap()
RedactionLambdaPropsDefault: '200'
getMaxCharsOverlap in interface RedactionLambdaPropspublic final String getPiiEntityTypes()
RedactionLambdaPropsRefer Comprehend's documentation page for list of supported PII entity types.
Default: 'ALL'
getPiiEntityTypes in interface RedactionLambdaPropspublic final String getPublishCloudWatchMetrics()
RedactionLambdaPropsSee README.md for details on CloudWatch metrics.
Default: 'true'
getPublishCloudWatchMetrics in interface RedactionLambdaPropspublic final String getSemanticVersion()
RedactionLambdaPropsDefault: '1.0.2'
getSemanticVersion in interface RedactionLambdaPropspublic final String getSubsegmentOverlappingTokens()
RedactionLambdaPropsDefault: '20'
getSubsegmentOverlappingTokens in interface RedactionLambdaPropspublic final String getUnsupportedFileHandling()
RedactionLambdaPropsValid values are PASS and FAIL.
Default: 'FAIL'
getUnsupportedFileHandling in interface RedactionLambdaProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.