Class CfnHarness.HarnessEnvironmentProviderProperty
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.BedrockAgentCore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnHarness.HarnessEnvironmentProviderProperty : CfnHarness.IHarnessEnvironmentProviderProperty
Syntax (vb)
Public Class CfnHarness.HarnessEnvironmentProviderProperty Implements CfnHarness.IHarnessEnvironmentProviderProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 harnessEnvironmentProviderProperty = new HarnessEnvironmentProviderProperty {
AgentCoreRuntimeEnvironment = new HarnessAgentCoreRuntimeEnvironmentProperty {
AgentRuntimeArn = "agentRuntimeArn",
AgentRuntimeId = "agentRuntimeId",
AgentRuntimeName = "agentRuntimeName",
FilesystemConfigurations = new [] { new FilesystemConfigurationProperty {
SessionStorage = new SessionStorageConfigurationProperty {
MountPath = "mountPath"
}
} },
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" }
}
}
}
};
Synopsis
Constructors
| HarnessEnvironmentProviderProperty() |
Properties
| AgentCoreRuntimeEnvironment |
Constructors
HarnessEnvironmentProviderProperty()
public HarnessEnvironmentProviderProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 harnessEnvironmentProviderProperty = new HarnessEnvironmentProviderProperty {
AgentCoreRuntimeEnvironment = new HarnessAgentCoreRuntimeEnvironmentProperty {
AgentRuntimeArn = "agentRuntimeArn",
AgentRuntimeId = "agentRuntimeId",
AgentRuntimeName = "agentRuntimeName",
FilesystemConfigurations = new [] { new FilesystemConfigurationProperty {
SessionStorage = new SessionStorageConfigurationProperty {
MountPath = "mountPath"
}
} },
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" }
}
}
}
};
Properties
AgentCoreRuntimeEnvironment
public object? AgentCoreRuntimeEnvironment { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnHarness.IHarnessAgentCoreRuntimeEnvironmentProperty