Class CfnMap
The AWS::Location::Map
resource specifies a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.
Inherited Members
Namespace: Amazon.CDK.AWS.Location
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMap : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnMap
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html
CloudformationResource: AWS::Location::Map
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 cfnMap = new CfnMap(this, "MyCfnMap", 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
CfnMap(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnMap(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnMap(Construct, String, ICfnMapProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS . |
AttrCreateTime | The timestamp for when the map resource was created in ISO 8601 format: |
AttrDataSource | |
AttrMapArn | Synonym for |
AttrUpdateTime | The timestamp for when the map resource was last updated in ISO 8601 format: |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Configuration | Specifies the |
Description | An optional description for the map resource. |
MapName | The name for the map resource. |
PricingPlan | No longer used. |
Tags | Applies one or more tags to the map resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnMap(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnMap(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnMap(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnMap(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnMap(Construct, String, ICfnMapProps)
public CfnMap(Construct scope, string id, ICfnMapProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnMapProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS .
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreateTime
The timestamp for when the map resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
public virtual string AttrCreateTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreateTime
AttrDataSource
public virtual string AttrDataSource { get; }
Property Value
System.String
Remarks
CloudformationAttribute: DataSource
AttrMapArn
Synonym for Arn
.
public virtual string AttrMapArn { get; }
Property Value
System.String
Remarks
The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS .
CloudformationAttribute: MapArn
AttrUpdateTime
The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
public virtual string AttrUpdateTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: UpdateTime
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Configuration
Specifies the MapConfiguration
, including the map style, for the map resource that you create.
public virtual object Configuration { get; set; }
Property Value
System.Object
Description
An optional description for the map resource.
public virtual string Description { get; set; }
Property Value
System.String
MapName
The name for the map resource.
public virtual string MapName { get; set; }
Property Value
System.String
PricingPlan
No longer used.
public virtual string PricingPlan { get; set; }
Property Value
System.String
Remarks
If included, the only allowed value is RequestBasedUsage
.
Tags
Applies one or more tags to the map resource.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>