AgentRuntimeArtifactProperty
Struct External
The artifact of the agent.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const agentRuntimeArtifactProperty: bedrockagentcore.CfnRuntime.AgentRuntimeArtifactProperty = {
codeConfiguration: {
code: {
s3: {
bucket: 'bucket',
prefix: 'prefix',
// the properties below are optional
versionId: 'versionId',
},
},
entryPoint: ['entryPoint'],
runtime: 'runtime',
},
containerConfiguration: {
containerUri: 'containerUri',
},
};
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_bedrockagentcore as bedrockagentcore
agent_runtime_artifact_property = bedrockagentcore.CfnRuntime.AgentRuntimeArtifactProperty(
code_configuration=bedrockagentcore.CfnRuntime.CodeConfigurationProperty(
code=bedrockagentcore.CfnRuntime.CodeProperty(
s3=bedrockagentcore.CfnRuntime.S3LocationProperty(
bucket="bucket",
prefix="prefix",
# the properties below are optional
version_id="versionId"
)
),
entry_point=["entryPoint"],
runtime="runtime"
),
container_configuration=bedrockagentcore.CfnRuntime.ContainerConfigurationProperty(
container_uri="containerUri"
)
)
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.bedrockagentcore.*;
AgentRuntimeArtifactProperty agentRuntimeArtifactProperty = AgentRuntimeArtifactProperty.builder()
.codeConfiguration(CodeConfigurationProperty.builder()
.code(CodeProperty.builder()
.s3(S3LocationProperty.builder()
.bucket("bucket")
.prefix("prefix")
// the properties below are optional
.versionId("versionId")
.build())
.build())
.entryPoint(List.of("entryPoint"))
.runtime("runtime")
.build())
.containerConfiguration(ContainerConfigurationProperty.builder()
.containerUri("containerUri")
.build())
.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.BedrockAgentCore;
var agentRuntimeArtifactProperty = new AgentRuntimeArtifactProperty {
CodeConfiguration = new CodeConfigurationProperty {
Code = new CodeProperty {
S3 = new S3LocationProperty {
Bucket = "bucket",
Prefix = "prefix",
// the properties below are optional
VersionId = "versionId"
}
},
EntryPoint = new [] { "entryPoint" },
Runtime = "runtime"
},
ContainerConfiguration = new ContainerConfigurationProperty {
ContainerUri = "containerUri"
}
};
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"
agentRuntimeArtifactProperty := &AgentRuntimeArtifactProperty{
CodeConfiguration: &CodeConfigurationProperty{
Code: &CodeProperty{
S3: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
// the properties below are optional
VersionId: jsii.String("versionId"),
},
},
EntryPoint: []*string{
jsii.String("entryPoint"),
},
Runtime: jsii.String("runtime"),
},
ContainerConfiguration: &ContainerConfigurationProperty{
ContainerUri: jsii.String("containerUri"),
},
}
Properties
codeConfigurationoptionalIResolvable | CfnRuntime.code_configurationoptionaltyping.Union[IResolvable, CodeConfigurationProperty]codeConfigurationoptionalIResolvableCodeConfigurationoptionalIResolvableCodeConfigurationoptionalinterface{} #Representation of a code configuration.
containerConfigurationoptionalIResolvable | CfnRuntime.container_configurationoptionaltyping.Union[IResolvable, ContainerConfigurationProperty]containerConfigurationoptionalIResolvableContainerConfigurationoptionalIResolvableContainerConfigurationoptionalinterface{} #Representation of a container configuration.