Aws/servicediscovery
@swamp/aws/servicediscoveryv2026.09.15.1
01README
AWS SERVICEDISCOVERY infrastructure models
02Models
@swamp/aws/servicediscovery/http-namespacev2026.09.02.1http_namespace.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Description? | string | A description for the namespace. |
| Tags? | array | The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. |
| Name | string | The name that you want to assign to this namespace. |
fn create()
Create a ServiceDiscovery HttpNamespace
fn get(identifier: string)
Get a ServiceDiscovery HttpNamespace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ServiceDiscovery HttpNamespace |
fn update()
Update a ServiceDiscovery HttpNamespace
fn delete(identifier: string)
Delete a ServiceDiscovery HttpNamespace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ServiceDiscovery HttpNamespace |
fn sync()
Sync ServiceDiscovery HttpNamespace state from AWS
fn list(maxPages?: number, resourceModel?: string)
List ServiceDiscovery HttpNamespace resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— ServiceDiscovery HttpNamespace resource state
@swamp/aws/servicediscovery/instancev2026.09.10.1instance.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| InstanceAttributes | record | A string map that contains information for the service that is specified in ServiceId. |
| InstanceId? | string | An identifier that you want to associate with the instance. |
| ServiceId | string | The ID or Amazon Resource Name (ARN) of the service that you want to use for settings for the instance. |
fn create()
Create a ServiceDiscovery Instance
fn get(identifier: string)
Get a ServiceDiscovery Instance
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ServiceDiscovery Instance |
fn update()
Update a ServiceDiscovery Instance
fn delete(identifier: string)
Delete a ServiceDiscovery Instance
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ServiceDiscovery Instance |
fn sync()
Sync ServiceDiscovery Instance state from AWS
fn list(maxPages?: number, resourceModel?: string)
List ServiceDiscovery Instance resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— ServiceDiscovery Instance resource state
@swamp/aws/servicediscovery/private-dns-namespacev2026.08.18.1private_dns_namespace.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Description? | string | A description of the namespace. |
| Vpc? | string | The ID of the Amazon VPC that you want to associate the namespace with. |
| Properties? | object | Properties of the private DNS namespace. |
| Tags? | array | The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. |
| Name | string | The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace. |
fn create()
Create a ServiceDiscovery PrivateDnsNamespace
fn get(identifier: string)
Get a ServiceDiscovery PrivateDnsNamespace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ServiceDiscovery PrivateDnsNamespace |
fn update()
Update a ServiceDiscovery PrivateDnsNamespace
fn delete(identifier: string)
Delete a ServiceDiscovery PrivateDnsNamespace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ServiceDiscovery PrivateDnsNamespace |
fn sync()
Sync ServiceDiscovery PrivateDnsNamespace state from AWS
fn list(maxPages?: number, resourceModel?: string)
List ServiceDiscovery PrivateDnsNamespace resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— ServiceDiscovery PrivateDnsNamespace resource state
@swamp/aws/servicediscovery/public-dns-namespacev2026.08.17.2public_dns_namespace.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Description? | string | A description for the namespace. |
| Properties? | object | Properties for the public DNS namespace. |
| Tags? | array | The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. |
| Name | string | The name that you want to assign to this namespace. |
fn create()
Create a ServiceDiscovery PublicDnsNamespace
fn get(identifier: string)
Get a ServiceDiscovery PublicDnsNamespace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ServiceDiscovery PublicDnsNamespace |
fn update()
Update a ServiceDiscovery PublicDnsNamespace
fn delete(identifier: string)
Delete a ServiceDiscovery PublicDnsNamespace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ServiceDiscovery PublicDnsNamespace |
fn sync()
Sync ServiceDiscovery PublicDnsNamespace state from AWS
fn list(maxPages?: number, resourceModel?: string)
List ServiceDiscovery PublicDnsNamespace resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— ServiceDiscovery PublicDnsNamespace resource state
@swamp/aws/servicediscovery/servicev2026.09.01.1service.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Type? | string | The type of service. Supported values are HTTP or DNS. |
| Description? | string | A description for the service. |
| HealthCheckCustomConfig? | object | Settings for custom health checks. |
| DnsConfig? | object | DNS-related configurations for the service. |
| ServiceAttributes? | record | A string map that contains attributes and values for the service. You can specify a maximum of 30 key-value pairs. |
| NamespaceId? | string | The ID of the namespace in which the service is created. |
| HealthCheckConfig? | object | Settings for health checks. Used when routing is DNS-based. |
| Tags? | array | An array of key-value pairs to associate with the service. |
| Name? | string | The name of the service. |
fn create()
Create a ServiceDiscovery Service
fn get(identifier: string)
Get a ServiceDiscovery Service
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ServiceDiscovery Service |
fn update()
Update a ServiceDiscovery Service
fn delete(identifier: string)
Delete a ServiceDiscovery Service
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ServiceDiscovery Service |
fn sync()
Sync ServiceDiscovery Service state from AWS
fn list(maxPages?: number, resourceModel?: string)
List ServiceDiscovery Service resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— ServiceDiscovery Service resource state
03Previous Versions
2026.09.14.1
2026.09.13.1
2026.09.12.1
2026.09.11.1
2026.09.10.1
- Added: instance
Added 1 models
2026.09.09.1
2026.09.08.1
2026.09.07.1
2026.09.06.3
2026.09.06.1
2026.09.05.1
2026.09.04.1
2026.09.03.1
2026.09.02.1
- Added: http_namespace
Added 1 models
2026.09.01.1
- Updated: service
2026.08.31.1
2026.08.30.1
2026.08.29.1
2026.08.28.1
04Stats
A
100 / 100
Downloads
1
Archive size
1.2 MB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels