RuntimeInfo Struct
Information about the application's runtime components.
| Source | lib/cloud-assembly/schema.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cloud_assembly_schema } from 'aws-cdk-lib';
const runtimeInfo: cloud_assembly_schema.RuntimeInfo = {
libraries: {
librariesKey: 'libraries',
},
};
python
from aws_cdk.cloud_assembly_schema import RuntimeInfo
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import cloud_assembly_schema
runtime_info = RuntimeInfo(
libraries={
"libraries_key": "libraries"
}
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cloud_assembly_schema.*;
RuntimeInfo runtimeInfo = RuntimeInfo.builder()
.libraries(Map.of(
"librariesKey", "libraries"))
.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.Cloud_assembly_schema;
var runtimeInfo = new RuntimeInfo {
Libraries = new Dictionary<string, string> {
{ "librariesKey", "libraries" }
}
};
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"
runtimeInfo := &RuntimeInfo{
Libraries: map[string]*string{
"librariesKey": jsii.String("libraries"),
},
}
Properties
libraries{ [key: string]: string }librariestyping.Mapping[str, str]librariesMap<String, String>LibrariesIDictionary<string, string>Libraries*map[string]*string required #The list of libraries loaded in the application, associated with their versions.