Class CfnAccountPolicyProps.Jsii$Proxy
- All Implemented Interfaces:
CfnAccountPolicyProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnAccountPolicyProps
CfnAccountPolicyProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.logs.CfnAccountPolicyProps
CfnAccountPolicyProps.Builder, CfnAccountPolicyProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnAccountPolicyProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnAccountPolicyProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringSpecify the data protection policy, in JSON.final StringA name for the policy.final StringCurrently the only valid value for this parameter isDATA_PROTECTION_POLICY.final StringgetScope()Currently the only valid value for this parameter isALL, which specifies that the data protection policy applies to all log groups in the account.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnAccountPolicyProps.Builder.
-
-
Method Details
-
getPolicyDocument
Description copied from interface:CfnAccountPolicyPropsSpecify the data protection policy, in JSON.This policy must include two JSON blocks:
- The first block must include both a
DataIdentiferarray and anOperationproperty with anAuditaction. TheDataIdentiferarray lists the types of sensitive data that you want to mask. For more information about the available options, see Types of data that you can mask .
The
Operationproperty with anAuditaction is required to find the sensitive data terms. ThisAuditaction must contain aFindingsDestinationobject. You can optionally use thatFindingsDestinationobject to list one or more destinations to send audit findings to. If you specify destinations such as log groups, Kinesis Data Firehose streams, and S3 buckets, they must already exist.- The second block must include both a
DataIdentiferarray and anOperationproperty with anDeidentifyaction. TheDataIdentiferarray must exactly match theDataIdentiferarray in the first block of the policy.
The
Operationproperty with theDeidentifyaction is what actually masks the data, and it must contain the"MaskConfig": {}object. The"MaskConfig": {}object must be empty.The contents of the two
DataIdentiferarrays must match exactly.- Specified by:
getPolicyDocumentin interfaceCfnAccountPolicyProps- See Also:
- The first block must include both a
-
getPolicyName
Description copied from interface:CfnAccountPolicyPropsA name for the policy.This must be unique within the account.
- Specified by:
getPolicyNamein interfaceCfnAccountPolicyProps- See Also:
-
getPolicyType
Description copied from interface:CfnAccountPolicyPropsCurrently the only valid value for this parameter isDATA_PROTECTION_POLICY.- Specified by:
getPolicyTypein interfaceCfnAccountPolicyProps- See Also:
-
getScope
Description copied from interface:CfnAccountPolicyPropsCurrently the only valid value for this parameter isALL, which specifies that the data protection policy applies to all log groups in the account.If you omit this parameter, the default of
ALLis used.- Specified by:
getScopein interfaceCfnAccountPolicyProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-