@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:36.889Z") @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")
// the properties below are optional
.dataSourceConfiguration(DataSourceConfigurationProperty.builder()
.intendedUse("intendedUse")
.build())
.description("description")
.pricingPlan("pricingPlan")
.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()
The Amazon Resource Name (ARN) for the place index resource.
|
String |
getAttrCreateTime()
The timestamp for when the place index resource was created in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` .
|
String |
getAttrIndexArn()
Synonym for `Arn` .
|
String |
getAttrUpdateTime()
The timestamp for when the place index resource was last updated in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` .
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDataSource()
Specifies the geospatial data provider for the new place index.
|
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()
No longer used.
|
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 geospatial data provider for the new place index.
|
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)
No longer used.
|
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()
arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex@Stability(value=Stable) @NotNull public String getAttrCreateTime()
@Stability(value=Stable) @NotNull public String getAttrIndexArn()
The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS .
arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex@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
HEREreturns an error.
Valid values include:
Esri – For additional information about Esri 's coverage in your region of interest, see Esri details on geocoding coverage .Here – For additional information about HERE Technologies ' coverage in your region of interest, see HERE details on goecoding coverage .
If you specify HERE Technologies (
Here) as the data provider, you may not store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional information , see Data providers on the Amazon Location Service Developer Guide .
@Stability(value=Stable)
public void setDataSource(@NotNull
String value)
This field is case-sensitive. Enter the valid values as shown. For example, entering
HEREreturns an error.
Valid values include:
Esri – For additional information about Esri 's coverage in your region of interest, see Esri details on geocoding coverage .Here – For additional information about HERE Technologies ' coverage in your region of interest, see HERE details on goecoding coverage .
If you specify HERE Technologies (
Here) as the data provider, you may not store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional information , see Data providers on the Amazon Location Service Developer Guide .
@Stability(value=Stable) @NotNull public String getIndexName()
Requirements:
ExamplePlaceIndex .@Stability(value=Stable)
public void setIndexName(@NotNull
String value)
Requirements:
ExamplePlaceIndex .@Stability(value=Stable) @Nullable public Object getDataSourceConfiguration()
@Stability(value=Stable)
public void setDataSourceConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setDataSourceConfiguration(@Nullable
CfnPlaceIndex.DataSourceConfigurationProperty value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getPricingPlan()
Allowed Values : RequestBasedUsage
@Stability(value=Stable)
public void setPricingPlan(@Nullable
String value)
Allowed Values : RequestBasedUsage
Copyright © 2022. All rights reserved.