interface CfnPolicyProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnPolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnPolicyProps |
Java | software.amazon.awscdk.services.iot.CfnPolicyProps |
Python | aws_cdk.aws_iot.CfnPolicyProps |
TypeScript | aws-cdk-lib » aws_iot » CfnPolicyProps |
Properties for defining a CfnPolicy
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.html
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',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
policy | any | The JSON document that describes the policy. |
policy | string | The policy name. |
tags? | Cfn [] |
policyDocument
Type:
any
The JSON document that describes the policy.
policyName?
Type:
string
(optional)
The policy name.
tags?
Type:
Cfn
[]
(optional)