PlaceIndexReference Struct
A reference to a PlaceIndex resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_location as interfaces_location } from 'aws-cdk-lib/interfaces';
const placeIndexReference: interfaces_location.PlaceIndexReference = {
indexName: 'indexName',
placeIndexArn: 'placeIndexArn',
};
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_location as interfaces_location
place_index_reference = interfaces_location.PlaceIndexReference(
index_name="indexName",
place_index_arn="placeIndexArn"
)
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.location.*;
PlaceIndexReference placeIndexReference = PlaceIndexReference.builder()
.indexName("indexName")
.placeIndexArn("placeIndexArn")
.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.Location;
var placeIndexReference = new PlaceIndexReference {
IndexName = "indexName",
PlaceIndexArn = "placeIndexArn"
};
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"
placeIndexReference := &PlaceIndexReference{
IndexName: jsii.String("indexName"),
PlaceIndexArn: jsii.String("placeIndexArn"),
}