Class CfnMapProps
Properties for defining a CfnMap
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Location
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMapProps : Object, ICfnMapProps
Syntax (vb)
Public Class CfnMapProps
Inherits Object
Implements ICfnMapProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Location;
var cfnMapProps = new CfnMapProps {
Configuration = new MapConfigurationProperty {
Style = "style",
// the properties below are optional
CustomLayers = new [] { "customLayers" },
PoliticalView = "politicalView"
},
MapName = "mapName",
// the properties below are optional
Description = "description",
PricingPlan = "pricingPlan",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnMapProps() |
Properties
Configuration | Specifies the |
Description | An optional description for the map resource. |
MapName | The name for the map resource. |
PricingPlan | No longer used. If included, the only allowed value is |
Tags | Applies one or more tags to the map resource. |
Constructors
CfnMapProps()
public CfnMapProps()
Properties
Configuration
Specifies the MapConfiguration
, including the map style, for the map resource that you create.
public object Configuration { get; set; }
Property Value
System.Object
Remarks
The map style defines the look of maps and the data provider for your map resource.
Description
An optional description for the map resource.
public string Description { get; set; }
Property Value
System.String
Remarks
MapName
The name for the map resource.
public string MapName { get; set; }
Property Value
System.String
Remarks
PricingPlan
No longer used. If included, the only allowed value is RequestBasedUsage
.
public string PricingPlan { get; set; }
Property Value
System.String
Remarks
Allowed Values : RequestBasedUsage
Tags
Applies one or more tags to the map resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
: .
- Cannot use "aws:" as a prefix for a key.