CmdID

CmdID / aws / aws networkflowmonitor

aws networkflowmonitor create-scope

In Network Flow Monitor, you specify a scope for the service to generate metrics for. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a scope

The following create-scope example creates a scope that includes a set of resources for which Network Flow Monitor will generate network traffic metrics.

aws networkflowmonitor create-scope --targets '[{"targetIdentifier":{"targetId":{"accountId":"123456789012"},"targetType":"ACCOUNT"},"region":"us-west-2"}]'Identify
--targetsThe targets to define the scope to be monitored.
Its output
{
    "scopeId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
    "status": "IN_PROGRESS",
    "tags": {}
}

For more information, see Components and features of Network Flow Monitor in the Amazon CloudWatch User Guide.

Options

3 in the AWS CLI reference
--client-tokenA unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request.
--tagsThe tags for a scope.
--targetsThe targets to define the scope to be monitored.