Skip to content

/AWS1/CL_NWSSCOPECONFIGURATION

Defines which accounts and resources are in scope.

CONSTRUCTOR

IMPORTING

Required arguments:

it_resourcescopes TYPE /AWS1/CL_NWSRESOURCESCOPE=>TT_RESOURCESCOPEMAP TT_RESOURCESCOPEMAP

The resource-level scoping configuration, keyed by resource type, that defines which resources within the selected accounts are in scope.

Optional arguments:

io_accountfilter TYPE REF TO /AWS1/CL_NWSACCOUNTFILTER /AWS1/CL_NWSACCOUNTFILTER

The account filter that determines which accounts are in scope. When set, exactly one of includeAll, include, or exclude is set.

Organization administrators must include an account filter in every scope configuration. Single-account administrators must omit it: a scope without an account filter applies only to the administrator's own account. The presence of an account filter is fixed when the scope is created: an update can't add an account filter to a scope that was created without one, or remove the account filter from a scope that was created with one.


Queryable Attributes

accountFilter

The account filter that determines which accounts are in scope. When set, exactly one of includeAll, include, or exclude is set.

Organization administrators must include an account filter in every scope configuration. Single-account administrators must omit it: a scope without an account filter applies only to the administrator's own account. The presence of an account filter is fixed when the scope is created: an update can't add an account filter to a scope that was created without one, or remove the account filter from a scope that was created with one.

Accessible with the following methods

Method Description
GET_ACCOUNTFILTER() Getter for ACCOUNTFILTER

resourceScopes

The resource-level scoping configuration, keyed by resource type, that defines which resources within the selected accounts are in scope.

Accessible with the following methods

Method Description
GET_RESOURCESCOPES() Getter for RESOURCESCOPES, with configurable default
ASK_RESOURCESCOPES() Getter for RESOURCESCOPES w/ exceptions if field has no valu
HAS_RESOURCESCOPES() Determine if RESOURCESCOPES has a value