DATASOURCE::ACM::Namespaces is used to query namespaces.

Properties

None

Response parameters (Fn::GetAtt)

Parameter Type Description Constraint
NamespaceIds List The IDs of namespaces. None
Namespaces List The information about namespaces. None
NamespaceId String The ID of the namespace. None
NamespaceName String The name of the namespace. None
Type Integer The type of the namespace. Valid values:
  • 1: default namespace
  • 2: custom namespace
Quota Integer The maximum number of configurations in the namespace. None
ConfigCount Integer The number of configurations. None

Examples

JSON format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "Namespaces": {
      "Type": "DATASOURCE::ACM::Namespaces",
      "Properties": {}
    }
  },
  "Outputs": {
    "Namespaces": {
      "Description": "The list of namespaces.",
      "Value": {
        "Fn::GetAtt": [
          "Namespaces",
          "Namespaces"
        ]
      }
    },
    "NamespaceIds": {
      "Description": "The list of namespace IDs.",
      "Value": {
        "Fn::GetAtt": [
          "Namespaces",
          "NamespaceIds"
        ]
      }
    }
  }
}