AWS::IoT::ThingPrincipalAttachment

IoT ThingPrincipalAttachment

Resource Type definition for AWS::IoT::ThingPrincipalAttachment

Properties

3 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
Principal
string
RequiredCreate-only
ThingName
string
RequiredCreate-only
ThingPrincipalType
string
Create-only

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IoT::ThingPrincipalAttachment

Resources:
  MyResource:
    Type: AWS::IoT::ThingPrincipalAttachment
    Properties:
      ThingName: "my-thingname"
      Principal: "value"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

iot:ListThingPrincipalsV2

create

iot:AttachThingPrincipaliot:ListThingPrincipalsV2

list

iot:ListThingPrincipalsV2

delete

iot:DetachThingPrincipaliot:ListThingPrincipalsV2

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

ServiceIoT
Properties3
Required2
TaggingNot supported
Primary IDThingName

Supported Operations

ReadCreateListDelete

Immutable After Creation

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

PrincipalThingNameThingPrincipalType

External Links