AWS::ServiceDiscovery::ServiceResource Type definition for AWS::ServiceDiscovery::Service
9 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Description | string | |
DnsConfig | DnsConfig | |
HealthCheckConfig | HealthCheckConfig | |
HealthCheckCustomConfig | HealthCheckCustomConfig | Create-only |
Name | string | Create-only |
NamespaceId | string | Create-only |
ServiceAttributes | object | |
Tags | Array<Tag> | |
Type | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
Id | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ServiceDiscovery::Service
Resources:
MyResource:
Type: AWS::ServiceDiscovery::Service
Properties:
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"
Name: !Ref "AWS::StackName"Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
HealthCheckCustomConfigNameTypeNamespaceId