@Stability(value=Stable)
public static interface CfnPolicy.IEMapProperty
extends software.amazon.jsii.JsiiSerializable
Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.
This is used for the policy's IncludeMap and ExcludeMap .
You can specify account IDs, OUs, or a combination:
ACCOUNT . For example, the following is a valid map: {“ACCOUNT” : [“accountID1”, “accountID2”]} .ORGUNIT . For example, the following is a valid map: {“ORGUNIT” : [“ouid111”, “ouid112”]} .{“ACCOUNT” : [“accountID1”, “accountID2”], “ORGUNIT” : [“ouid111”, “ouid112”]} .Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fms.*;
IEMapProperty iEMapProperty = Map.of(
"account", List.of("account"),
"orgunit", List.of("orgunit"));
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPolicy.IEMapProperty.Builder
A builder for
CfnPolicy.IEMapProperty |
static class |
CfnPolicy.IEMapProperty.Jsii$Proxy
An implementation for
CfnPolicy.IEMapProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnPolicy.IEMapProperty.Builder |
builder() |
default List<String> |
getAccount()
The account list for the map.
|
default List<String> |
getOrgunit()
The organizational unit list for the map.
|
@Stability(value=Stable) @Nullable default List<String> getAccount()
@Stability(value=Stable) @Nullable default List<String> getOrgunit()
@Stability(value=Stable) static CfnPolicy.IEMapProperty.Builder builder()
CfnPolicy.IEMapProperty.Builder of CfnPolicy.IEMapPropertyCopyright © 2022. All rights reserved.