AWS Fundamentals Logo
AWS Fundamentals
AWS::ServiceDiscovery::Service

ServiceDiscovery Service

Resource Type definition for AWS::ServiceDiscovery::Service

Properties

9 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
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

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Arnstring-
Idstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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"

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceServiceDiscovery
Properties11
Required0
TaggingNot supported
Primary IDId

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

HealthCheckCustomConfigNameTypeNamespaceId

External Links