ApiCacheReference Struct
A reference to a ApiCache resource.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as interfaces_appsync } from 'aws-cdk-lib/interfaces';
const apiCacheReference: interfaces_appsync.ApiCacheReference = {
apiCacheId: 'apiCacheId',
};
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_appsync as interfaces_appsync
api_cache_reference = interfaces_appsync.ApiCacheReference(
api_cache_id="apiCacheId"
)
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.appsync.*;
ApiCacheReference apiCacheReference = ApiCacheReference.builder()
.apiCacheId("apiCacheId")
.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.AppSync;
var apiCacheReference = new ApiCacheReference {
ApiCacheId = "apiCacheId"
};
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"
apiCacheReference := &ApiCacheReference{
ApiCacheId: jsii.String("apiCacheId"),
}
Properties
The Id of the ApiCache resource.