AWS::IoT::PolicyPrincipalAttachment

IoT PolicyPrincipalAttachment

Resource Type definition for AWS::IoT::PolicyPrincipalAttachment

Properties

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

Filter:
PropertyTypeFlags
PolicyName
string
RequiredCreate-only
Principal
string
RequiredCreate-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::PolicyPrincipalAttachment

Resources:
  MyResource:
    Type: AWS::IoT::PolicyPrincipalAttachment
    Properties:
      PolicyName: "my-policyname"
      Principal: "value"

Required IAM Permissions

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

read

iot:ListAttachedPolicies

create

iot:AttachPrincipalPolicyiot:ListAttachedPolicies

list

iot:ListAttachedPolicies

delete

iot:DetachPrincipalPolicyiot:ListAttachedPolicies

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
Properties2
Required2
TaggingNot supported
Primary IDPolicyName

Supported Operations

ReadCreateListDelete

Immutable After Creation

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

PolicyNamePrincipal

External Links