Interface ICfnPolicyProps
Properties for defining a CfnPolicy
.
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnPolicyProps
Syntax (vb)
Public Interface ICfnPolicyProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var policyDocument;
var cfnPolicyProps = new CfnPolicyProps {
PolicyDocument = policyDocument,
// the properties below are optional
PolicyName = "policyName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
PolicyDocument | The JSON document that describes the policy. |
PolicyName | The policy name. |
Tags |
Properties
PolicyDocument
The JSON document that describes the policy.
object PolicyDocument { get; }
Property Value
System.Object
Remarks
PolicyName
The policy name.
virtual string PolicyName { get; }
Property Value
System.String