# CfnMappingProps

Extends: CfnMappingProps
Used as props by: CfnMapping

- Source: [`core/lib/cfn-mapping.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/cfn-mapping.ts#L13)

## Example

```ts
const regionTable = new CfnMapping(this, 'RegionTable', {
  mapping: {
    'us-east-1': {
      regionName: 'US East (N. Virginia)',
    },
    'us-east-2': {
      regionName: 'US East (Ohio)',
    },
  },
  lazy: true,
});

regionTable.findInMap('us-east-2', 'regionName');
```

## Properties

- `lazy`: boolean

- `mapping`: { [key: string]: { [key: string]: any } } — Mapping of key to a set of corresponding set of named values.

  **Default:** No mapping.

  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.
