Skip to content
v2.278.0

ContextStoreReference Struct ​

A reference to a ContextStore resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmanager as interfaces_networkmanager } from 'aws-cdk-lib/interfaces';
const contextStoreReference: interfaces_networkmanager.ContextStoreReference = {
  contextStoreArn: 'contextStoreArn',
  contextStoreId: 'contextStoreId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_networkmanager as interfaces_networkmanager

context_store_reference = interfaces_networkmanager.ContextStoreReference(
    context_store_arn="contextStoreArn",
    context_store_id="contextStoreId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.networkmanager.*;

ContextStoreReference contextStoreReference = ContextStoreReference.builder()
        .contextStoreArn("contextStoreArn")
        .contextStoreId("contextStoreId")
        .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.Interfaces.NetworkManager;

var contextStoreReference = new ContextStoreReference {
    ContextStoreArn = "contextStoreArn",
    ContextStoreId = "contextStoreId"
};
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"

contextStoreReference := &ContextStoreReference{
	ContextStoreArn: jsii.String("contextStoreArn"),
	ContextStoreId: jsii.String("contextStoreId"),
}

Properties ​

contextStoreArnstringcontext_store_arnstrcontextStoreArnStringContextStoreArnstringContextStoreArn*string required #
The ARN of the ContextStore resource.
contextStoreIdstringcontext_store_idstrcontextStoreIdStringContextStoreIdstringContextStoreId*string required #
The ContextStoreId of the ContextStore resource.