Class CfnResourcePolicyProps
Properties for defining a CfnResourcePolicy
.
Inheritance
System.Object
CfnResourcePolicyProps
Implements
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.AWS.Logs.dll
Syntax (csharp)
public class CfnResourcePolicyProps : Object, ICfnResourcePolicyProps
Syntax (vb)
Public Class CfnResourcePolicyProps
Inherits Object
Implements ICfnResourcePolicyProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.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.Logs;
var cfnResourcePolicyProps = new CfnResourcePolicyProps {
PolicyDocument = "policyDocument",
PolicyName = "policyName"
};
Synopsis
Constructors
CfnResourcePolicyProps() |
Properties
PolicyDocument | The details of the policy. |
PolicyName | The name of the resource policy. |
Constructors
CfnResourcePolicyProps()
public CfnResourcePolicyProps()
Properties
PolicyDocument
The details of the policy.
public string PolicyDocument { get; set; }
Property Value
System.String
Remarks
It must be formatted in JSON, and you must use backslashes to escape characters that need to be escaped in JSON strings, such as double quote marks.
PolicyName
The name of the resource policy.
public string PolicyName { get; set; }
Property Value
System.String