@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.675Z") @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$Proxy| 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(software.constructs.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 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()
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 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)
No longer used.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, 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
software.constructs.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
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) @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)
@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.