Skip to content
v2.278.0

AIGuardrailVersionReference Struct ​

A reference to a AIGuardrailVersion 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 aIGuardrailVersionReference: interfaces_wisdom.AIGuardrailVersionReference = {
  aiGuardrailId: 'aiGuardrailId',
  assistantId: 'assistantId',
  versionNumber: 'versionNumber',
};
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_version_reference = interfaces_wisdom.AIGuardrailVersionReference(
    ai_guardrail_id="aiGuardrailId",
    assistant_id="assistantId",
    version_number="versionNumber"
)
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.*;

AIGuardrailVersionReference aIGuardrailVersionReference = AIGuardrailVersionReference.builder()
        .aiGuardrailId("aiGuardrailId")
        .assistantId("assistantId")
        .versionNumber("versionNumber")
        .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 aIGuardrailVersionReference = new AIGuardrailVersionReference {
    AiGuardrailId = "aiGuardrailId",
    AssistantId = "assistantId",
    VersionNumber = "versionNumber"
};
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"

aIGuardrailVersionReference := &AIGuardrailVersionReference{
	AiGuardrailId: jsii.String("aiGuardrailId"),
	AssistantId: jsii.String("assistantId"),
	VersionNumber: jsii.String("versionNumber"),
}

Properties ​

aiGuardrailIdstringai_guardrail_idstraiGuardrailIdStringAiGuardrailIdstringAiGuardrailId*string required #
The AIGuardrailId of the AIGuardrailVersion resource.
assistantIdstringassistant_idstrassistantIdStringAssistantIdstringAssistantId*string required #
The AssistantId of the AIGuardrailVersion resource.
versionNumberstringversion_numberstrversionNumberStringVersionNumberstringVersionNumber*string required #
The VersionNumber of the AIGuardrailVersion resource.