Skip to content
v2.278.0

AWS IoT Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as iot from 'aws-cdk-lib/aws-iot';
python
import aws_cdk.aws_iot as iot
java
import software.amazon.awscdk.services.iot.*;
csharp
using Amazon.CDK.AWS.IoT;
go
import iot "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

An experimental construct library for this service is available in preview. Since it is not stable yet, it is distributed as a separate package so that you can pin its version independently of the rest of the CDK. See the package:

@aws-cdk/aws-iot-alpha

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::IoT.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

Constructs (L1) ​

  • CfnAccountAuditConfiguration Construct (L1)
    Use the AWS::IoT::AccountAuditConfiguration resource to configure or reconfigure the Device Defender audit settings for your account.
  • CfnAuthorizer Construct (L1)
    Specifies an authorizer.
  • CfnBillingGroup Construct (L1)
    Creates a new billing group.
  • CfnCACertificate Construct (L1)
    Specifies a CA certificate.
  • CfnCertificate Construct (L1)
    Use the AWS::IoT::Certificate resource to declare an AWS IoT X.509 certificate. For information about working with X.509 certificates, see X.509 Client Certificates in the AWS IoT Developer Guide .
  • CfnCertificateProvider Construct (L1)
    Creates a certificate provider.
  • CfnCommand Construct (L1)
    Represents the resource definition of AWS IoT Command.
  • CfnCustomMetric Construct (L1)
    Use the AWS::IoT::CustomMetric resource to define a custom metric published by your devices to Device Defender.
  • CfnDimension Construct (L1)
    Use the AWS::IoT::Dimension to limit the scope of a metric used in a security profile for AWS IoT Device Defender .
  • CfnDomainConfiguration Construct (L1)
    Specifies a domain configuration.
  • CfnEncryptionConfiguration Construct (L1)
    Retrieves the encryption configuration for resources and data of your AWS account in AWS IoT Core .
  • CfnFleetMetric Construct (L1)
    Use the AWS::IoT::FleetMetric resource to declare a fleet metric.
  • CfnJob Construct (L1)
    Use the AWS::IoT::Job resource to declare an AWS IoT job.
  • CfnJobTemplate Construct (L1)
    Represents a job template.
  • CfnLogging Construct (L1)
    Configure logging.
  • CfnMitigationAction Construct (L1)
    Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask.
  • CfnOTAUpdate Construct (L1)
    Creates an IoT OTA update on a target group of things or groups.
  • CfnPolicy Construct (L1)
    Use the AWS::IoT::Policy resource to declare an AWS IoT policy.
  • CfnPolicyPrincipalAttachment Construct (L1)
    Use the AWS::IoT::PolicyPrincipalAttachment resource to attach an AWS IoT policy to a principal (an X.509 certificate or other credential).
  • CfnProvisioningTemplate Construct (L1)
    Creates a fleet provisioning template.
  • CfnResourceSpecificLogging Construct (L1)
    Configure resource-specific logging.
  • CfnRoleAlias Construct (L1)
    Specifies a role alias.
  • CfnScheduledAudit Construct (L1)
    Use the AWS::IoT::ScheduledAudit resource to create a scheduled audit that is run at a specified time interval.
  • CfnSecurityProfile Construct (L1)
    Use the AWS::IoT::SecurityProfile resource to create a Device Defender security profile.
  • CfnSoftwarePackage Construct (L1)
    Use the AWS::IoT::SoftwarePackage resource to create a software package.
  • CfnSoftwarePackageVersion Construct (L1)
    Use the AWS::IoT::SoftwarePackageVersion resource to create a software package version.
  • CfnStream Construct (L1)
    Resource Type definition for AWS IoT Stream.
  • CfnThing Construct (L1)
    Use the AWS::IoT::Thing resource to declare an AWS IoT thing.
  • CfnThingGroup Construct (L1)
    Creates a new thing group.
  • CfnThingPrincipalAttachment Construct (L1)
    Use the AWS::IoT::ThingPrincipalAttachment resource to attach a principal (an X.509 certificate or another credential) to a thing.
  • CfnThingType Construct (L1)
    Creates a new thing type.
  • CfnTopicRule Construct (L1)
    Use the AWS::IoT::TopicRule resource to declare an AWS IoT rule.
  • CfnTopicRuleDestination Construct (L1)
    A topic rule destination.

Structs ​