Skip to content
v2.278.0

Experimental

@aws-cdk/aws-bedrock-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

CanadaSpecificPIIType Class ​

Types of PII specific to Canada.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_alpha from '@aws-cdk/aws-bedrock-alpha';
const canadaSpecificPIIType = bedrock_alpha.CanadaSpecificPIIType.CA_HEALTH_NUMBER;
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_alpha as bedrock_alpha

canada_specific_pii_type = bedrock_alpha.CanadaSpecificPIIType.CA_HEALTH_NUMBER
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.bedrock.alpha.*;

CanadaSpecificPIIType canadaSpecificPIIType = CanadaSpecificPIIType.CA_HEALTH_NUMBER;
csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Alpha;

var canadaSpecificPIIType = CanadaSpecificPIIType.CA_HEALTH_NUMBER;
go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_alpha "github.com/aws/aws-cdk-go/awsbedrockalpha"

canadaSpecificPIIType := bedrock_alpha.CanadaSpecificPIIType_CA_HEALTH_NUMBER()

Properties ​

CA_HEALTH_NUMBERCanadaSpecificPIITypeCA_HEALTH_NUMBERCanadaSpecificPIITypeCA_HEALTH_NUMBERCanadaSpecificPIITypeCA_HEALTH_NUMBERCanadaSpecificPIITypeCA_HEALTH_NUMBERCanadaSpecificPIIType static #
A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits.
CA_SOCIAL_INSURANCE_NUMBERCanadaSpecificPIITypeCA_SOCIAL_INSURANCE_NUMBERCanadaSpecificPIITypeCA_SOCIAL_INSURANCE_NUMBERCanadaSpecificPIITypeCA_SOCIAL_INSURANCE_NUMBERCanadaSpecificPIITypeCA_SOCIAL_INSURANCE_NUMBERCanadaSpecificPIIType static #
A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits.
valuestringvaluestrvalueStringValuestringValue*string #
The string value of the PII type.

Methods ​

toString(): stringdef to_string(self, ) -> strpublic String toString()public string ToString()func ToString() *string #
Returns the string representation of the PII type.
returns

Returns: The string value of the PII type.