Skip to content
v2.278.0

CfnAIAgentVersionProps ​

Struct External

Properties for defining a CfnAIAgentVersion.

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 wisdom } from 'aws-cdk-lib';
const cfnAIAgentVersionProps: wisdom.CfnAIAgentVersionProps = {
  aiAgentId: 'aiAgentId',
  assistantId: 'assistantId',

  // the properties below are optional
  modifiedTimeSeconds: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wisdom as wisdom

cfn_ai_agent_version_props = wisdom.CfnAIAgentVersionProps(
    ai_agent_id="aiAgentId",
    assistant_id="assistantId",

    # the properties below are optional
    modified_time_seconds=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;

CfnAIAgentVersionProps cfnAIAgentVersionProps = CfnAIAgentVersionProps.builder()
        .aiAgentId("aiAgentId")
        .assistantId("assistantId")

        // the properties below are optional
        .modifiedTimeSeconds(123)
        .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.AWS.Wisdom;

var cfnAIAgentVersionProps = new CfnAIAgentVersionProps {
    AiAgentId = "aiAgentId",
    AssistantId = "assistantId",

    // the properties below are optional
    ModifiedTimeSeconds = 123
};
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"

cfnAIAgentVersionProps := &CfnAIAgentVersionProps{
	AiAgentId: jsii.String("aiAgentId"),
	AssistantId: jsii.String("assistantId"),

	// the properties below are optional
	ModifiedTimeSeconds: jsii.Number(123),
}

Properties ​

aiAgentIdstringai_agent_idstraiAgentIdStringAiAgentIdstringAiAgentId*string required #
The identifier of the AI Agent.
assistantIdstringassistant_idstrassistantIdStringAssistantIdstringAssistantId*string required #
modifiedTimeSecondsoptionalnumbermodified_time_secondsoptionalint | floatmodifiedTimeSecondsoptionalNumberModifiedTimeSecondsoptionaldoubleModifiedTimeSecondsoptional*float64 #
The time the AI Agent version was last modified in seconds.