GetContextValueResult Struct
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
declare const value: any;
const getContextValueResult: cdk.GetContextValueResult = {
value: value,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk
# value: Any
get_context_value_result = cdk.GetContextValueResult(
value=value
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
Object value;
GetContextValueResult getContextValueResult = GetContextValueResult.builder()
.value(value)
.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;
var value;
var getContextValueResult = new GetContextValueResult {
Value = value
};
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 cdk "github.com/aws/aws-cdk-go/awscdk"
var value interface{}
getContextValueResult := &GetContextValueResult{
Value: value,
}