interface CfnPolicyProps
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnPolicyProps |
![]() | software.amazon.awscdk.services.iot.CfnPolicyProps |
![]() | aws_cdk.aws_iot.CfnPolicyProps |
![]() | @aws-cdk/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 * as iot from '@aws-cdk/aws-iot';
declare const policyDocument: any;
const cfnPolicyProps: iot.CfnPolicyProps = {
policyDocument: policyDocument,
// the properties below are optional
policyName: 'policyName',
};
Properties
Name | Type | Description |
---|---|---|
policy | any | The JSON document that describes the policy. |
policy | string | The policy name. |
policyDocument
Type:
any
The JSON document that describes the policy.
policyName?
Type:
string
(optional)
The policy name.