Interface ICfnMappingProps
Namespace: Amazon.CDK
Assembly: Amazon.CDK.dll
Syntax (csharp)
public interface ICfnMappingProps
Syntax (vb)
Public Interface ICfnMappingProps
Remarks
ExampleMetadata: infused
Examples
var regionTable = new CfnMapping(this, "RegionTable", new CfnMappingProps {
Mapping = new Dictionary<string, IDictionary<string, object>> {
{ "us-east-1", new Dictionary<string, object> {
{ "regionName", "US East (N. Virginia)" }
} },
{ "us-east-2", new Dictionary<string, object> {
{ "regionName", "US East (Ohio)" }
} }
}
});
regionTable.FindInMap(Aws.REGION, "regionName");
Synopsis
Properties
Lazy | |
Mapping | Mapping of key to a set of corresponding set of named values. |
Properties
Lazy
virtual Nullable<bool> Lazy { get; }
Property Value
System.Nullable<System.Boolean>
Mapping
Mapping of key to a set of corresponding set of named values.
virtual IDictionary<string, IDictionary<string, object>> Mapping { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IDictionary<System.String, System.Object>>
Remarks
The key identifies a map of name-value pairs and must be unique within the mapping.
For example, if you want to set values based on a region, you can create a mapping that uses the region name as a key and contains the values you want to specify for each specific region.
Default: - No mapping.