Class GeofenceCollection
(experimental) A Geofence Collection.
Inherited Members
Namespace: Amazon.CDK.AWS.Location.Alpha
Assembly: Amazon.CDK.AWS.Location.Alpha.dll
Syntax (csharp)
public class GeofenceCollection : Resource, IGeofenceCollection, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class GeofenceCollection Inherits Resource Implements IGeofenceCollection, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Key key;
new GeofenceCollection(this, "GeofenceCollection", new GeofenceCollectionProps {
GeofenceCollectionName = "MyGeofenceCollection", // optional, defaults to a generated name
KmsKey = key
});
Synopsis
Constructors
| GeofenceCollection(Construct, string, IGeofenceCollectionProps?) | (experimental) A Geofence Collection. |
Properties
| GeofenceCollectionArn | (experimental) The Amazon Resource Name (ARN) of the geofence collection resource. |
| GeofenceCollectionCreateTime | (experimental) The timestamp for when the geofence collection resource was created in ISO 8601 format. |
| GeofenceCollectionName | (experimental) The name of the geofence collection. |
| GeofenceCollectionUpdateTime | (experimental) The timestamp for when the geofence collection resource was last updated in ISO 8601 format. |
| PROPERTY_INJECTION_ID | (experimental) Uniquely identifies this class. |
Methods
| FromGeofenceCollectionArn(Construct, string, string) | (experimental) Use an existing geofence collection by ARN. |
| FromGeofenceCollectionName(Construct, string, string) | (experimental) Use an existing geofence collection by name. |
| Grant(IGrantable, params string[]) | (experimental) Grant the given principal identity permissions to perform the actions on this geofence collection. |
| GrantRead(IGrantable) | (experimental) Grant the given identity permissions to read this geofence collection. |
Constructors
GeofenceCollection(Construct, string, IGeofenceCollectionProps?)
(experimental) A Geofence Collection.
public GeofenceCollection(Construct scope, string id, IGeofenceCollectionProps? props = null)
Parameters
- scope Construct
- id string
- props IGeofenceCollectionProps
Remarks
Stability: Experimental
Properties
GeofenceCollectionArn
(experimental) The Amazon Resource Name (ARN) of the geofence collection resource.
public virtual string GeofenceCollectionArn { get; }
Property Value
Remarks
Stability: Experimental
GeofenceCollectionCreateTime
(experimental) The timestamp for when the geofence collection resource was created in ISO 8601 format.
public virtual string GeofenceCollectionCreateTime { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
GeofenceCollectionName
(experimental) The name of the geofence collection.
public virtual string GeofenceCollectionName { get; }
Property Value
Remarks
Stability: Experimental
GeofenceCollectionUpdateTime
(experimental) The timestamp for when the geofence collection resource was last updated in ISO 8601 format.
public virtual string GeofenceCollectionUpdateTime { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Stability: Experimental
Methods
FromGeofenceCollectionArn(Construct, string, string)
(experimental) Use an existing geofence collection by ARN.
public static IGeofenceCollection FromGeofenceCollectionArn(Construct scope, string id, string geofenceCollectionArn)
Parameters
Returns
Remarks
Stability: Experimental
FromGeofenceCollectionName(Construct, string, string)
(experimental) Use an existing geofence collection by name.
public static IGeofenceCollection FromGeofenceCollectionName(Construct scope, string id, string geofenceCollectionName)
Parameters
Returns
Remarks
Stability: Experimental
Grant(IGrantable, params string[])
(experimental) Grant the given principal identity permissions to perform the actions on this geofence collection.
public virtual Grant Grant(IGrantable grantee, params string[] actions)
Parameters
- grantee IGrantable
- actions string[]
Returns
Remarks
Stability: Experimental
GrantRead(IGrantable)
(experimental) Grant the given identity permissions to read this geofence collection.
public virtual Grant GrantRead(IGrantable grantee)
Parameters
- grantee IGrantable