Interface ICfnResourcePolicyProps
Properties for defining a CfnResourcePolicy
.
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnResourcePolicyProps
Syntax (vb)
Public Interface ICfnResourcePolicyProps
Remarks
See: 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
Properties
PolicyDocument | The details of the policy. |
PolicyName | The name of the resource policy. |
Properties
PolicyDocument
The details of the policy.
string PolicyDocument { get; }
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.
string PolicyName { get; }
Property Value
System.String