Interface IResourcePolicyProps
Properties to define Cloudwatch log group resource policy.
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.AWS.Logs.dll
Syntax (csharp)
public interface IResourcePolicyProps
Syntax (vb)
Public Interface IResourcePolicyProps
Remarks
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.IAM;
using Amazon.CDK.AWS.Logs;
PolicyStatement policyStatement;
var resourcePolicyProps = new ResourcePolicyProps {
PolicyStatements = new [] { policyStatement },
ResourcePolicyName = "resourcePolicyName"
};
Synopsis
Properties
PolicyStatements | Initial statements to add to the resource policy. |
ResourcePolicyName | Name of the log group resource policy. |
Properties
PolicyStatements
Initial statements to add to the resource policy.
virtual PolicyStatement[] PolicyStatements { get; }
Property Value
Remarks
Default: - No statements
ResourcePolicyName
Name of the log group resource policy.
virtual string ResourcePolicyName { get; }
Property Value
System.String
Remarks
Default: - Uses a unique id based on the construct path