We recommend new projects start with resources from the AWS provider.
aws-native.location.GeofenceCollection
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::Location::GeofenceCollection Resource Type
Create GeofenceCollection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GeofenceCollection(name: string, args?: GeofenceCollectionArgs, opts?: CustomResourceOptions);
@overload
def GeofenceCollection(resource_name: str,
args: Optional[GeofenceCollectionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def GeofenceCollection(resource_name: str,
opts: Optional[ResourceOptions] = None,
collection_name: Optional[str] = None,
description: Optional[str] = None,
kms_key_id: Optional[str] = None,
pricing_plan: Optional[GeofenceCollectionPricingPlan] = None,
pricing_plan_data_source: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewGeofenceCollection(ctx *Context, name string, args *GeofenceCollectionArgs, opts ...ResourceOption) (*GeofenceCollection, error)
public GeofenceCollection(string name, GeofenceCollectionArgs? args = null, CustomResourceOptions? opts = null)
public GeofenceCollection(String name, GeofenceCollectionArgs args)
public GeofenceCollection(String name, GeofenceCollectionArgs args, CustomResourceOptions options)
type: aws-native:location:GeofenceCollection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GeofenceCollectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GeofenceCollectionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GeofenceCollectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GeofenceCollectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GeofenceCollectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GeofenceCollection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GeofenceCollection resource accepts the following input properties:
- Collection
Name string A custom name for the geofence collection.
Requirements:
- Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
- Must be a unique geofence collection name.
- No spaces allowed. For example,
ExampleGeofenceCollection
.
- Description string
- An optional description for the geofence collection.
- Kms
Key stringId - A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- Pricing
Plan Pulumi.Aws Native. Location. Geofence Collection Pricing Plan - Pricing
Plan stringData Source - This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Collection
Name string A custom name for the geofence collection.
Requirements:
- Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
- Must be a unique geofence collection name.
- No spaces allowed. For example,
ExampleGeofenceCollection
.
- Description string
- An optional description for the geofence collection.
- Kms
Key stringId - A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- Pricing
Plan GeofenceCollection Pricing Plan - Pricing
Plan stringData Source - This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- Tag
Args - An array of key-value pairs to apply to this resource.
- collection
Name String A custom name for the geofence collection.
Requirements:
- Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
- Must be a unique geofence collection name.
- No spaces allowed. For example,
ExampleGeofenceCollection
.
- description String
- An optional description for the geofence collection.
- kms
Key StringId - A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- pricing
Plan GeofenceCollection Pricing Plan - pricing
Plan StringData Source - This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- collection
Name string A custom name for the geofence collection.
Requirements:
- Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
- Must be a unique geofence collection name.
- No spaces allowed. For example,
ExampleGeofenceCollection
.
- description string
- An optional description for the geofence collection.
- kms
Key stringId - A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- pricing
Plan GeofenceCollection Pricing Plan - pricing
Plan stringData Source - This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- Tag[]
- An array of key-value pairs to apply to this resource.
- collection_
name str A custom name for the geofence collection.
Requirements:
- Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
- Must be a unique geofence collection name.
- No spaces allowed. For example,
ExampleGeofenceCollection
.
- description str
- An optional description for the geofence collection.
- kms_
key_ strid - A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- pricing_
plan GeofenceCollection Pricing Plan - pricing_
plan_ strdata_ source - This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- collection
Name String A custom name for the geofence collection.
Requirements:
- Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
- Must be a unique geofence collection name.
- No spaces allowed. For example,
ExampleGeofenceCollection
.
- description String
- An optional description for the geofence collection.
- kms
Key StringId - A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.
- pricing
Plan "RequestBased Usage" - pricing
Plan StringData Source - This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the GeofenceCollection resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- Collection
Arn string - Synonym for
Arn
. The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- Create
Time string - The timestamp for when the geofence collection resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
. - Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The timestamp for when the geofence collection resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
- Arn string
- The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- Collection
Arn string - Synonym for
Arn
. The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- Create
Time string - The timestamp for when the geofence collection resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
. - Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The timestamp for when the geofence collection resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
- arn String
- The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- collection
Arn String - Synonym for
Arn
. The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- create
Time String - The timestamp for when the geofence collection resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
. - id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - The timestamp for when the geofence collection resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
- arn string
- The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- collection
Arn string - Synonym for
Arn
. The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- create
Time string - The timestamp for when the geofence collection resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
. - id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - The timestamp for when the geofence collection resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
- arn str
- The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- collection_
arn str - Synonym for
Arn
. The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- create_
time str - The timestamp for when the geofence collection resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
. - id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - The timestamp for when the geofence collection resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
- arn String
- The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .
- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- collection
Arn String - Synonym for
Arn
. The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS .- Format example:
arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
- Format example:
- create
Time String - The timestamp for when the geofence collection resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
. - id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - The timestamp for when the geofence collection resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
Supporting Types
GeofenceCollectionPricingPlan, GeofenceCollectionPricingPlanArgs
- Request
Based Usage - RequestBasedUsage
- Geofence
Collection Pricing Plan Request Based Usage - RequestBasedUsage
- Request
Based Usage - RequestBasedUsage
- Request
Based Usage - RequestBasedUsage
- REQUEST_BASED_USAGE
- RequestBasedUsage
- "Request
Based Usage" - RequestBasedUsage
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.