Skip to content
v2.278.0

AIGuardrailReference Struct ​

A reference to a AIGuardrail resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as interfaces_wisdom } from 'aws-cdk-lib/interfaces';
const aIGuardrailReference: interfaces_wisdom.AIGuardrailReference = {
  aiGuardrailArn: 'aiGuardrailArn',
  aiGuardrailId: 'aiGuardrailId',
  assistantId: 'assistantId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_wisdom as interfaces_wisdom

a_i_guardrail_reference = interfaces_wisdom.AIGuardrailReference(
    ai_guardrail_arn="aiGuardrailArn",
    ai_guardrail_id="aiGuardrailId",
    assistant_id="assistantId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.wisdom.*;

AIGuardrailReference aIGuardrailReference = AIGuardrailReference.builder()
        .aiGuardrailArn("aiGuardrailArn")
        .aiGuardrailId("aiGuardrailId")
        .assistantId("assistantId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.Wisdom;

var aIGuardrailReference = new AIGuardrailReference {
    AiGuardrailArn = "aiGuardrailArn",
    AiGuardrailId = "aiGuardrailId",
    AssistantId = "assistantId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

aIGuardrailReference := &AIGuardrailReference{
	AiGuardrailArn: jsii.String("aiGuardrailArn"),
	AiGuardrailId: jsii.String("aiGuardrailId"),
	AssistantId: jsii.String("assistantId"),
}

Properties ​

aiGuardrailArnstringai_guardrail_arnstraiGuardrailArnStringAiGuardrailArnstringAiGuardrailArn*string required #
The ARN of the AIGuardrail resource.
aiGuardrailIdstringai_guardrail_idstraiGuardrailIdStringAiGuardrailIdstringAiGuardrailId*string required #
The AIGuardrailId of the AIGuardrail resource.
assistantIdstringassistant_idstrassistantIdStringAssistantIdstringAssistantId*string required #
The AssistantId of the AIGuardrail resource.