All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::ACM::Namespaces

Last Updated:Jun 16, 2026

Queries a list of namespaces in Application Configuration Management (ACM).

Syntax

{
  "Type": "DATASOURCE::ACM::Namespaces",
  "Properties": {
    "RefreshOptions": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

RefreshOptions

String

No

Yes

The refresh policy for data source resources when the stack is updated.

Valid values:

  • Never (default): does not refresh data source resources when the stack is updated.

  • Always: refreshes data source resources when the stack is updated.

Return values (Fn::GetAtt)

Property

Type

Description

Constraint

NamespaceIds

List

The namespace IDs.

None.

Namespaces

List

The namespace details.

None.

NamespaceId

String

The namespace ID.

None.

NamespaceName

String

The namespace name.

None.

Type

Integer

The namespace type.

Valid values:

  • 1: default namespace

  • 2: custom namespace

Quota

Integer

The maximum number of configurations.

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"
            ]
          }
        }
      }
    }
  • YAML 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