We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.24.0 published on Wednesday, Jan 15, 2025 by Pulumi
aws-native.wisdom.getAiGuardrail
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.24.0 published on Wednesday, Jan 15, 2025 by Pulumi
Definition of AWS::Wisdom::AIGuardrail Resource Type
Using getAiGuardrail
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 getAiGuardrail(args: GetAiGuardrailArgs, opts?: InvokeOptions): Promise<GetAiGuardrailResult>
function getAiGuardrailOutput(args: GetAiGuardrailOutputArgs, opts?: InvokeOptions): Output<GetAiGuardrailResult>
def get_ai_guardrail(ai_guardrail_id: Optional[str] = None,
assistant_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAiGuardrailResult
def get_ai_guardrail_output(ai_guardrail_id: Optional[pulumi.Input[str]] = None,
assistant_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAiGuardrailResult]
func LookupAiGuardrail(ctx *Context, args *LookupAiGuardrailArgs, opts ...InvokeOption) (*LookupAiGuardrailResult, error)
func LookupAiGuardrailOutput(ctx *Context, args *LookupAiGuardrailOutputArgs, opts ...InvokeOption) LookupAiGuardrailResultOutput
> Note: This function is named LookupAiGuardrail
in the Go SDK.
public static class GetAiGuardrail
{
public static Task<GetAiGuardrailResult> InvokeAsync(GetAiGuardrailArgs args, InvokeOptions? opts = null)
public static Output<GetAiGuardrailResult> Invoke(GetAiGuardrailInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAiGuardrailResult> getAiGuardrail(GetAiGuardrailArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:wisdom:getAiGuardrail
arguments:
# arguments dictionary
The following arguments are supported:
- Ai
Guardrail stringId - The identifier of the Amazon Q in Connect AI Guardrail.
- Assistant
Id string - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Ai
Guardrail stringId - The identifier of the Amazon Q in Connect AI Guardrail.
- Assistant
Id string - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- ai
Guardrail StringId - The identifier of the Amazon Q in Connect AI Guardrail.
- assistant
Id String - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- ai
Guardrail stringId - The identifier of the Amazon Q in Connect AI Guardrail.
- assistant
Id string - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- ai_
guardrail_ strid - The identifier of the Amazon Q in Connect AI Guardrail.
- assistant_
id str - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- ai
Guardrail StringId - The identifier of the Amazon Q in Connect AI Guardrail.
- assistant
Id String - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
getAiGuardrail Result
The following output properties are available:
- Ai
Guardrail stringArn - The Amazon Resource Name (ARN) of the AI Guardrail.
- Ai
Guardrail stringId - The identifier of the Amazon Q in Connect AI Guardrail.
- Assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- 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. Wisdom. Outputs. Ai Guardrail Ai Guardrail Content Policy Config - Contains details about how to handle harmful content.
- Contextual
Grounding Pulumi.Policy Config Aws Native. Wisdom. Outputs. Ai Guardrail Ai Guardrail Contextual Grounding Policy Config - The policy configuration details for the AI Guardrail's contextual grounding policy.
- Description string
- Description of the guardrail or its version
- Sensitive
Information Pulumi.Policy Config Aws Native. Wisdom. Outputs. Ai Guardrail Ai Guardrail Sensitive Information Policy Config - Contains details about PII entities and regular expressions to configure for the AI Guardrail.
- Topic
Policy Pulumi.Config Aws Native. Wisdom. Outputs. Ai Guardrail Ai Guardrail Topic Policy Config - Contains details about topics that the AI Guardrail should identify and deny.
- Word
Policy Pulumi.Config Aws Native. Wisdom. Outputs. Ai Guardrail Ai Guardrail Word Policy Config - Contains details about the word policy to configured for the AI Guardrail.
- Ai
Guardrail stringArn - The Amazon Resource Name (ARN) of the AI Guardrail.
- Ai
Guardrail stringId - The identifier of the Amazon Q in Connect AI Guardrail.
- Assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- Blocked
Input stringMessaging - Messaging for when violations are detected in text
- Blocked
Outputs stringMessaging - Messaging for when violations are detected in text
- Content
Policy AiConfig Guardrail Ai Guardrail Content Policy Config - Contains details about how to handle harmful content.
- Contextual
Grounding AiPolicy Config Guardrail Ai Guardrail Contextual Grounding Policy Config - The policy configuration details for the AI Guardrail's contextual grounding policy.
- Description string
- Description of the guardrail or its version
- Sensitive
Information AiPolicy Config Guardrail Ai Guardrail Sensitive Information Policy Config - Contains details about PII entities and regular expressions to configure for the AI Guardrail.
- Topic
Policy AiConfig Guardrail Ai Guardrail Topic Policy Config - Contains details about topics that the AI Guardrail should identify and deny.
- Word
Policy AiConfig Guardrail Ai Guardrail Word Policy Config - Contains details about the word policy to configured for the AI Guardrail.
- ai
Guardrail StringArn - The Amazon Resource Name (ARN) of the AI Guardrail.
- ai
Guardrail StringId - The identifier of the Amazon Q in Connect AI Guardrail.
- assistant
Arn String - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- blocked
Input StringMessaging - Messaging for when violations are detected in text
- blocked
Outputs StringMessaging - Messaging for when violations are detected in text
- content
Policy AiConfig Guardrail Ai Guardrail Content Policy Config - Contains details about how to handle harmful content.
- contextual
Grounding AiPolicy Config Guardrail Ai Guardrail Contextual Grounding Policy Config - The policy configuration details for the AI Guardrail's contextual grounding policy.
- description String
- Description of the guardrail or its version
- sensitive
Information AiPolicy Config Guardrail Ai Guardrail Sensitive Information Policy Config - Contains details about PII entities and regular expressions to configure for the AI Guardrail.
- topic
Policy AiConfig Guardrail Ai Guardrail Topic Policy Config - Contains details about topics that the AI Guardrail should identify and deny.
- word
Policy AiConfig Guardrail Ai Guardrail Word Policy Config - Contains details about the word policy to configured for the AI Guardrail.
- ai
Guardrail stringArn - The Amazon Resource Name (ARN) of the AI Guardrail.
- ai
Guardrail stringId - The identifier of the Amazon Q in Connect AI Guardrail.
- assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- blocked
Input stringMessaging - Messaging for when violations are detected in text
- blocked
Outputs stringMessaging - Messaging for when violations are detected in text
- content
Policy AiConfig Guardrail Ai Guardrail Content Policy Config - Contains details about how to handle harmful content.
- contextual
Grounding AiPolicy Config Guardrail Ai Guardrail Contextual Grounding Policy Config - The policy configuration details for the AI Guardrail's contextual grounding policy.
- description string
- Description of the guardrail or its version
- sensitive
Information AiPolicy Config Guardrail Ai Guardrail Sensitive Information Policy Config - Contains details about PII entities and regular expressions to configure for the AI Guardrail.
- topic
Policy AiConfig Guardrail Ai Guardrail Topic Policy Config - Contains details about topics that the AI Guardrail should identify and deny.
- word
Policy AiConfig Guardrail Ai Guardrail Word Policy Config - Contains details about the word policy to configured for the AI Guardrail.
- ai_
guardrail_ strarn - The Amazon Resource Name (ARN) of the AI Guardrail.
- ai_
guardrail_ strid - The identifier of the Amazon Q in Connect AI Guardrail.
- assistant_
arn str - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- blocked_
input_ strmessaging - Messaging for when violations are detected in text
- blocked_
outputs_ strmessaging - Messaging for when violations are detected in text
- content_
policy_ Aiconfig Guardrail Ai Guardrail Content Policy Config - Contains details about how to handle harmful content.
- contextual_
grounding_ Aipolicy_ config Guardrail Ai Guardrail Contextual Grounding Policy Config - The policy configuration details for the AI Guardrail's contextual grounding policy.
- description str
- Description of the guardrail or its version
- sensitive_
information_ Aipolicy_ config Guardrail Ai Guardrail Sensitive Information Policy Config - Contains details about PII entities and regular expressions to configure for the AI Guardrail.
- topic_
policy_ Aiconfig Guardrail Ai Guardrail Topic Policy Config - Contains details about topics that the AI Guardrail should identify and deny.
- word_
policy_ Aiconfig Guardrail Ai Guardrail Word Policy Config - Contains details about the word policy to configured for the AI Guardrail.
- ai
Guardrail StringArn - The Amazon Resource Name (ARN) of the AI Guardrail.
- ai
Guardrail StringId - The identifier of the Amazon Q in Connect AI Guardrail.
- assistant
Arn String - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- 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 - Contains details about how to handle harmful content.
- contextual
Grounding Property MapPolicy Config - The policy configuration details for the AI Guardrail's contextual grounding policy.
- description String
- Description of the guardrail or its version
- sensitive
Information Property MapPolicy Config - Contains details about PII entities and regular expressions to configure for the AI Guardrail.
- topic
Policy Property MapConfig - Contains details about topics that the AI Guardrail should identify and deny.
- word
Policy Property MapConfig - Contains details about the word policy to configured for the AI Guardrail.
Supporting Types
AiGuardrailAiGuardrailContentPolicyConfig
- Filters
Config List<Pulumi.Aws Native. Wisdom. Inputs. Ai Guardrail Guardrail Content Filter Config> - List of content filter configs in content policy.
- Filters
Config []AiGuardrail Guardrail Content Filter Config - List of content filter configs in content policy.
- filters
Config List<AiGuardrail Guardrail Content Filter Config> - List of content filter configs in content policy.
- filters
Config AiGuardrail Guardrail Content Filter Config[] - List of content filter configs in content policy.
- filters_
config Sequence[AiGuardrail Guardrail Content Filter Config] - List of content filter configs in content policy.
- filters
Config List<Property Map> - List of content filter configs in content policy.
AiGuardrailAiGuardrailContextualGroundingPolicyConfig
- Filters
Config List<Pulumi.Aws Native. Wisdom. Inputs. Ai Guardrail Guardrail Contextual Grounding Filter Config> - List of contextual grounding filter configs.
- Filters
Config []AiGuardrail Guardrail Contextual Grounding Filter Config - List of contextual grounding filter configs.
- filters
Config List<AiGuardrail Guardrail Contextual Grounding Filter Config> - List of contextual grounding filter configs.
- filters
Config AiGuardrail Guardrail Contextual Grounding Filter Config[] - List of contextual grounding filter configs.
- filters_
config Sequence[AiGuardrail Guardrail Contextual Grounding Filter Config] - List of contextual grounding filter configs.
- filters
Config List<Property Map> - List of contextual grounding filter configs.
AiGuardrailAiGuardrailSensitiveInformationPolicyConfig
- Pii
Entities []AiConfig Guardrail Guardrail Pii Entity Config - List of entities.
- Regexes
Config []AiGuardrail Guardrail Regex Config - List of regex.
- pii
Entities List<AiConfig Guardrail Guardrail Pii Entity Config> - List of entities.
- regexes
Config List<AiGuardrail Guardrail Regex Config> - List of regex.
- pii
Entities AiConfig Guardrail Guardrail Pii Entity Config[] - List of entities.
- regexes
Config AiGuardrail Guardrail Regex Config[] - List of regex.
- pii_
entities_ Sequence[Aiconfig Guardrail Guardrail Pii Entity Config] - List of entities.
- regexes_
config Sequence[AiGuardrail Guardrail Regex Config] - List of regex.
- pii
Entities List<Property Map>Config - List of entities.
- regexes
Config List<Property Map> - List of regex.
AiGuardrailAiGuardrailTopicPolicyConfig
- Topics
Config List<Pulumi.Aws Native. Wisdom. Inputs. Ai Guardrail Guardrail Topic Config> - List of topic configs in topic policy.
- Topics
Config []AiGuardrail Guardrail Topic Config - List of topic configs in topic policy.
- topics
Config List<AiGuardrail Guardrail Topic Config> - List of topic configs in topic policy.
- topics
Config AiGuardrail Guardrail Topic Config[] - List of topic configs in topic policy.
- topics_
config Sequence[AiGuardrail Guardrail Topic Config] - List of topic configs in topic policy.
- topics
Config List<Property Map> - List of topic configs in topic policy.
AiGuardrailAiGuardrailWordPolicyConfig
- Managed
Word List<Pulumi.Lists Config Aws Native. Wisdom. Inputs. Ai Guardrail Guardrail Managed Words Config> - A config for the list of managed words.
- Words
Config List<Pulumi.Aws Native. Wisdom. Inputs. Ai Guardrail Guardrail Word Config> - List of custom word configs.
- Managed
Word []AiLists Config Guardrail Guardrail Managed Words Config - A config for the list of managed words.
- Words
Config []AiGuardrail Guardrail Word Config - List of custom word configs.
- managed
Word List<AiLists Config Guardrail Guardrail Managed Words Config> - A config for the list of managed words.
- words
Config List<AiGuardrail Guardrail Word Config> - List of custom word configs.
- managed
Word AiLists Config Guardrail Guardrail Managed Words Config[] - A config for the list of managed words.
- words
Config AiGuardrail Guardrail Word Config[] - List of custom word configs.
- managed_
word_ Sequence[Ailists_ config Guardrail Guardrail Managed Words Config] - A config for the list of managed words.
- words_
config Sequence[AiGuardrail Guardrail Word 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.
AiGuardrailGuardrailContentFilterConfig
- Input
Strength Pulumi.Aws Native. Wisdom. Ai Guardrail Guardrail Filter Strength - The strength of the input for the guardrail content filter.
- Output
Strength Pulumi.Aws Native. Wisdom. Ai Guardrail Guardrail Filter Strength - The output strength of the guardrail content filter.
- Type
Pulumi.
Aws Native. Wisdom. Ai Guardrail Guardrail Content Filter Type - The type of the guardrail content filter.
- Input
Strength AiGuardrail Guardrail Filter Strength - The strength of the input for the guardrail content filter.
- Output
Strength AiGuardrail Guardrail Filter Strength - The output strength of the guardrail content filter.
- Type
Ai
Guardrail Guardrail Content Filter Type - The type of the guardrail content filter.
- input
Strength AiGuardrail Guardrail Filter Strength - The strength of the input for the guardrail content filter.
- output
Strength AiGuardrail Guardrail Filter Strength - The output strength of the guardrail content filter.
- type
Ai
Guardrail Guardrail Content Filter Type - The type of the guardrail content filter.
- input
Strength AiGuardrail Guardrail Filter Strength - The strength of the input for the guardrail content filter.
- output
Strength AiGuardrail Guardrail Filter Strength - The output strength of the guardrail content filter.
- type
Ai
Guardrail Guardrail Content Filter Type - The type of the guardrail content filter.
- input_
strength AiGuardrail Guardrail Filter Strength - The strength of the input for the guardrail content filter.
- output_
strength AiGuardrail Guardrail Filter Strength - The output strength of the guardrail content filter.
- type
Ai
Guardrail Guardrail Content Filter Type - The type of the guardrail content filter.
- input
Strength "NONE" | "LOW" | "MEDIUM" | "HIGH" - The strength of the input for the guardrail content filter.
- output
Strength "NONE" | "LOW" | "MEDIUM" | "HIGH" - The output strength of the guardrail content filter.
- type "SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK"
- The type of the guardrail content filter.
AiGuardrailGuardrailContentFilterType
AiGuardrailGuardrailContextualGroundingFilterConfig
- Threshold double
- The threshold for this filter.
- Type
Pulumi.
Aws Native. Wisdom. Ai Guardrail Guardrail Contextual Grounding Filter Type - The type of this filter.
- Threshold float64
- The threshold for this filter.
- Type
Ai
Guardrail Guardrail Contextual Grounding Filter Type - The type of this filter.
- threshold Double
- The threshold for this filter.
- type
Ai
Guardrail Guardrail Contextual Grounding Filter Type - The type of this filter.
- threshold number
- The threshold for this filter.
- type
Ai
Guardrail Guardrail Contextual Grounding Filter Type - The type of this filter.
- threshold float
- The threshold for this filter.
- type
Ai
Guardrail Guardrail Contextual Grounding Filter Type - The type of this filter.
- threshold Number
- The threshold for this filter.
- type "GROUNDING" | "RELEVANCE"
- The type of this filter.
AiGuardrailGuardrailContextualGroundingFilterType
AiGuardrailGuardrailFilterStrength
AiGuardrailGuardrailManagedWordsConfig
- Type
Pulumi.
Aws Native. Wisdom. Ai Guardrail Guardrail Managed Words Type - The type of guardrail managed words.
- Type
Ai
Guardrail Guardrail Managed Words Type - The type of guardrail managed words.
- type
Ai
Guardrail Guardrail Managed Words Type - The type of guardrail managed words.
- type
Ai
Guardrail Guardrail Managed Words Type - The type of guardrail managed words.
- type
Ai
Guardrail Guardrail Managed Words Type - The type of guardrail managed words.
- type "PROFANITY"
- The type of guardrail managed words.
AiGuardrailGuardrailManagedWordsType
AiGuardrailGuardrailPiiEntityConfig
- Action
Pulumi.
Aws Native. Wisdom. Ai Guardrail Guardrail Sensitive Information Action - The action of guardrail PII entity configuration.
- Type
Pulumi.
Aws Native. Wisdom. Ai Guardrail Guardrail Pii Entity Type
- Action
Ai
Guardrail Guardrail Sensitive Information Action - The action of guardrail PII entity configuration.
- Type
Ai
Guardrail Guardrail Pii Entity Type
- action
Ai
Guardrail Guardrail Sensitive Information Action - The action of guardrail PII entity configuration.
- type
Ai
Guardrail Guardrail Pii Entity Type
- action
Ai
Guardrail Guardrail Sensitive Information Action - The action of guardrail PII entity configuration.
- type
Ai
Guardrail Guardrail Pii Entity Type
- action
Ai
Guardrail Guardrail Sensitive Information Action - The action of guardrail PII entity configuration.
- type
Ai
Guardrail Guardrail Pii Entity Type
- action "BLOCK" | "ANONYMIZE"
- The action of guardrail PII entity configuration.
- 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"
AiGuardrailGuardrailPiiEntityType
AiGuardrailGuardrailRegexConfig
- Action
Pulumi.
Aws Native. Wisdom. Ai Guardrail Guardrail Sensitive Information Action - The action of the guardrail regex configuration.
- Name string
- The regex name.
- Pattern string
- The regex pattern.
- Description string
- The regex description.
- Action
Ai
Guardrail Guardrail Sensitive Information Action - The action of the guardrail regex configuration.
- Name string
- The regex name.
- Pattern string
- The regex pattern.
- Description string
- The regex description.
- action
Ai
Guardrail Guardrail Sensitive Information Action - The action of the guardrail regex configuration.
- name String
- The regex name.
- pattern String
- The regex pattern.
- description String
- The regex description.
- action
Ai
Guardrail Guardrail Sensitive Information Action - The action of the guardrail regex configuration.
- name string
- The regex name.
- pattern string
- The regex pattern.
- description string
- The regex description.
- action
Ai
Guardrail Guardrail Sensitive Information Action - The action of the guardrail regex configuration.
- name str
- The regex name.
- pattern str
- The regex pattern.
- description str
- The regex description.
- action "BLOCK" | "ANONYMIZE"
- The action of the guardrail regex configuration.
- name String
- The regex name.
- pattern String
- The regex pattern.
- description String
- The regex description.
AiGuardrailGuardrailSensitiveInformationAction
AiGuardrailGuardrailTopicConfig
- Definition string
- Definition of topic in topic policy
- Name string
- Name of topic in topic policy
- Type
Pulumi.
Aws Native. Wisdom. Ai Guardrail Guardrail Topic Type - Type of topic in a policy.
- Examples List<string>
- List of text examples
- Definition string
- Definition of topic in topic policy
- Name string
- Name of topic in topic policy
- Type
Ai
Guardrail Guardrail Topic Type - Type of topic in a policy.
- Examples []string
- List of text examples
- definition String
- Definition of topic in topic policy
- name String
- Name of topic in topic policy
- type
Ai
Guardrail Guardrail Topic Type - Type of topic in a policy.
- examples List<String>
- List of text examples
- definition string
- Definition of topic in topic policy
- name string
- Name of topic in topic policy
- type
Ai
Guardrail Guardrail Topic Type - Type of topic in a policy.
- examples string[]
- List of text examples
- definition str
- Definition of topic in topic policy
- name str
- Name of topic in topic policy
- type
Ai
Guardrail Guardrail Topic Type - Type of topic in a policy.
- 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"
- Type of topic in a policy.
- examples List<String>
- List of text examples
AiGuardrailGuardrailTopicType
AiGuardrailGuardrailWordConfig
- 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.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.24.0 published on Wednesday, Jan 15, 2025 by Pulumi