CIDR block

New-IAMCIDRBlock

Synopsis

Create a CIDR block.

Syntax

New-IAMCIDRBlock [-CIDRBlock] <String> [[-Comments] <String>] [-Enabled] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Adds CIDR blocks to your account's allowlist.

You can add only one CIDR block at a time.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑CIDRBlock
Required

The value of an IP address or IP address range.

‑Comments

A descriptive text you provide for the CIDR block.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Enabled

Enables the IP allowlist on the account.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links


Did this page help you?