CfnRuntimeProps
Struct External
Properties for defining a CfnRuntime.
| 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 cfnRuntimeProps: bedrockagentcore.CfnRuntimeProps = {
agentRuntimeArtifact: {
codeConfiguration: {
code: {
s3: {
bucket: 'bucket',
prefix: 'prefix',
// the properties below are optional
versionId: 'versionId',
},
},
entryPoint: ['entryPoint'],
runtime: 'runtime',
},
containerConfiguration: {
containerUri: 'containerUri',
},
},
agentRuntimeName: 'agentRuntimeName',
roleArn: 'roleArn',
// the properties below are optional
authorizerConfiguration: {
customJwtAuthorizer: {
discoveryUrl: 'discoveryUrl',
// the properties below are optional
allowedAudience: ['allowedAudience'],
allowedClients: ['allowedClients'],
allowedScopes: ['allowedScopes'],
allowedWorkloadConfiguration: {
hostingEnvironments: [{
arn: 'arn',
}],
workloadIdentities: ['workloadIdentities'],
},
customClaims: [{
authorizingClaimMatchValue: {
claimMatchOperator: 'claimMatchOperator',
claimMatchValue: {
matchValueString: 'matchValueString',
matchValueStringList: ['matchValueStringList'],
},
},
inboundTokenClaimName: 'inboundTokenClaimName',
inboundTokenClaimValueType: 'inboundTokenClaimValueType',
}],
privateEndpoint: {
managedVpcResource: {
endpointIpAddressType: 'endpointIpAddressType',
subnetIds: ['subnetIds'],
vpcIdentifier: 'vpcIdentifier',
// the properties below are optional
routingDomain: 'routingDomain',
securityGroupIds: ['securityGroupIds'],
tags: {
tagsKey: 'tags',
},
},
selfManagedLatticeResource: {
resourceConfigurationIdentifier: 'resourceConfigurationIdentifier',
},
},
privateEndpointOverrides: [{
domain: 'domain',
privateEndpoint: {
managedVpcResource: {
endpointIpAddressType: 'endpointIpAddressType',
subnetIds: ['subnetIds'],
vpcIdentifier: 'vpcIdentifier',
// the properties below are optional
routingDomain: 'routingDomain',
securityGroupIds: ['securityGroupIds'],
tags: {
tagsKey: 'tags',
},
},
selfManagedLatticeResource: {
resourceConfigurationIdentifier: 'resourceConfigurationIdentifier',
},
},
}],
},
},
capacityProviderConfiguration: {
capacityProviderArn: 'capacityProviderArn',
},
description: 'description',
environmentVariables: {
environmentVariablesKey: 'environmentVariables',
},
filesystemConfigurations: [{
capacityProviderVolume: {
mountPath: 'mountPath',
volumeName: 'volumeName',
},
efsAccessPoint: {
accessPointArn: 'accessPointArn',
mountPath: 'mountPath',
},
s3FilesAccessPoint: {
accessPointArn: 'accessPointArn',
mountPath: 'mountPath',
},
sessionStorage: {
mountPath: 'mountPath',
},
}],
hooksConfiguration: {
buildProperty: {
warmup: {
action: {
httpPost: {
path: 'path',
// the properties below are optional
port: 123,
},
},
},
},
},
lifecycleConfiguration: {
idleRuntimeSessionTimeout: 123,
maxLifetime: 123,
},
networkConfiguration: {
networkMode: 'networkMode',
// the properties below are optional
networkModeConfig: {
securityGroups: ['securityGroups'],
subnets: ['subnets'],
},
},
platformVersion: 'platformVersion',
protocolConfiguration: 'protocolConfiguration',
requestHeaderConfiguration: {
requestHeaderAllowlist: ['requestHeaderAllowlist'],
},
resourceConfigurations: [{
minimumMemoryInMiB: 123,
}],
tags: {
tagsKey: 'tags',
},
};
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
cfn_runtime_props = bedrockagentcore.CfnRuntimeProps(
agent_runtime_artifact=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"
)
),
agent_runtime_name="agentRuntimeName",
role_arn="roleArn",
# the properties below are optional
authorizer_configuration=bedrockagentcore.CfnRuntime.AuthorizerConfigurationProperty(
custom_jwt_authorizer=bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty(
discovery_url="discoveryUrl",
# the properties below are optional
allowed_audience=["allowedAudience"],
allowed_clients=["allowedClients"],
allowed_scopes=["allowedScopes"],
allowed_workload_configuration=bedrockagentcore.CfnRuntime.AllowedWorkloadConfigurationProperty(
hosting_environments=[bedrockagentcore.CfnRuntime.HostingEnvironmentProperty(
arn="arn"
)],
workload_identities=["workloadIdentities"]
),
custom_claims=[bedrockagentcore.CfnRuntime.CustomClaimValidationTypeProperty(
authorizing_claim_match_value=bedrockagentcore.CfnRuntime.AuthorizingClaimMatchValueTypeProperty(
claim_match_operator="claimMatchOperator",
claim_match_value=bedrockagentcore.CfnRuntime.ClaimMatchValueTypeProperty(
match_value_string="matchValueString",
match_value_string_list=["matchValueStringList"]
)
),
inbound_token_claim_name="inboundTokenClaimName",
inbound_token_claim_value_type="inboundTokenClaimValueType"
)],
private_endpoint=bedrockagentcore.CfnRuntime.PrivateEndpointProperty(
managed_vpc_resource=bedrockagentcore.CfnRuntime.ManagedVpcResourceProperty(
endpoint_ip_address_type="endpointIpAddressType",
subnet_ids=["subnetIds"],
vpc_identifier="vpcIdentifier",
# the properties below are optional
routing_domain="routingDomain",
security_group_ids=["securityGroupIds"],
tags={
"tags_key": "tags"
}
),
self_managed_lattice_resource=bedrockagentcore.CfnRuntime.SelfManagedLatticeResourceProperty(
resource_configuration_identifier="resourceConfigurationIdentifier"
)
),
private_endpoint_overrides=[bedrockagentcore.CfnRuntime.PrivateEndpointOverrideProperty(
domain="domain",
private_endpoint=bedrockagentcore.CfnRuntime.PrivateEndpointProperty(
managed_vpc_resource=bedrockagentcore.CfnRuntime.ManagedVpcResourceProperty(
endpoint_ip_address_type="endpointIpAddressType",
subnet_ids=["subnetIds"],
vpc_identifier="vpcIdentifier",
# the properties below are optional
routing_domain="routingDomain",
security_group_ids=["securityGroupIds"],
tags={
"tags_key": "tags"
}
),
self_managed_lattice_resource=bedrockagentcore.CfnRuntime.SelfManagedLatticeResourceProperty(
resource_configuration_identifier="resourceConfigurationIdentifier"
)
)
)]
)
),
capacity_provider_configuration=bedrockagentcore.CfnRuntime.CapacityProviderConfigurationProperty(
capacity_provider_arn="capacityProviderArn"
),
description="description",
environment_variables={
"environment_variables_key": "environmentVariables"
},
filesystem_configurations=[bedrockagentcore.CfnRuntime.FilesystemConfigurationProperty(
capacity_provider_volume=bedrockagentcore.CfnRuntime.CapacityProviderVolumeConfigurationProperty(
mount_path="mountPath",
volume_name="volumeName"
),
efs_access_point=bedrockagentcore.CfnRuntime.EfsAccessPointConfigurationProperty(
access_point_arn="accessPointArn",
mount_path="mountPath"
),
s3_files_access_point=bedrockagentcore.CfnRuntime.S3FilesAccessPointConfigurationProperty(
access_point_arn="accessPointArn",
mount_path="mountPath"
),
session_storage=bedrockagentcore.CfnRuntime.SessionStorageConfigurationProperty(
mount_path="mountPath"
)
)],
hooks_configuration=bedrockagentcore.CfnRuntime.RuntimeHooksConfigurationProperty(
build_property=bedrockagentcore.CfnRuntime.BuildLifecycleHooksProperty(
warmup=bedrockagentcore.CfnRuntime.LifecycleHookProperty(
action=bedrockagentcore.CfnRuntime.LifecycleHookActionProperty(
http_post=bedrockagentcore.CfnRuntime.HttpPostLifecycleHookActionProperty(
path="path",
# the properties below are optional
port=123
)
)
)
)
),
lifecycle_configuration=bedrockagentcore.CfnRuntime.LifecycleConfigurationProperty(
idle_runtime_session_timeout=123,
max_lifetime=123
),
network_configuration=bedrockagentcore.CfnRuntime.NetworkConfigurationProperty(
network_mode="networkMode",
# the properties below are optional
network_mode_config=bedrockagentcore.CfnRuntime.VpcConfigProperty(
security_groups=["securityGroups"],
subnets=["subnets"]
)
),
platform_version="platformVersion",
protocol_configuration="protocolConfiguration",
request_header_configuration=bedrockagentcore.CfnRuntime.RequestHeaderConfigurationProperty(
request_header_allowlist=["requestHeaderAllowlist"]
),
resource_configurations=[bedrockagentcore.CfnRuntime.ResourceConfigurationProperty(
minimum_memory_in_mi_b=123
)],
tags={
"tags_key": "tags"
}
)
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.*;
CfnRuntimeProps cfnRuntimeProps = CfnRuntimeProps.builder()
.agentRuntimeArtifact(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())
.agentRuntimeName("agentRuntimeName")
.roleArn("roleArn")
// the properties below are optional
.authorizerConfiguration(AuthorizerConfigurationProperty.builder()
.customJwtAuthorizer(CustomJWTAuthorizerConfigurationProperty.builder()
.discoveryUrl("discoveryUrl")
// the properties below are optional
.allowedAudience(List.of("allowedAudience"))
.allowedClients(List.of("allowedClients"))
.allowedScopes(List.of("allowedScopes"))
.allowedWorkloadConfiguration(AllowedWorkloadConfigurationProperty.builder()
.hostingEnvironments(List.of(HostingEnvironmentProperty.builder()
.arn("arn")
.build()))
.workloadIdentities(List.of("workloadIdentities"))
.build())
.customClaims(List.of(CustomClaimValidationTypeProperty.builder()
.authorizingClaimMatchValue(AuthorizingClaimMatchValueTypeProperty.builder()
.claimMatchOperator("claimMatchOperator")
.claimMatchValue(ClaimMatchValueTypeProperty.builder()
.matchValueString("matchValueString")
.matchValueStringList(List.of("matchValueStringList"))
.build())
.build())
.inboundTokenClaimName("inboundTokenClaimName")
.inboundTokenClaimValueType("inboundTokenClaimValueType")
.build()))
.privateEndpoint(PrivateEndpointProperty.builder()
.managedVpcResource(ManagedVpcResourceProperty.builder()
.endpointIpAddressType("endpointIpAddressType")
.subnetIds(List.of("subnetIds"))
.vpcIdentifier("vpcIdentifier")
// the properties below are optional
.routingDomain("routingDomain")
.securityGroupIds(List.of("securityGroupIds"))
.tags(Map.of(
"tagsKey", "tags"))
.build())
.selfManagedLatticeResource(SelfManagedLatticeResourceProperty.builder()
.resourceConfigurationIdentifier("resourceConfigurationIdentifier")
.build())
.build())
.privateEndpointOverrides(List.of(PrivateEndpointOverrideProperty.builder()
.domain("domain")
.privateEndpoint(PrivateEndpointProperty.builder()
.managedVpcResource(ManagedVpcResourceProperty.builder()
.endpointIpAddressType("endpointIpAddressType")
.subnetIds(List.of("subnetIds"))
.vpcIdentifier("vpcIdentifier")
// the properties below are optional
.routingDomain("routingDomain")
.securityGroupIds(List.of("securityGroupIds"))
.tags(Map.of(
"tagsKey", "tags"))
.build())
.selfManagedLatticeResource(SelfManagedLatticeResourceProperty.builder()
.resourceConfigurationIdentifier("resourceConfigurationIdentifier")
.build())
.build())
.build()))
.build())
.build())
.capacityProviderConfiguration(CapacityProviderConfigurationProperty.builder()
.capacityProviderArn("capacityProviderArn")
.build())
.description("description")
.environmentVariables(Map.of(
"environmentVariablesKey", "environmentVariables"))
.filesystemConfigurations(List.of(FilesystemConfigurationProperty.builder()
.capacityProviderVolume(CapacityProviderVolumeConfigurationProperty.builder()
.mountPath("mountPath")
.volumeName("volumeName")
.build())
.efsAccessPoint(EfsAccessPointConfigurationProperty.builder()
.accessPointArn("accessPointArn")
.mountPath("mountPath")
.build())
.s3FilesAccessPoint(S3FilesAccessPointConfigurationProperty.builder()
.accessPointArn("accessPointArn")
.mountPath("mountPath")
.build())
.sessionStorage(SessionStorageConfigurationProperty.builder()
.mountPath("mountPath")
.build())
.build()))
.hooksConfiguration(RuntimeHooksConfigurationProperty.builder()
.buildProperty(BuildLifecycleHooksProperty.builder()
.warmup(LifecycleHookProperty.builder()
.action(LifecycleHookActionProperty.builder()
.httpPost(HttpPostLifecycleHookActionProperty.builder()
.path("path")
// the properties below are optional
.port(123)
.build())
.build())
.build())
.build())
.build())
.lifecycleConfiguration(LifecycleConfigurationProperty.builder()
.idleRuntimeSessionTimeout(123)
.maxLifetime(123)
.build())
.networkConfiguration(NetworkConfigurationProperty.builder()
.networkMode("networkMode")
// the properties below are optional
.networkModeConfig(VpcConfigProperty.builder()
.securityGroups(List.of("securityGroups"))
.subnets(List.of("subnets"))
.build())
.build())
.platformVersion("platformVersion")
.protocolConfiguration("protocolConfiguration")
.requestHeaderConfiguration(RequestHeaderConfigurationProperty.builder()
.requestHeaderAllowlist(List.of("requestHeaderAllowlist"))
.build())
.resourceConfigurations(List.of(ResourceConfigurationProperty.builder()
.minimumMemoryInMiB(123)
.build()))
.tags(Map.of(
"tagsKey", "tags"))
.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 cfnRuntimeProps = new CfnRuntimeProps {
AgentRuntimeArtifact = 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"
}
},
AgentRuntimeName = "agentRuntimeName",
RoleArn = "roleArn",
// the properties below are optional
AuthorizerConfiguration = new AuthorizerConfigurationProperty {
CustomJwtAuthorizer = new CustomJWTAuthorizerConfigurationProperty {
DiscoveryUrl = "discoveryUrl",
// the properties below are optional
AllowedAudience = new [] { "allowedAudience" },
AllowedClients = new [] { "allowedClients" },
AllowedScopes = new [] { "allowedScopes" },
AllowedWorkloadConfiguration = new AllowedWorkloadConfigurationProperty {
HostingEnvironments = new [] { new HostingEnvironmentProperty {
Arn = "arn"
} },
WorkloadIdentities = new [] { "workloadIdentities" }
},
CustomClaims = new [] { new CustomClaimValidationTypeProperty {
AuthorizingClaimMatchValue = new AuthorizingClaimMatchValueTypeProperty {
ClaimMatchOperator = "claimMatchOperator",
ClaimMatchValue = new ClaimMatchValueTypeProperty {
MatchValueString = "matchValueString",
MatchValueStringList = new [] { "matchValueStringList" }
}
},
InboundTokenClaimName = "inboundTokenClaimName",
InboundTokenClaimValueType = "inboundTokenClaimValueType"
} },
PrivateEndpoint = new PrivateEndpointProperty {
ManagedVpcResource = new ManagedVpcResourceProperty {
EndpointIpAddressType = "endpointIpAddressType",
SubnetIds = new [] { "subnetIds" },
VpcIdentifier = "vpcIdentifier",
// the properties below are optional
RoutingDomain = "routingDomain",
SecurityGroupIds = new [] { "securityGroupIds" },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
},
SelfManagedLatticeResource = new SelfManagedLatticeResourceProperty {
ResourceConfigurationIdentifier = "resourceConfigurationIdentifier"
}
},
PrivateEndpointOverrides = new [] { new PrivateEndpointOverrideProperty {
Domain = "domain",
PrivateEndpoint = new PrivateEndpointProperty {
ManagedVpcResource = new ManagedVpcResourceProperty {
EndpointIpAddressType = "endpointIpAddressType",
SubnetIds = new [] { "subnetIds" },
VpcIdentifier = "vpcIdentifier",
// the properties below are optional
RoutingDomain = "routingDomain",
SecurityGroupIds = new [] { "securityGroupIds" },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
},
SelfManagedLatticeResource = new SelfManagedLatticeResourceProperty {
ResourceConfigurationIdentifier = "resourceConfigurationIdentifier"
}
}
} }
}
},
CapacityProviderConfiguration = new CapacityProviderConfigurationProperty {
CapacityProviderArn = "capacityProviderArn"
},
Description = "description",
EnvironmentVariables = new Dictionary<string, string> {
{ "environmentVariablesKey", "environmentVariables" }
},
FilesystemConfigurations = new [] { new FilesystemConfigurationProperty {
CapacityProviderVolume = new CapacityProviderVolumeConfigurationProperty {
MountPath = "mountPath",
VolumeName = "volumeName"
},
EfsAccessPoint = new EfsAccessPointConfigurationProperty {
AccessPointArn = "accessPointArn",
MountPath = "mountPath"
},
S3FilesAccessPoint = new S3FilesAccessPointConfigurationProperty {
AccessPointArn = "accessPointArn",
MountPath = "mountPath"
},
SessionStorage = new SessionStorageConfigurationProperty {
MountPath = "mountPath"
}
} },
HooksConfiguration = new RuntimeHooksConfigurationProperty {
BuildProperty = new BuildLifecycleHooksProperty {
Warmup = new LifecycleHookProperty {
Action = new LifecycleHookActionProperty {
HttpPost = new HttpPostLifecycleHookActionProperty {
Path = "path",
// the properties below are optional
Port = 123
}
}
}
}
},
LifecycleConfiguration = new LifecycleConfigurationProperty {
IdleRuntimeSessionTimeout = 123,
MaxLifetime = 123
},
NetworkConfiguration = new NetworkConfigurationProperty {
NetworkMode = "networkMode",
// the properties below are optional
NetworkModeConfig = new VpcConfigProperty {
SecurityGroups = new [] { "securityGroups" },
Subnets = new [] { "subnets" }
}
},
PlatformVersion = "platformVersion",
ProtocolConfiguration = "protocolConfiguration",
RequestHeaderConfiguration = new RequestHeaderConfigurationProperty {
RequestHeaderAllowlist = new [] { "requestHeaderAllowlist" }
},
ResourceConfigurations = new [] { new ResourceConfigurationProperty {
MinimumMemoryInMiB = 123
} },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
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"
cfnRuntimeProps := &CfnRuntimeProps{
AgentRuntimeArtifact: &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"),
},
},
AgentRuntimeName: jsii.String("agentRuntimeName"),
RoleArn: jsii.String("roleArn"),
// the properties below are optional
AuthorizerConfiguration: &AuthorizerConfigurationProperty{
CustomJwtAuthorizer: &CustomJWTAuthorizerConfigurationProperty{
DiscoveryUrl: jsii.String("discoveryUrl"),
// the properties below are optional
AllowedAudience: []*string{
jsii.String("allowedAudience"),
},
AllowedClients: []*string{
jsii.String("allowedClients"),
},
AllowedScopes: []*string{
jsii.String("allowedScopes"),
},
AllowedWorkloadConfiguration: &AllowedWorkloadConfigurationProperty{
HostingEnvironments: []interface{}{
&HostingEnvironmentProperty{
Arn: jsii.String("arn"),
},
},
WorkloadIdentities: []*string{
jsii.String("workloadIdentities"),
},
},
CustomClaims: []interface{}{
&CustomClaimValidationTypeProperty{
AuthorizingClaimMatchValue: &AuthorizingClaimMatchValueTypeProperty{
ClaimMatchOperator: jsii.String("claimMatchOperator"),
ClaimMatchValue: &ClaimMatchValueTypeProperty{
MatchValueString: jsii.String("matchValueString"),
MatchValueStringList: []*string{
jsii.String("matchValueStringList"),
},
},
},
InboundTokenClaimName: jsii.String("inboundTokenClaimName"),
InboundTokenClaimValueType: jsii.String("inboundTokenClaimValueType"),
},
},
PrivateEndpoint: &PrivateEndpointProperty{
ManagedVpcResource: &ManagedVpcResourceProperty{
EndpointIpAddressType: jsii.String("endpointIpAddressType"),
SubnetIds: []*string{
jsii.String("subnetIds"),
},
VpcIdentifier: jsii.String("vpcIdentifier"),
// the properties below are optional
RoutingDomain: jsii.String("routingDomain"),
SecurityGroupIds: []*string{
jsii.String("securityGroupIds"),
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
},
SelfManagedLatticeResource: &SelfManagedLatticeResourceProperty{
ResourceConfigurationIdentifier: jsii.String("resourceConfigurationIdentifier"),
},
},
PrivateEndpointOverrides: []interface{}{
&PrivateEndpointOverrideProperty{
Domain: jsii.String("domain"),
PrivateEndpoint: &PrivateEndpointProperty{
ManagedVpcResource: &ManagedVpcResourceProperty{
EndpointIpAddressType: jsii.String("endpointIpAddressType"),
SubnetIds: []*string{
jsii.String("subnetIds"),
},
VpcIdentifier: jsii.String("vpcIdentifier"),
// the properties below are optional
RoutingDomain: jsii.String("routingDomain"),
SecurityGroupIds: []*string{
jsii.String("securityGroupIds"),
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
},
SelfManagedLatticeResource: &SelfManagedLatticeResourceProperty{
ResourceConfigurationIdentifier: jsii.String("resourceConfigurationIdentifier"),
},
},
},
},
},
},
CapacityProviderConfiguration: &CapacityProviderConfigurationProperty{
CapacityProviderArn: jsii.String("capacityProviderArn"),
},
Description: jsii.String("description"),
EnvironmentVariables: map[string]*string{
"environmentVariablesKey": jsii.String("environmentVariables"),
},
FilesystemConfigurations: []interface{}{
&FilesystemConfigurationProperty{
CapacityProviderVolume: &CapacityProviderVolumeConfigurationProperty{
MountPath: jsii.String("mountPath"),
VolumeName: jsii.String("volumeName"),
},
EfsAccessPoint: &EfsAccessPointConfigurationProperty{
AccessPointArn: jsii.String("accessPointArn"),
MountPath: jsii.String("mountPath"),
},
S3FilesAccessPoint: &S3FilesAccessPointConfigurationProperty{
AccessPointArn: jsii.String("accessPointArn"),
MountPath: jsii.String("mountPath"),
},
SessionStorage: &SessionStorageConfigurationProperty{
MountPath: jsii.String("mountPath"),
},
},
},
HooksConfiguration: &RuntimeHooksConfigurationProperty{
BuildProperty: &BuildLifecycleHooksProperty{
Warmup: &LifecycleHookProperty{
Action: &LifecycleHookActionProperty{
HttpPost: &HttpPostLifecycleHookActionProperty{
Path: jsii.String("path"),
// the properties below are optional
Port: jsii.Number(123),
},
},
},
},
},
LifecycleConfiguration: &LifecycleConfigurationProperty{
IdleRuntimeSessionTimeout: jsii.Number(123),
MaxLifetime: jsii.Number(123),
},
NetworkConfiguration: &NetworkConfigurationProperty{
NetworkMode: jsii.String("networkMode"),
// the properties below are optional
NetworkModeConfig: &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
},
},
PlatformVersion: jsii.String("platformVersion"),
ProtocolConfiguration: jsii.String("protocolConfiguration"),
RequestHeaderConfiguration: &RequestHeaderConfigurationProperty{
RequestHeaderAllowlist: []*string{
jsii.String("requestHeaderAllowlist"),
},
},
ResourceConfigurations: []interface{}{
&ResourceConfigurationProperty{
MinimumMemoryInMiB: jsii.Number(123),
},
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}
Properties
agentRuntimeArtifactIResolvable | CfnRuntime.agent_runtime_artifacttyping.Union[IResolvable, AgentRuntimeArtifactProperty]agentRuntimeArtifactIResolvableAgentRuntimeArtifactIResolvableAgentRuntimeArtifactinterface{} required #The artifact of the agent.
agentRuntimeNamestringagent_runtime_namestragentRuntimeNameStringAgentRuntimeNamestringAgentRuntimeName*string required #The name of the AgentCore Runtime endpoint.
authorizerConfigurationoptionalIResolvable | CfnRuntime.authorizer_configurationoptionaltyping.Union[IResolvable, AuthorizerConfigurationProperty]authorizerConfigurationoptionalIResolvableAuthorizerConfigurationoptionalIResolvableAuthorizerConfigurationoptionalinterface{} #Represents inbound authorization configuration options used to authenticate incoming requests.
capacityProviderConfigurationoptionalIResolvable | CfnRuntime.capacity_provider_configurationoptionaltyping.Union[IResolvable, CapacityProviderConfigurationProperty]capacityProviderConfigurationoptionalIResolvableCapacityProviderConfigurationoptionalIResolvableCapacityProviderConfigurationoptionalinterface{} #Configuration for a capacity provider.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The agent runtime description.
environmentVariablesoptionalIResolvable | { [key: string]: string }environment_variablesoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]environmentVariablesoptionalIResolvableEnvironmentVariablesoptionalIResolvableEnvironmentVariablesoptionalinterface{} #The environment variables for the agent.
filesystemConfigurationsoptionalIResolvable | IResolvable | CfnRuntime.filesystem_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FilesystemConfigurationProperty]]]filesystemConfigurationsoptionalIResolvableFilesystemConfigurationsoptionalIResolvableFilesystemConfigurationsoptionalinterface{} #List of filesystem configurations.
hooksConfigurationoptionalIResolvable | CfnRuntime.hooks_configurationoptionaltyping.Union[IResolvable, RuntimeHooksConfigurationProperty]hooksConfigurationoptionalIResolvableHooksConfigurationoptionalIResolvableHooksConfigurationoptionalinterface{} #Lifecycle hooks that the platform runs at fixed points in the runtime's lifecycle.
lifecycleConfigurationoptionalIResolvable | CfnRuntime.lifecycle_configurationoptionaltyping.Union[IResolvable, LifecycleConfigurationProperty]lifecycleConfigurationoptionalIResolvableLifecycleConfigurationoptionalIResolvableLifecycleConfigurationoptionalinterface{} #Configuration for managing the lifecycle of runtime sessions and resources.
networkConfigurationoptionalIResolvable | CfnRuntime.network_configurationoptionaltyping.Union[IResolvable, NetworkConfigurationProperty]networkConfigurationoptionalIResolvableNetworkConfigurationoptionalIResolvableNetworkConfigurationoptionalinterface{} #The network configuration.
platformVersionoptionalstringplatform_versionoptionalstrplatformVersionoptionalStringPlatformVersionoptionalstringPlatformVersionoptional*string #protocolConfigurationoptionalstringprotocol_configurationoptionalstrprotocolConfigurationoptionalStringProtocolConfigurationoptionalstringProtocolConfigurationoptional*string #The protocol configuration for an agent runtime.
This structure defines how the agent runtime communicates with clients.
requestHeaderConfigurationoptionalIResolvable | CfnRuntime.request_header_configurationoptionaltyping.Union[IResolvable, RequestHeaderConfigurationProperty]requestHeaderConfigurationoptionalIResolvableRequestHeaderConfigurationoptionalIResolvableRequestHeaderConfigurationoptionalinterface{} #Configuration for HTTP request headers.
resourceConfigurationsoptionalIResolvable | IResolvable | CfnRuntime.resource_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ResourceConfigurationProperty]]]resourceConfigurationsoptionalIResolvableResourceConfigurationsoptionalIResolvableResourceConfigurationsoptionalinterface{} #List of resource configurations for an agent runtime.
The Amazon Resource Name (ARN) for for the role.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #The tags for the agent.