aws-cdk-lib.aws_iot.CfnPolicyProps

interface CfnPolicyProps

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnPolicyProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnPolicyProps
Javasoftware.amazon.awscdk.services.iot.CfnPolicyProps
Pythonaws_cdk.aws_iot.CfnPolicyProps
TypeScript aws-cdk-lib » aws_iot » CfnPolicyProps

Properties for defining a CfnPolicy.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';

declare const policyDocument: any;
const cfnPolicyProps: iot.CfnPolicyProps = {
  policyDocument: policyDocument,

  // the properties below are optional
  policyName: 'policyName',
};

Properties

NameTypeDescription
policyDocumentanyThe JSON document that describes the policy.
policyName?stringThe policy name.

policyDocument

Type: any

The JSON document that describes the policy.


policyName?

Type: string (optional)

The policy name.