# CloudMapNamespaceOptionsBase

Options shared by all ways of setting the default AWS Cloud Map namespace of a cluster.

- Source: [`aws-ecs/lib/cluster.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-ecs/lib/cluster.ts#L1241)
- Type last changed: v2.263.0 · 31 Jul 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const cloudMapNamespaceOptionsBase: ecs.CloudMapNamespaceOptionsBase = {
  useForServiceConnect: false,
};
```

## Properties

- `useForServiceConnect`: boolean = false — This property specifies whether to set the provided namespace as the service connect default in the cluster properties.
