@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:11.813Z") @Stability(value=Stable) public class CfnPlaceIndex extends CfnResource implements IInspectable
The AWS::Location::PlaceIndex resource specifies a place index resource in your AWS account, which supports Places functions with geospatial data sourced from your chosen data provider.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.location.*;
CfnPlaceIndex cfnPlaceIndex = CfnPlaceIndex.Builder.create(this, "MyCfnPlaceIndex")
.dataSource("dataSource")
.indexName("indexName")
.pricingPlan("pricingPlan")
// the properties below are optional
.dataSourceConfiguration(DataSourceConfigurationProperty.builder()
.intendedUse("intendedUse")
.build())
.description("description")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnPlaceIndex.Builder
A fluent builder for
CfnPlaceIndex. |
static interface |
CfnPlaceIndex.DataSourceConfigurationProperty
Specifies the data storage option for requesting Places.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnPlaceIndex(Construct scope,
String id,
CfnPlaceIndexProps props)
Create a new `AWS::Location::PlaceIndex`.
|
protected |
CfnPlaceIndex(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnPlaceIndex(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrCreateTime() |
String |
getAttrIndexArn() |
String |
getAttrUpdateTime() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDataSource()
Specifies the data provider of geospatial data.
|
Object |
getDataSourceConfiguration()
Specifies the data storage option for requesting Places.
|
String |
getDescription()
The optional description for the place index resource.
|
String |
getIndexName()
The name of the place index resource.
|
String |
getPricingPlan()
Specifies the pricing plan for your place index resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDataSource(String value)
Specifies the data provider of geospatial data.
|
void |
setDataSourceConfiguration(CfnPlaceIndex.DataSourceConfigurationProperty value)
Specifies the data storage option for requesting Places.
|
void |
setDataSourceConfiguration(IResolvable value)
Specifies the data storage option for requesting Places.
|
void |
setDescription(String value)
The optional description for the place index resource.
|
void |
setIndexName(String value)
The name of the place index resource.
|
void |
setPricingPlan(String value)
Specifies the pricing plan for your place index resource.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnPlaceIndex(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPlaceIndex(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnPlaceIndex(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnPlaceIndexProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCreateTime()
@Stability(value=Stable) @NotNull public String getAttrIndexArn()
@Stability(value=Stable) @NotNull public String getAttrUpdateTime()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getDataSource()
This field is case-sensitive. Enter the valid values as shown. For example, entering
HEREwill return an error.
Valid values include:
EsriHere
Place index resources using HERE as a data provider can't be used to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional details on data providers, see the Amazon Location Service data providers page .
@Stability(value=Stable)
public void setDataSource(@NotNull
String value)
This field is case-sensitive. Enter the valid values as shown. For example, entering
HEREwill return an error.
Valid values include:
EsriHere
Place index resources using HERE as a data provider can't be used to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional details on data providers, see the Amazon Location Service data providers page .
@Stability(value=Stable) @NotNull public String getIndexName()
Requirements:
ExamplePlaceIndex .@Stability(value=Stable)
public void setIndexName(@NotNull
String value)
Requirements:
ExamplePlaceIndex .@Stability(value=Stable) @NotNull public String getPricingPlan()
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page .
@Stability(value=Stable)
public void setPricingPlan(@NotNull
String value)
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page .
@Stability(value=Stable) @Nullable public Object getDataSourceConfiguration()
@Stability(value=Stable)
public void setDataSourceConfiguration(@Nullable
CfnPlaceIndex.DataSourceConfigurationProperty value)
@Stability(value=Stable)
public void setDataSourceConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.