AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi
aws-native.bedrock.getGuardrail
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi
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 - 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 - Status
Pulumi.
Aws Native. Bedrock. Guardrail Status - 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 - Updated
At string - Time Stamp
- Version string
- Guardrail version
- Word
Policy Pulumi.Config Aws Native. Bedrock. Outputs. Guardrail Word Policy Config
- 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 - 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 - Status
Guardrail
Status - Status
Reasons []string - List of status reasons
- Tag
- List of Tags
- Topic
Policy GuardrailConfig Topic Policy Config - Updated
At string - Time Stamp
- Version string
- Guardrail version
- Word
Policy GuardrailConfig Word Policy Config
- 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 - 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 - status
Guardrail
Status - status
Reasons List<String> - List of status reasons
- List<Tag>
- List of Tags
- topic
Policy GuardrailConfig Topic Policy Config - updated
At String - Time Stamp
- version String
- Guardrail version
- word
Policy GuardrailConfig Word Policy Config
- 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 - 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 - status
Guardrail
Status - status
Reasons string[] - List of status reasons
- Tag[]
- List of Tags
- topic
Policy GuardrailConfig Topic Policy Config - updated
At string - Time Stamp
- version string
- Guardrail version
- word
Policy GuardrailConfig Word Policy Config
- 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 - 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 - status
Guardrail
Status - status_
reasons Sequence[str] - List of status reasons
- Sequence[root_Tag]
- List of Tags
- topic_
policy_ Guardrailconfig Topic Policy Config - updated_
at str - Time Stamp
- version str
- Guardrail version
- word_
policy_ Guardrailconfig Word Policy Config
- 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 - 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 - status "CREATING" | "UPDATING" | "VERSIONING" | "READY" | "FAILED" | "DELETING"
- status
Reasons List<String> - List of status reasons
- List<Property Map>
- List of Tags
- topic
Policy Property MapConfig - updated
At String - Time Stamp
- version String
- Guardrail version
- word
Policy Property MapConfig
Supporting Types
GuardrailContentFilterConfig
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
GuardrailManagedWordsType
GuardrailPiiEntityConfig
- action "BLOCK" | "ANONYMIZE"
- 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"
GuardrailPiiEntityType
GuardrailRegexConfig
- Action
Pulumi.
Aws Native. Bedrock. Guardrail Sensitive Information Action - Name string
- The regex name.
- Pattern string
- The regex pattern.
- Description string
- The regex description.
- Action
Guardrail
Sensitive Information Action - Name string
- The regex name.
- Pattern string
- The regex pattern.
- Description string
- The regex description.
- action
Guardrail
Sensitive Information Action - name String
- The regex name.
- pattern String
- The regex pattern.
- description String
- The regex description.
- action
Guardrail
Sensitive Information Action - name string
- The regex name.
- pattern string
- The regex pattern.
- description string
- The regex description.
- action
Guardrail
Sensitive Information Action - name str
- The regex name.
- pattern str
- The regex pattern.
- description str
- The regex description.
- action "BLOCK" | "ANONYMIZE"
- 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 - 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 - 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 - 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 - 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 - 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"
- 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.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi