HarnessSkill

sealed class HarnessSkill

A skill available to the agent.

Inheritors

Types

Link copied to clipboard
data class Git(val value: HarnessSkillGitSource) : HarnessSkill

A git repository containing the skill.

Link copied to clipboard
data class Path(val value: String) : HarnessSkill

The filesystem path to the skill definition.

Link copied to clipboard
data class S3(val value: HarnessSkillS3Source) : HarnessSkill

An S3 source containing the skill.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this HarnessSkill as a Git and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessSkillGitSource value. Throws an exception if the HarnessSkill is not a Git.

Link copied to clipboard
Link copied to clipboard
fun asPath(): String

Casts this HarnessSkill as a Path and retrieves its kotlin.String value. Throws an exception if the HarnessSkill is not a Path.

Link copied to clipboard

Casts this HarnessSkill as a Path and retrieves its kotlin.String value. Returns null if the HarnessSkill is not a Path.

Link copied to clipboard

Casts this HarnessSkill as a S3 and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessSkillS3Source value. Throws an exception if the HarnessSkill is not a S3.

Link copied to clipboard