Class CfnPolicyProps
Properties for defining a CfnPolicy
.
Inheritance
System.Object
CfnPolicyProps
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.AWS.IoT.dll
Syntax (csharp)
public class CfnPolicyProps : Object, ICfnPolicyProps
Syntax (vb)
Public Class CfnPolicyProps
Inherits Object
Implements ICfnPolicyProps
Remarks
Link: 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"
};
Synopsis
Constructors
CfnPolicyProps() |
Properties
PolicyDocument | The JSON document that describes the policy. |
PolicyName | The policy name. |
Constructors
CfnPolicyProps()
public CfnPolicyProps()
Properties
PolicyDocument
The JSON document that describes the policy.
public object PolicyDocument { get; set; }
Property Value
System.Object
Remarks
PolicyName
The policy name.
public string PolicyName { get; set; }
Property Value
System.String