# CfnIpAccessSettingsProps

Properties for defining a `CfnIpAccessSettings`.

Extends: CfnIpAccessSettingsProps
Used as props by: CfnIpAccessSettings

- Source: Generated code
- Type last changed: v2.97.0 · 22 Sep 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesweb as workspacesweb } from 'aws-cdk-lib';
const cfnIpAccessSettingsProps: workspacesweb.CfnIpAccessSettingsProps = {
  ipRules: [{
    ipRange: 'ipRange',

    // the properties below are optional
    description: 'description',
  }],

  // the properties below are optional
  additionalEncryptionContext: {
    additionalEncryptionContextKey: 'additionalEncryptionContext',
  },
  customerManagedKey: 'customerManagedKey',
  description: 'description',
  displayName: 'displayName',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `additionalEncryptionContext`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — Additional encryption context of the IP access settings.

- `customerManagedKey`: string — The custom managed key of the IP access settings.

  *Pattern* : `^arn:[\w+=\/,.@-]+:kms:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:key\/[a-zA-Z0-9-]+$`

- `description`: string — The description of the IP access settings.

- `displayName`: string — The display name of the IP access settings.

- `ipRules`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIpAccessSettings.IpRuleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_workspacesweb.CfnIpAccessSettings.IpRuleProperty.html)[] (required) — The IP rules of the IP access settings.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags to add to the IP access settings resource.

  A tag is a key-value pair.
