AWS::ServiceDiscovery::InstanceResource Type definition for AWS::ServiceDiscovery::Instance
3 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
InstanceAttributes | object | Required |
ServiceId | string | RequiredCreate-only |
InstanceId | string | Create-only |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ServiceDiscovery::Instance
Resources:
MyResource:
Type: AWS::ServiceDiscovery::Instance
Properties:
InstanceAttributes: {}
ServiceId: "my-serviceid"Permissions CloudFormation needs in your IAM role to manage this resource.
servicediscovery:RegisterInstanceservicediscovery:GetInstanceservicediscovery:GetOperationservicediscovery:GetInstanceservicediscovery:RegisterInstanceservicediscovery:GetInstanceservicediscovery:GetOperationservicediscovery:DeregisterInstanceservicediscovery:GetInstanceservicediscovery:GetOperationservicediscovery:ListInstancesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterServiceIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
InstanceIdServiceId