AWS Native is in preview. AWS Classic is fully supported.
aws-native.bedrock.getGuardrail
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Definition of AWS::Bedrock::Guardrail Resource Type
Using getGuardrail
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGuardrail(args: GetGuardrailArgs, opts?: InvokeOptions): Promise<GetGuardrailResult>
function getGuardrailOutput(args: GetGuardrailOutputArgs, opts?: InvokeOptions): Output<GetGuardrailResult>
def get_guardrail(guardrail_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGuardrailResult
def get_guardrail_output(guardrail_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGuardrailResult]
func LookupGuardrail(ctx *Context, args *LookupGuardrailArgs, opts ...InvokeOption) (*LookupGuardrailResult, error)
func LookupGuardrailOutput(ctx *Context, args *LookupGuardrailOutputArgs, opts ...InvokeOption) LookupGuardrailResultOutput
> Note: This function is named LookupGuardrail
in the Go SDK.
public static class GetGuardrail
{
public static Task<GetGuardrailResult> InvokeAsync(GetGuardrailArgs args, InvokeOptions? opts = null)
public static Output<GetGuardrailResult> Invoke(GetGuardrailInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGuardrailResult> getGuardrail(GetGuardrailArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:bedrock:getGuardrail
arguments:
# arguments dictionary
The following arguments are supported:
- Guardrail
Arn string - Arn representation for the guardrail
- Guardrail
Arn string - Arn representation for the guardrail
- guardrail
Arn String - Arn representation for the guardrail
- guardrail
Arn string - Arn representation for the guardrail
- guardrail_
arn str - Arn representation for the guardrail
- guardrail
Arn String - Arn representation for the guardrail
getGuardrail Result
The following output properties are available:
- Blocked
Input stringMessaging - Messaging for when violations are detected in text
- Blocked
Outputs stringMessaging - Messaging for when violations are detected in text
- Content
Policy Pulumi.Config Aws Native. Bedrock. Outputs. Guardrail Content Policy Config - The content filter policies to configure for the guardrail.
- Created
At string - Time Stamp
- Description string
- Description of the guardrail or its version
- Failure
Recommendations List<string> - List of failure recommendations
- Guardrail
Arn string - Arn representation for the guardrail
- Guardrail
Id string - Unique id for the guardrail
- Kms
Key stringArn - The KMS key with which the guardrail was encrypted at rest
- Name string
- Name of the guardrail
- Sensitive
Information Pulumi.Policy Config Aws Native. Bedrock. Outputs. Guardrail Sensitive Information Policy Config - The sensitive information policy to configure for the guardrail.
- Status
Pulumi.
Aws Native. Bedrock. Guardrail Status - The status of the guardrail.
- Status
Reasons List<string> - List of status reasons
- List<Pulumi.
Aws Native. Outputs. Tag> - List of Tags
- Topic
Policy Pulumi.Config Aws Native. Bedrock. Outputs. Guardrail Topic Policy Config - The topic policies to configure for the guardrail.
- Updated
At string - Time Stamp
- Version string
- Guardrail version
- Word
Policy Pulumi.Config Aws Native. Bedrock. Outputs. Guardrail Word Policy Config - The word policy you configure for the guardrail.
- Blocked
Input stringMessaging - Messaging for when violations are detected in text
- Blocked
Outputs stringMessaging - Messaging for when violations are detected in text
- Content
Policy GuardrailConfig Content Policy Config - The content filter policies to configure for the guardrail.
- Created
At string - Time Stamp
- Description string
- Description of the guardrail or its version
- Failure
Recommendations []string - List of failure recommendations
- Guardrail
Arn string - Arn representation for the guardrail
- Guardrail
Id string - Unique id for the guardrail
- Kms
Key stringArn - The KMS key with which the guardrail was encrypted at rest
- Name string
- Name of the guardrail
- Sensitive
Information GuardrailPolicy Config Sensitive Information Policy Config - The sensitive information policy to configure for the guardrail.
- Status
Guardrail
Status - The status of the guardrail.
- Status
Reasons []string - List of status reasons
- Tag
- List of Tags
- Topic
Policy GuardrailConfig Topic Policy Config - The topic policies to configure for the guardrail.
- Updated
At string - Time Stamp
- Version string
- Guardrail version
- Word
Policy GuardrailConfig Word Policy Config - The word policy you configure for the guardrail.
- blocked
Input StringMessaging - Messaging for when violations are detected in text
- blocked
Outputs StringMessaging - Messaging for when violations are detected in text
- content
Policy GuardrailConfig Content Policy Config - The content filter policies to configure for the guardrail.
- created
At String - Time Stamp
- description String
- Description of the guardrail or its version
- failure
Recommendations List<String> - List of failure recommendations
- guardrail
Arn String - Arn representation for the guardrail
- guardrail
Id String - Unique id for the guardrail
- kms
Key StringArn - The KMS key with which the guardrail was encrypted at rest
- name String
- Name of the guardrail
- sensitive
Information GuardrailPolicy Config Sensitive Information Policy Config - The sensitive information policy to configure for the guardrail.
- status
Guardrail
Status - The status of the guardrail.
- status
Reasons List<String> - List of status reasons
- List<Tag>
- List of Tags
- topic
Policy GuardrailConfig Topic Policy Config - The topic policies to configure for the guardrail.
- updated
At String - Time Stamp
- version String
- Guardrail version
- word
Policy GuardrailConfig Word Policy Config - The word policy you configure for the guardrail.
- blocked
Input stringMessaging - Messaging for when violations are detected in text
- blocked
Outputs stringMessaging - Messaging for when violations are detected in text
- content
Policy GuardrailConfig Content Policy Config - The content filter policies to configure for the guardrail.
- created
At string - Time Stamp
- description string
- Description of the guardrail or its version
- failure
Recommendations string[] - List of failure recommendations
- guardrail
Arn string - Arn representation for the guardrail
- guardrail
Id string - Unique id for the guardrail
- kms
Key stringArn - The KMS key with which the guardrail was encrypted at rest
- name string
- Name of the guardrail
- sensitive
Information GuardrailPolicy Config Sensitive Information Policy Config - The sensitive information policy to configure for the guardrail.
- status
Guardrail
Status - The status of the guardrail.
- status
Reasons string[] - List of status reasons
- Tag[]
- List of Tags
- topic
Policy GuardrailConfig Topic Policy Config - The topic policies to configure for the guardrail.
- updated
At string - Time Stamp
- version string
- Guardrail version
- word
Policy GuardrailConfig Word Policy Config - The word policy you configure for the guardrail.
- blocked_
input_ strmessaging - Messaging for when violations are detected in text
- blocked_
outputs_ strmessaging - Messaging for when violations are detected in text
- content_
policy_ Guardrailconfig Content Policy Config - The content filter policies to configure for the guardrail.
- created_
at str - Time Stamp
- description str
- Description of the guardrail or its version
- failure_
recommendations Sequence[str] - List of failure recommendations
- guardrail_
arn str - Arn representation for the guardrail
- guardrail_
id str - Unique id for the guardrail
- kms_
key_ strarn - The KMS key with which the guardrail was encrypted at rest
- name str
- Name of the guardrail
- sensitive_
information_ Guardrailpolicy_ config Sensitive Information Policy Config - The sensitive information policy to configure for the guardrail.
- status
Guardrail
Status - The status of the guardrail.
- status_
reasons Sequence[str] - List of status reasons
- Sequence[root_Tag]
- List of Tags
- topic_
policy_ Guardrailconfig Topic Policy Config - The topic policies to configure for the guardrail.
- updated_
at str - Time Stamp
- version str
- Guardrail version
- word_
policy_ Guardrailconfig Word Policy Config - The word policy you configure for the guardrail.
- blocked
Input StringMessaging - Messaging for when violations are detected in text
- blocked
Outputs StringMessaging - Messaging for when violations are detected in text
- content
Policy Property MapConfig - The content filter policies to configure for the guardrail.
- created
At String - Time Stamp
- description String
- Description of the guardrail or its version
- failure
Recommendations List<String> - List of failure recommendations
- guardrail
Arn String - Arn representation for the guardrail
- guardrail
Id String - Unique id for the guardrail
- kms
Key StringArn - The KMS key with which the guardrail was encrypted at rest
- name String
- Name of the guardrail
- sensitive
Information Property MapPolicy Config - The sensitive information policy to configure for the guardrail.
- status "CREATING" | "UPDATING" | "VERSIONING" | "READY" | "FAILED" | "DELETING"
- The status of the guardrail.
- status
Reasons List<String> - List of status reasons
- List<Property Map>
- List of Tags
- topic
Policy Property MapConfig - The topic policies to configure for the guardrail.
- updated
At String - Time Stamp
- version String
- Guardrail version
- word
Policy Property MapConfig - The word policy you configure for the guardrail.
Supporting Types
GuardrailContentFilterConfig
- Input
Strength Pulumi.Aws Native. Bedrock. Guardrail Filter Strength - The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- Output
Strength Pulumi.Aws Native. Bedrock. Guardrail Filter Strength - The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- Type
Pulumi.
Aws Native. Bedrock. Guardrail Content Filter Type - The harmful category that the content filter is applied to.
- Input
Strength GuardrailFilter Strength - The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- Output
Strength GuardrailFilter Strength - The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- Type
Guardrail
Content Filter Type - The harmful category that the content filter is applied to.
- input
Strength GuardrailFilter Strength - The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- output
Strength GuardrailFilter Strength - The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- type
Guardrail
Content Filter Type - The harmful category that the content filter is applied to.
- input
Strength GuardrailFilter Strength - The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- output
Strength GuardrailFilter Strength - The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- type
Guardrail
Content Filter Type - The harmful category that the content filter is applied to.
- input_
strength GuardrailFilter Strength - The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- output_
strength GuardrailFilter Strength - The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- type
Guardrail
Content Filter Type - The harmful category that the content filter is applied to.
- input
Strength "NONE" | "LOW" | "MEDIUM" | "HIGH" - The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- output
Strength "NONE" | "LOW" | "MEDIUM" | "HIGH" - The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- type "SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK"
- The harmful category that the content filter is applied to.
GuardrailContentFilterType
GuardrailContentPolicyConfig
- Filters
Config List<Pulumi.Aws Native. Bedrock. Inputs. Guardrail Content Filter Config> - List of content filter configs in content policy.
- Filters
Config []GuardrailContent Filter Config - List of content filter configs in content policy.
- filters
Config List<GuardrailContent Filter Config> - List of content filter configs in content policy.
- filters
Config GuardrailContent Filter Config[] - List of content filter configs in content policy.
- filters_
config Sequence[GuardrailContent Filter Config] - List of content filter configs in content policy.
- filters
Config List<Property Map> - List of content filter configs in content policy.
GuardrailFilterStrength
GuardrailManagedWordsConfig
- Type
Pulumi.
Aws Native. Bedrock. Guardrail Managed Words Type - The managed word type to configure for the guardrail.
- Type
Guardrail
Managed Words Type - The managed word type to configure for the guardrail.
- type
Guardrail
Managed Words Type - The managed word type to configure for the guardrail.
- type
Guardrail
Managed Words Type - The managed word type to configure for the guardrail.
- type
Guardrail
Managed Words Type - The managed word type to configure for the guardrail.
- type "PROFANITY"
- The managed word type to configure for the guardrail.
GuardrailManagedWordsType
GuardrailPiiEntityConfig
- Action
Pulumi.
Aws Native. Bedrock. Guardrail Sensitive Information Action - Configure guardrail action when the PII entity is detected.
- Type
Pulumi.
Aws Native. Bedrock. Guardrail Pii Entity Type Configure guardrail type when the PII entity is detected.
The following PIIs are used to block or mask sensitive information:
General
ADDRESS
A physical address, such as "100 Main Street, Anytown, USA" or "Suite #12, Building 123". An address can include information such as the street, building, location, city, state, country, county, zip code, precinct, and neighborhood.
- AGE
An individual's age, including the quantity and unit of time. For example, in the phrase "I am 40 years old," Guarrails recognizes "40 years" as an age.
- NAME
An individual's name. This entity type does not include titles, such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this entity type to names that are part of organizations or addresses. For example, guardrails recognizes the "John Doe Organization" as an organization, and it recognizes "Jane Doe Street" as an address.
An email address, such as marymajor@email.com .
- PHONE
A phone number. This entity type also includes fax and pager numbers.
- USERNAME
A user name that identifies an account, such as a login name, screen name, nick name, or handle.
- PASSWORD
An alphanumeric string that is used as a password, such as "* *very20special#pass** ".
- DRIVER_ID
The number assigned to a driver's license, which is an official document permitting an individual to operate one or more motorized vehicles on a public road. A driver's license number consists of alphanumeric characters.
- LICENSE_PLATE
A license plate for a vehicle is issued by the state or country where the vehicle is registered. The format for passenger vehicles is typically five to eight digits, consisting of upper-case letters and numbers. The format varies depending on the location of the issuing state or country.
- VEHICLE_IDENTIFICATION_NUMBER
A Vehicle Identification Number (VIN) uniquely identifies a vehicle. VIN content and format are defined in the ISO 3779 specification. Each country has specific codes and formats for VINs.
Finance
REDIT_DEBIT_CARD_CVV
A three-digit card verification code (CVV) that is present on VISA, MasterCard, and Discover credit and debit cards. For American Express credit or debit cards, the CVV is a four-digit numeric code.
- CREDIT_DEBIT_CARD_EXPIRY
The expiration date for a credit or debit card. This number is usually four digits long and is often formatted as month/year or MM/YY . Guardrails recognizes expiration dates such as 01/21 , 01/2021 , and Jan 2021 .
- CREDIT_DEBIT_CARD_NUMBER
The number for a credit or debit card. These numbers can vary from 13 to 16 digits in length. However, Amazon Comprehend also recognizes credit or debit card numbers when only the last four digits are present.
- PIN
A four-digit personal identification number (PIN) with which you can access your bank account.
- INTERNATIONAL_BANK_ACCOUNT_NUMBER
An International Bank Account Number has specific formats in each country. For more information, see www.iban.com/structure .
- SWIFT_CODE
A SWIFT code is a standard format of Bank Identifier Code (BIC) used to specify a particular bank or branch. Banks use these codes for money transfers such as international wire transfers.
SWIFT codes consist of eight or 11 characters. The 11-digit codes refer to specific branches, while eight-digit codes (or 11-digit codes ending in 'XXX') refer to the head or primary office.
IT
IP_ADDRESS
An IPv4 address, such as 198.51.100.0 .
- MAC_ADDRESS
A media access control (MAC) address is a unique identifier assigned to a network interface controller (NIC).
- URL
A web address, such as www.example.com .
- AWS_ACCESS_KEY
A unique identifier that's associated with a secret access key; you use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
- AWS_SECRET_KEY
A unique identifier that's associated with an access key. You use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
USA specific
US_BANK_ACCOUNT_NUMBER
A US bank account number, which is typically 10 to 12 digits long.
- US_BANK_ROUTING_NUMBER
A US bank account routing number. These are typically nine digits long,
- US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
A US Individual Taxpayer Identification Number (ITIN) is a nine-digit number that starts with a "9" and contain a "7" or "8" as the fourth digit. An ITIN can be formatted with a space or a dash after the third and forth digits.
- US_PASSPORT_NUMBER
A US passport number. Passport numbers range from six to nine alphanumeric characters.
- US_SOCIAL_SECURITY_NUMBER
A US Social Security Number (SSN) is a nine-digit number that is issued to US citizens, permanent residents, and temporary working residents.
Canada specific
CA_HEALTH_NUMBER
A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits.
- CA_SOCIAL_INSURANCE_NUMBER
A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits.
The SIN is formatted as three groups of three digits, such as 123-456-789 . A SIN can be validated through a simple check-digit process called the Luhn algorithm .
UK Specific
UK_NATIONAL_HEALTH_SERVICE_NUMBER
A UK National Health Service Number is a 10-17 digit number, such as 485 777 3456 . The current system formats the 10-digit number with spaces after the third and sixth digits. The final digit is an error-detecting checksum.
- UK_NATIONAL_INSURANCE_NUMBER
A UK National Insurance Number (NINO) provides individuals with access to National Insurance (social security) benefits. It is also used for some purposes in the UK tax system.
The number is nine digits long and starts with two letters, followed by six numbers and one letter. A NINO can be formatted with a space or a dash after the two letters and after the second, forth, and sixth digits.
- UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER
A UK Unique Taxpayer Reference (UTR) is a 10-digit number that identifies a taxpayer or a business.
Custom
Regex filter - You can use a regular expressions to define patterns for a guardrail to recognize and act upon such as serial number, booking ID etc..
- Action
Guardrail
Sensitive Information Action - Configure guardrail action when the PII entity is detected.
- Type
Guardrail
Pii Entity Type Configure guardrail type when the PII entity is detected.
The following PIIs are used to block or mask sensitive information:
General
ADDRESS
A physical address, such as "100 Main Street, Anytown, USA" or "Suite #12, Building 123". An address can include information such as the street, building, location, city, state, country, county, zip code, precinct, and neighborhood.
- AGE
An individual's age, including the quantity and unit of time. For example, in the phrase "I am 40 years old," Guarrails recognizes "40 years" as an age.
- NAME
An individual's name. This entity type does not include titles, such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this entity type to names that are part of organizations or addresses. For example, guardrails recognizes the "John Doe Organization" as an organization, and it recognizes "Jane Doe Street" as an address.
An email address, such as marymajor@email.com .
- PHONE
A phone number. This entity type also includes fax and pager numbers.
- USERNAME
A user name that identifies an account, such as a login name, screen name, nick name, or handle.
- PASSWORD
An alphanumeric string that is used as a password, such as "* *very20special#pass** ".
- DRIVER_ID
The number assigned to a driver's license, which is an official document permitting an individual to operate one or more motorized vehicles on a public road. A driver's license number consists of alphanumeric characters.
- LICENSE_PLATE
A license plate for a vehicle is issued by the state or country where the vehicle is registered. The format for passenger vehicles is typically five to eight digits, consisting of upper-case letters and numbers. The format varies depending on the location of the issuing state or country.
- VEHICLE_IDENTIFICATION_NUMBER
A Vehicle Identification Number (VIN) uniquely identifies a vehicle. VIN content and format are defined in the ISO 3779 specification. Each country has specific codes and formats for VINs.
Finance
REDIT_DEBIT_CARD_CVV
A three-digit card verification code (CVV) that is present on VISA, MasterCard, and Discover credit and debit cards. For American Express credit or debit cards, the CVV is a four-digit numeric code.
- CREDIT_DEBIT_CARD_EXPIRY
The expiration date for a credit or debit card. This number is usually four digits long and is often formatted as month/year or MM/YY . Guardrails recognizes expiration dates such as 01/21 , 01/2021 , and Jan 2021 .
- CREDIT_DEBIT_CARD_NUMBER
The number for a credit or debit card. These numbers can vary from 13 to 16 digits in length. However, Amazon Comprehend also recognizes credit or debit card numbers when only the last four digits are present.
- PIN
A four-digit personal identification number (PIN) with which you can access your bank account.
- INTERNATIONAL_BANK_ACCOUNT_NUMBER
An International Bank Account Number has specific formats in each country. For more information, see www.iban.com/structure .
- SWIFT_CODE
A SWIFT code is a standard format of Bank Identifier Code (BIC) used to specify a particular bank or branch. Banks use these codes for money transfers such as international wire transfers.
SWIFT codes consist of eight or 11 characters. The 11-digit codes refer to specific branches, while eight-digit codes (or 11-digit codes ending in 'XXX') refer to the head or primary office.
IT
IP_ADDRESS
An IPv4 address, such as 198.51.100.0 .
- MAC_ADDRESS
A media access control (MAC) address is a unique identifier assigned to a network interface controller (NIC).
- URL
A web address, such as www.example.com .
- AWS_ACCESS_KEY
A unique identifier that's associated with a secret access key; you use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
- AWS_SECRET_KEY
A unique identifier that's associated with an access key. You use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
USA specific
US_BANK_ACCOUNT_NUMBER
A US bank account number, which is typically 10 to 12 digits long.
- US_BANK_ROUTING_NUMBER
A US bank account routing number. These are typically nine digits long,
- US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
A US Individual Taxpayer Identification Number (ITIN) is a nine-digit number that starts with a "9" and contain a "7" or "8" as the fourth digit. An ITIN can be formatted with a space or a dash after the third and forth digits.
- US_PASSPORT_NUMBER
A US passport number. Passport numbers range from six to nine alphanumeric characters.
- US_SOCIAL_SECURITY_NUMBER
A US Social Security Number (SSN) is a nine-digit number that is issued to US citizens, permanent residents, and temporary working residents.
Canada specific
CA_HEALTH_NUMBER
A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits.
- CA_SOCIAL_INSURANCE_NUMBER
A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits.
The SIN is formatted as three groups of three digits, such as 123-456-789 . A SIN can be validated through a simple check-digit process called the Luhn algorithm .
UK Specific
UK_NATIONAL_HEALTH_SERVICE_NUMBER
A UK National Health Service Number is a 10-17 digit number, such as 485 777 3456 . The current system formats the 10-digit number with spaces after the third and sixth digits. The final digit is an error-detecting checksum.
- UK_NATIONAL_INSURANCE_NUMBER
A UK National Insurance Number (NINO) provides individuals with access to National Insurance (social security) benefits. It is also used for some purposes in the UK tax system.
The number is nine digits long and starts with two letters, followed by six numbers and one letter. A NINO can be formatted with a space or a dash after the two letters and after the second, forth, and sixth digits.
- UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER
A UK Unique Taxpayer Reference (UTR) is a 10-digit number that identifies a taxpayer or a business.
Custom
Regex filter - You can use a regular expressions to define patterns for a guardrail to recognize and act upon such as serial number, booking ID etc..
- action
Guardrail
Sensitive Information Action - Configure guardrail action when the PII entity is detected.
- type
Guardrail
Pii Entity Type Configure guardrail type when the PII entity is detected.
The following PIIs are used to block or mask sensitive information:
General
ADDRESS
A physical address, such as "100 Main Street, Anytown, USA" or "Suite #12, Building 123". An address can include information such as the street, building, location, city, state, country, county, zip code, precinct, and neighborhood.
- AGE
An individual's age, including the quantity and unit of time. For example, in the phrase "I am 40 years old," Guarrails recognizes "40 years" as an age.
- NAME
An individual's name. This entity type does not include titles, such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this entity type to names that are part of organizations or addresses. For example, guardrails recognizes the "John Doe Organization" as an organization, and it recognizes "Jane Doe Street" as an address.
An email address, such as marymajor@email.com .
- PHONE
A phone number. This entity type also includes fax and pager numbers.
- USERNAME
A user name that identifies an account, such as a login name, screen name, nick name, or handle.
- PASSWORD
An alphanumeric string that is used as a password, such as "* *very20special#pass** ".
- DRIVER_ID
The number assigned to a driver's license, which is an official document permitting an individual to operate one or more motorized vehicles on a public road. A driver's license number consists of alphanumeric characters.
- LICENSE_PLATE
A license plate for a vehicle is issued by the state or country where the vehicle is registered. The format for passenger vehicles is typically five to eight digits, consisting of upper-case letters and numbers. The format varies depending on the location of the issuing state or country.
- VEHICLE_IDENTIFICATION_NUMBER
A Vehicle Identification Number (VIN) uniquely identifies a vehicle. VIN content and format are defined in the ISO 3779 specification. Each country has specific codes and formats for VINs.
Finance
REDIT_DEBIT_CARD_CVV
A three-digit card verification code (CVV) that is present on VISA, MasterCard, and Discover credit and debit cards. For American Express credit or debit cards, the CVV is a four-digit numeric code.
- CREDIT_DEBIT_CARD_EXPIRY
The expiration date for a credit or debit card. This number is usually four digits long and is often formatted as month/year or MM/YY . Guardrails recognizes expiration dates such as 01/21 , 01/2021 , and Jan 2021 .
- CREDIT_DEBIT_CARD_NUMBER
The number for a credit or debit card. These numbers can vary from 13 to 16 digits in length. However, Amazon Comprehend also recognizes credit or debit card numbers when only the last four digits are present.
- PIN
A four-digit personal identification number (PIN) with which you can access your bank account.
- INTERNATIONAL_BANK_ACCOUNT_NUMBER
An International Bank Account Number has specific formats in each country. For more information, see www.iban.com/structure .
- SWIFT_CODE
A SWIFT code is a standard format of Bank Identifier Code (BIC) used to specify a particular bank or branch. Banks use these codes for money transfers such as international wire transfers.
SWIFT codes consist of eight or 11 characters. The 11-digit codes refer to specific branches, while eight-digit codes (or 11-digit codes ending in 'XXX') refer to the head or primary office.
IT
IP_ADDRESS
An IPv4 address, such as 198.51.100.0 .
- MAC_ADDRESS
A media access control (MAC) address is a unique identifier assigned to a network interface controller (NIC).
- URL
A web address, such as www.example.com .
- AWS_ACCESS_KEY
A unique identifier that's associated with a secret access key; you use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
- AWS_SECRET_KEY
A unique identifier that's associated with an access key. You use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
USA specific
US_BANK_ACCOUNT_NUMBER
A US bank account number, which is typically 10 to 12 digits long.
- US_BANK_ROUTING_NUMBER
A US bank account routing number. These are typically nine digits long,
- US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
A US Individual Taxpayer Identification Number (ITIN) is a nine-digit number that starts with a "9" and contain a "7" or "8" as the fourth digit. An ITIN can be formatted with a space or a dash after the third and forth digits.
- US_PASSPORT_NUMBER
A US passport number. Passport numbers range from six to nine alphanumeric characters.
- US_SOCIAL_SECURITY_NUMBER
A US Social Security Number (SSN) is a nine-digit number that is issued to US citizens, permanent residents, and temporary working residents.
Canada specific
CA_HEALTH_NUMBER
A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits.
- CA_SOCIAL_INSURANCE_NUMBER
A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits.
The SIN is formatted as three groups of three digits, such as 123-456-789 . A SIN can be validated through a simple check-digit process called the Luhn algorithm .
UK Specific
UK_NATIONAL_HEALTH_SERVICE_NUMBER
A UK National Health Service Number is a 10-17 digit number, such as 485 777 3456 . The current system formats the 10-digit number with spaces after the third and sixth digits. The final digit is an error-detecting checksum.
- UK_NATIONAL_INSURANCE_NUMBER
A UK National Insurance Number (NINO) provides individuals with access to National Insurance (social security) benefits. It is also used for some purposes in the UK tax system.
The number is nine digits long and starts with two letters, followed by six numbers and one letter. A NINO can be formatted with a space or a dash after the two letters and after the second, forth, and sixth digits.
- UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER
A UK Unique Taxpayer Reference (UTR) is a 10-digit number that identifies a taxpayer or a business.
Custom
Regex filter - You can use a regular expressions to define patterns for a guardrail to recognize and act upon such as serial number, booking ID etc..
- action
Guardrail
Sensitive Information Action - Configure guardrail action when the PII entity is detected.
- type
Guardrail
Pii Entity Type Configure guardrail type when the PII entity is detected.
The following PIIs are used to block or mask sensitive information:
General
ADDRESS
A physical address, such as "100 Main Street, Anytown, USA" or "Suite #12, Building 123". An address can include information such as the street, building, location, city, state, country, county, zip code, precinct, and neighborhood.
- AGE
An individual's age, including the quantity and unit of time. For example, in the phrase "I am 40 years old," Guarrails recognizes "40 years" as an age.
- NAME
An individual's name. This entity type does not include titles, such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this entity type to names that are part of organizations or addresses. For example, guardrails recognizes the "John Doe Organization" as an organization, and it recognizes "Jane Doe Street" as an address.
An email address, such as marymajor@email.com .
- PHONE
A phone number. This entity type also includes fax and pager numbers.
- USERNAME
A user name that identifies an account, such as a login name, screen name, nick name, or handle.
- PASSWORD
An alphanumeric string that is used as a password, such as "* *very20special#pass** ".
- DRIVER_ID
The number assigned to a driver's license, which is an official document permitting an individual to operate one or more motorized vehicles on a public road. A driver's license number consists of alphanumeric characters.
- LICENSE_PLATE
A license plate for a vehicle is issued by the state or country where the vehicle is registered. The format for passenger vehicles is typically five to eight digits, consisting of upper-case letters and numbers. The format varies depending on the location of the issuing state or country.
- VEHICLE_IDENTIFICATION_NUMBER
A Vehicle Identification Number (VIN) uniquely identifies a vehicle. VIN content and format are defined in the ISO 3779 specification. Each country has specific codes and formats for VINs.
Finance
REDIT_DEBIT_CARD_CVV
A three-digit card verification code (CVV) that is present on VISA, MasterCard, and Discover credit and debit cards. For American Express credit or debit cards, the CVV is a four-digit numeric code.
- CREDIT_DEBIT_CARD_EXPIRY
The expiration date for a credit or debit card. This number is usually four digits long and is often formatted as month/year or MM/YY . Guardrails recognizes expiration dates such as 01/21 , 01/2021 , and Jan 2021 .
- CREDIT_DEBIT_CARD_NUMBER
The number for a credit or debit card. These numbers can vary from 13 to 16 digits in length. However, Amazon Comprehend also recognizes credit or debit card numbers when only the last four digits are present.
- PIN
A four-digit personal identification number (PIN) with which you can access your bank account.
- INTERNATIONAL_BANK_ACCOUNT_NUMBER
An International Bank Account Number has specific formats in each country. For more information, see www.iban.com/structure .
- SWIFT_CODE
A SWIFT code is a standard format of Bank Identifier Code (BIC) used to specify a particular bank or branch. Banks use these codes for money transfers such as international wire transfers.
SWIFT codes consist of eight or 11 characters. The 11-digit codes refer to specific branches, while eight-digit codes (or 11-digit codes ending in 'XXX') refer to the head or primary office.
IT
IP_ADDRESS
An IPv4 address, such as 198.51.100.0 .
- MAC_ADDRESS
A media access control (MAC) address is a unique identifier assigned to a network interface controller (NIC).
- URL
A web address, such as www.example.com .
- AWS_ACCESS_KEY
A unique identifier that's associated with a secret access key; you use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
- AWS_SECRET_KEY
A unique identifier that's associated with an access key. You use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
USA specific
US_BANK_ACCOUNT_NUMBER
A US bank account number, which is typically 10 to 12 digits long.
- US_BANK_ROUTING_NUMBER
A US bank account routing number. These are typically nine digits long,
- US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
A US Individual Taxpayer Identification Number (ITIN) is a nine-digit number that starts with a "9" and contain a "7" or "8" as the fourth digit. An ITIN can be formatted with a space or a dash after the third and forth digits.
- US_PASSPORT_NUMBER
A US passport number. Passport numbers range from six to nine alphanumeric characters.
- US_SOCIAL_SECURITY_NUMBER
A US Social Security Number (SSN) is a nine-digit number that is issued to US citizens, permanent residents, and temporary working residents.
Canada specific
CA_HEALTH_NUMBER
A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits.
- CA_SOCIAL_INSURANCE_NUMBER
A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits.
The SIN is formatted as three groups of three digits, such as 123-456-789 . A SIN can be validated through a simple check-digit process called the Luhn algorithm .
UK Specific
UK_NATIONAL_HEALTH_SERVICE_NUMBER
A UK National Health Service Number is a 10-17 digit number, such as 485 777 3456 . The current system formats the 10-digit number with spaces after the third and sixth digits. The final digit is an error-detecting checksum.
- UK_NATIONAL_INSURANCE_NUMBER
A UK National Insurance Number (NINO) provides individuals with access to National Insurance (social security) benefits. It is also used for some purposes in the UK tax system.
The number is nine digits long and starts with two letters, followed by six numbers and one letter. A NINO can be formatted with a space or a dash after the two letters and after the second, forth, and sixth digits.
- UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER
A UK Unique Taxpayer Reference (UTR) is a 10-digit number that identifies a taxpayer or a business.
Custom
Regex filter - You can use a regular expressions to define patterns for a guardrail to recognize and act upon such as serial number, booking ID etc..
- action
Guardrail
Sensitive Information Action - Configure guardrail action when the PII entity is detected.
- type
Guardrail
Pii Entity Type Configure guardrail type when the PII entity is detected.
The following PIIs are used to block or mask sensitive information:
General
ADDRESS
A physical address, such as "100 Main Street, Anytown, USA" or "Suite #12, Building 123". An address can include information such as the street, building, location, city, state, country, county, zip code, precinct, and neighborhood.
- AGE
An individual's age, including the quantity and unit of time. For example, in the phrase "I am 40 years old," Guarrails recognizes "40 years" as an age.
- NAME
An individual's name. This entity type does not include titles, such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this entity type to names that are part of organizations or addresses. For example, guardrails recognizes the "John Doe Organization" as an organization, and it recognizes "Jane Doe Street" as an address.
An email address, such as marymajor@email.com .
- PHONE
A phone number. This entity type also includes fax and pager numbers.
- USERNAME
A user name that identifies an account, such as a login name, screen name, nick name, or handle.
- PASSWORD
An alphanumeric string that is used as a password, such as "* *very20special#pass** ".
- DRIVER_ID
The number assigned to a driver's license, which is an official document permitting an individual to operate one or more motorized vehicles on a public road. A driver's license number consists of alphanumeric characters.
- LICENSE_PLATE
A license plate for a vehicle is issued by the state or country where the vehicle is registered. The format for passenger vehicles is typically five to eight digits, consisting of upper-case letters and numbers. The format varies depending on the location of the issuing state or country.
- VEHICLE_IDENTIFICATION_NUMBER
A Vehicle Identification Number (VIN) uniquely identifies a vehicle. VIN content and format are defined in the ISO 3779 specification. Each country has specific codes and formats for VINs.
Finance
REDIT_DEBIT_CARD_CVV
A three-digit card verification code (CVV) that is present on VISA, MasterCard, and Discover credit and debit cards. For American Express credit or debit cards, the CVV is a four-digit numeric code.
- CREDIT_DEBIT_CARD_EXPIRY
The expiration date for a credit or debit card. This number is usually four digits long and is often formatted as month/year or MM/YY . Guardrails recognizes expiration dates such as 01/21 , 01/2021 , and Jan 2021 .
- CREDIT_DEBIT_CARD_NUMBER
The number for a credit or debit card. These numbers can vary from 13 to 16 digits in length. However, Amazon Comprehend also recognizes credit or debit card numbers when only the last four digits are present.
- PIN
A four-digit personal identification number (PIN) with which you can access your bank account.
- INTERNATIONAL_BANK_ACCOUNT_NUMBER
An International Bank Account Number has specific formats in each country. For more information, see www.iban.com/structure .
- SWIFT_CODE
A SWIFT code is a standard format of Bank Identifier Code (BIC) used to specify a particular bank or branch. Banks use these codes for money transfers such as international wire transfers.
SWIFT codes consist of eight or 11 characters. The 11-digit codes refer to specific branches, while eight-digit codes (or 11-digit codes ending in 'XXX') refer to the head or primary office.
IT
IP_ADDRESS
An IPv4 address, such as 198.51.100.0 .
- MAC_ADDRESS
A media access control (MAC) address is a unique identifier assigned to a network interface controller (NIC).
- URL
A web address, such as www.example.com .
- AWS_ACCESS_KEY
A unique identifier that's associated with a secret access key; you use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
- AWS_SECRET_KEY
A unique identifier that's associated with an access key. You use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
USA specific
US_BANK_ACCOUNT_NUMBER
A US bank account number, which is typically 10 to 12 digits long.
- US_BANK_ROUTING_NUMBER
A US bank account routing number. These are typically nine digits long,
- US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
A US Individual Taxpayer Identification Number (ITIN) is a nine-digit number that starts with a "9" and contain a "7" or "8" as the fourth digit. An ITIN can be formatted with a space or a dash after the third and forth digits.
- US_PASSPORT_NUMBER
A US passport number. Passport numbers range from six to nine alphanumeric characters.
- US_SOCIAL_SECURITY_NUMBER
A US Social Security Number (SSN) is a nine-digit number that is issued to US citizens, permanent residents, and temporary working residents.
Canada specific
CA_HEALTH_NUMBER
A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits.
- CA_SOCIAL_INSURANCE_NUMBER
A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits.
The SIN is formatted as three groups of three digits, such as 123-456-789 . A SIN can be validated through a simple check-digit process called the Luhn algorithm .
UK Specific
UK_NATIONAL_HEALTH_SERVICE_NUMBER
A UK National Health Service Number is a 10-17 digit number, such as 485 777 3456 . The current system formats the 10-digit number with spaces after the third and sixth digits. The final digit is an error-detecting checksum.
- UK_NATIONAL_INSURANCE_NUMBER
A UK National Insurance Number (NINO) provides individuals with access to National Insurance (social security) benefits. It is also used for some purposes in the UK tax system.
The number is nine digits long and starts with two letters, followed by six numbers and one letter. A NINO can be formatted with a space or a dash after the two letters and after the second, forth, and sixth digits.
- UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER
A UK Unique Taxpayer Reference (UTR) is a 10-digit number that identifies a taxpayer or a business.
Custom
Regex filter - You can use a regular expressions to define patterns for a guardrail to recognize and act upon such as serial number, booking ID etc..
- action "BLOCK" | "ANONYMIZE"
- Configure guardrail action when the PII entity is detected.
- type "ADDRESS" | "AGE" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "DRIVER_ID" | "EMAIL" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "IP_ADDRESS" | "LICENSE_PLATE" | "MAC_ADDRESS" | "NAME" | "PASSWORD" | "PHONE" | "PIN" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "URL" | "USERNAME" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "VEHICLE_IDENTIFICATION_NUMBER"
Configure guardrail type when the PII entity is detected.
The following PIIs are used to block or mask sensitive information:
General
ADDRESS
A physical address, such as "100 Main Street, Anytown, USA" or "Suite #12, Building 123". An address can include information such as the street, building, location, city, state, country, county, zip code, precinct, and neighborhood.
- AGE
An individual's age, including the quantity and unit of time. For example, in the phrase "I am 40 years old," Guarrails recognizes "40 years" as an age.
- NAME
An individual's name. This entity type does not include titles, such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this entity type to names that are part of organizations or addresses. For example, guardrails recognizes the "John Doe Organization" as an organization, and it recognizes "Jane Doe Street" as an address.
An email address, such as marymajor@email.com .
- PHONE
A phone number. This entity type also includes fax and pager numbers.
- USERNAME
A user name that identifies an account, such as a login name, screen name, nick name, or handle.
- PASSWORD
An alphanumeric string that is used as a password, such as "* *very20special#pass** ".
- DRIVER_ID
The number assigned to a driver's license, which is an official document permitting an individual to operate one or more motorized vehicles on a public road. A driver's license number consists of alphanumeric characters.
- LICENSE_PLATE
A license plate for a vehicle is issued by the state or country where the vehicle is registered. The format for passenger vehicles is typically five to eight digits, consisting of upper-case letters and numbers. The format varies depending on the location of the issuing state or country.
- VEHICLE_IDENTIFICATION_NUMBER
A Vehicle Identification Number (VIN) uniquely identifies a vehicle. VIN content and format are defined in the ISO 3779 specification. Each country has specific codes and formats for VINs.
Finance
REDIT_DEBIT_CARD_CVV
A three-digit card verification code (CVV) that is present on VISA, MasterCard, and Discover credit and debit cards. For American Express credit or debit cards, the CVV is a four-digit numeric code.
- CREDIT_DEBIT_CARD_EXPIRY
The expiration date for a credit or debit card. This number is usually four digits long and is often formatted as month/year or MM/YY . Guardrails recognizes expiration dates such as 01/21 , 01/2021 , and Jan 2021 .
- CREDIT_DEBIT_CARD_NUMBER
The number for a credit or debit card. These numbers can vary from 13 to 16 digits in length. However, Amazon Comprehend also recognizes credit or debit card numbers when only the last four digits are present.
- PIN
A four-digit personal identification number (PIN) with which you can access your bank account.
- INTERNATIONAL_BANK_ACCOUNT_NUMBER
An International Bank Account Number has specific formats in each country. For more information, see www.iban.com/structure .
- SWIFT_CODE
A SWIFT code is a standard format of Bank Identifier Code (BIC) used to specify a particular bank or branch. Banks use these codes for money transfers such as international wire transfers.
SWIFT codes consist of eight or 11 characters. The 11-digit codes refer to specific branches, while eight-digit codes (or 11-digit codes ending in 'XXX') refer to the head or primary office.
IT
IP_ADDRESS
An IPv4 address, such as 198.51.100.0 .
- MAC_ADDRESS
A media access control (MAC) address is a unique identifier assigned to a network interface controller (NIC).
- URL
A web address, such as www.example.com .
- AWS_ACCESS_KEY
A unique identifier that's associated with a secret access key; you use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
- AWS_SECRET_KEY
A unique identifier that's associated with an access key. You use the access key ID and secret access key to sign programmatic AWS requests cryptographically.
USA specific
US_BANK_ACCOUNT_NUMBER
A US bank account number, which is typically 10 to 12 digits long.
- US_BANK_ROUTING_NUMBER
A US bank account routing number. These are typically nine digits long,
- US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
A US Individual Taxpayer Identification Number (ITIN) is a nine-digit number that starts with a "9" and contain a "7" or "8" as the fourth digit. An ITIN can be formatted with a space or a dash after the third and forth digits.
- US_PASSPORT_NUMBER
A US passport number. Passport numbers range from six to nine alphanumeric characters.
- US_SOCIAL_SECURITY_NUMBER
A US Social Security Number (SSN) is a nine-digit number that is issued to US citizens, permanent residents, and temporary working residents.
Canada specific
CA_HEALTH_NUMBER
A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits.
- CA_SOCIAL_INSURANCE_NUMBER
A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits.
The SIN is formatted as three groups of three digits, such as 123-456-789 . A SIN can be validated through a simple check-digit process called the Luhn algorithm .
UK Specific
UK_NATIONAL_HEALTH_SERVICE_NUMBER
A UK National Health Service Number is a 10-17 digit number, such as 485 777 3456 . The current system formats the 10-digit number with spaces after the third and sixth digits. The final digit is an error-detecting checksum.
- UK_NATIONAL_INSURANCE_NUMBER
A UK National Insurance Number (NINO) provides individuals with access to National Insurance (social security) benefits. It is also used for some purposes in the UK tax system.
The number is nine digits long and starts with two letters, followed by six numbers and one letter. A NINO can be formatted with a space or a dash after the two letters and after the second, forth, and sixth digits.
- UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER
A UK Unique Taxpayer Reference (UTR) is a 10-digit number that identifies a taxpayer or a business.
Custom
Regex filter - You can use a regular expressions to define patterns for a guardrail to recognize and act upon such as serial number, booking ID etc..
GuardrailPiiEntityType
GuardrailRegexConfig
- Action
Pulumi.
Aws Native. Bedrock. Guardrail Sensitive Information Action - The guardrail action to configure when matching regular expression is detected.
- Name string
- The regex name.
- Pattern string
- The regex pattern.
- Description string
- The regex description.
- Action
Guardrail
Sensitive Information Action - The guardrail action to configure when matching regular expression is detected.
- Name string
- The regex name.
- Pattern string
- The regex pattern.
- Description string
- The regex description.
- action
Guardrail
Sensitive Information Action - The guardrail action to configure when matching regular expression is detected.
- name String
- The regex name.
- pattern String
- The regex pattern.
- description String
- The regex description.
- action
Guardrail
Sensitive Information Action - The guardrail action to configure when matching regular expression is detected.
- name string
- The regex name.
- pattern string
- The regex pattern.
- description string
- The regex description.
- action
Guardrail
Sensitive Information Action - The guardrail action to configure when matching regular expression is detected.
- name str
- The regex name.
- pattern str
- The regex pattern.
- description str
- The regex description.
- action "BLOCK" | "ANONYMIZE"
- The guardrail action to configure when matching regular expression is detected.
- name String
- The regex name.
- pattern String
- The regex pattern.
- description String
- The regex description.
GuardrailSensitiveInformationAction
GuardrailSensitiveInformationPolicyConfig
- Pii
Entities []GuardrailConfig Pii Entity Config - List of entities.
- Regexes
Config []GuardrailRegex Config - List of regex.
- pii
Entities List<GuardrailConfig Pii Entity Config> - List of entities.
- regexes
Config List<GuardrailRegex Config> - List of regex.
- pii
Entities GuardrailConfig Pii Entity Config[] - List of entities.
- regexes
Config GuardrailRegex Config[] - List of regex.
- pii_
entities_ Sequence[Guardrailconfig Pii Entity Config] - List of entities.
- regexes_
config Sequence[GuardrailRegex Config] - List of regex.
- pii
Entities List<Property Map>Config - List of entities.
- regexes
Config List<Property Map> - List of regex.
GuardrailStatus
GuardrailTopicConfig
- Definition string
- Definition of topic in topic policy
- Name string
- Name of topic in topic policy
- Type
Pulumi.
Aws Native. Bedrock. Guardrail Topic Type - Specifies to deny the topic.
- Examples List<string>
- List of text examples
- Definition string
- Definition of topic in topic policy
- Name string
- Name of topic in topic policy
- Type
Guardrail
Topic Type - Specifies to deny the topic.
- Examples []string
- List of text examples
- definition String
- Definition of topic in topic policy
- name String
- Name of topic in topic policy
- type
Guardrail
Topic Type - Specifies to deny the topic.
- examples List<String>
- List of text examples
- definition string
- Definition of topic in topic policy
- name string
- Name of topic in topic policy
- type
Guardrail
Topic Type - Specifies to deny the topic.
- examples string[]
- List of text examples
- definition str
- Definition of topic in topic policy
- name str
- Name of topic in topic policy
- type
Guardrail
Topic Type - Specifies to deny the topic.
- examples Sequence[str]
- List of text examples
- definition String
- Definition of topic in topic policy
- name String
- Name of topic in topic policy
- type "DENY"
- Specifies to deny the topic.
- examples List<String>
- List of text examples
GuardrailTopicPolicyConfig
- Topics
Config List<Pulumi.Aws Native. Bedrock. Inputs. Guardrail Topic Config> - List of topic configs in topic policy.
- Topics
Config []GuardrailTopic Config - List of topic configs in topic policy.
- topics
Config List<GuardrailTopic Config> - List of topic configs in topic policy.
- topics
Config GuardrailTopic Config[] - List of topic configs in topic policy.
- topics_
config Sequence[GuardrailTopic Config] - List of topic configs in topic policy.
- topics
Config List<Property Map> - List of topic configs in topic policy.
GuardrailTopicType
GuardrailWordConfig
- Text string
- The custom word text.
- Text string
- The custom word text.
- text String
- The custom word text.
- text string
- The custom word text.
- text str
- The custom word text.
- text String
- The custom word text.
GuardrailWordPolicyConfig
- Managed
Word List<Pulumi.Lists Config Aws Native. Bedrock. Inputs. Guardrail Managed Words Config> - A config for the list of managed words.
- Words
Config List<Pulumi.Aws Native. Bedrock. Inputs. Guardrail Word Config> - List of custom word configs.
- Managed
Word []GuardrailLists Config Managed Words Config - A config for the list of managed words.
- Words
Config []GuardrailWord Config - List of custom word configs.
- managed
Word List<GuardrailLists Config Managed Words Config> - A config for the list of managed words.
- words
Config List<GuardrailWord Config> - List of custom word configs.
- managed
Word GuardrailLists Config Managed Words Config[] - A config for the list of managed words.
- words
Config GuardrailWord Config[] - List of custom word configs.
- managed_
word_ Sequence[Guardraillists_ config Managed Words Config] - A config for the list of managed words.
- words_
config Sequence[GuardrailWord Config] - List of custom word configs.
- managed
Word List<Property Map>Lists Config - A config for the list of managed words.
- words
Config List<Property Map> - List of custom word configs.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.