Show / Hide Table of Contents

Class CfnGuardrail.TopicPolicyConfigProperty

Contains details about topics that the guardrail should identify and deny.

Inheritance
object
CfnGuardrail.TopicPolicyConfigProperty
Implements
CfnGuardrail.ITopicPolicyConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGuardrail.TopicPolicyConfigProperty : CfnGuardrail.ITopicPolicyConfigProperty
Syntax (vb)
Public Class CfnGuardrail.TopicPolicyConfigProperty Implements CfnGuardrail.ITopicPolicyConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicpolicyconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Bedrock;

             var topicPolicyConfigProperty = new TopicPolicyConfigProperty {
                 TopicsConfig = new [] { new TopicConfigProperty {
                     Definition = "definition",
                     Name = "name",
                     Type = "type",

                     // the properties below are optional
                     Examples = new [] { "examples" },
                     InputAction = "inputAction",
                     InputEnabled = false,
                     OutputAction = "outputAction",
                     OutputEnabled = false
                 } },

                 // the properties below are optional
                 TopicsTierConfig = new TopicsTierConfigProperty {
                     TierName = "tierName"
                 }
             };

Synopsis

Constructors

TopicPolicyConfigProperty()

Contains details about topics that the guardrail should identify and deny.

Properties

TopicsConfig

A list of policies related to topics that the guardrail should deny.

TopicsTierConfig

The tier that your guardrail uses for denied topic filters.

Constructors

TopicPolicyConfigProperty()

Contains details about topics that the guardrail should identify and deny.

public TopicPolicyConfigProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicpolicyconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Bedrock;

             var topicPolicyConfigProperty = new TopicPolicyConfigProperty {
                 TopicsConfig = new [] { new TopicConfigProperty {
                     Definition = "definition",
                     Name = "name",
                     Type = "type",

                     // the properties below are optional
                     Examples = new [] { "examples" },
                     InputAction = "inputAction",
                     InputEnabled = false,
                     OutputAction = "outputAction",
                     OutputEnabled = false
                 } },

                 // the properties below are optional
                 TopicsTierConfig = new TopicsTierConfigProperty {
                     TierName = "tierName"
                 }
             };

Properties

TopicsConfig

A list of policies related to topics that the guardrail should deny.

public object TopicsConfig { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicpolicyconfig.html#cfn-bedrock-guardrail-topicpolicyconfig-topicsconfig

Type union: either IResolvable or (either IResolvable or CfnGuardrail.ITopicConfigProperty)[]

TopicsTierConfig

The tier that your guardrail uses for denied topic filters.

public object? TopicsTierConfig { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicpolicyconfig.html#cfn-bedrock-guardrail-topicpolicyconfig-topicstierconfig

Type union: either IResolvable or CfnGuardrail.ITopicsTierConfigProperty

Implements

CfnGuardrail.ITopicPolicyConfigProperty
Back to top Generated by DocFX