AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A structure that contains the details for a Cedar policy definition. It includes the policy type, a description, and a policy body. This is a top level data type used to create a policy.

This data type is used as a request parameter for the CreatePolicy operation. This structure must always have either an static or a templateLinked element.

Inheritance Hierarchy

System.Object
  Amazon.VerifiedPermissions.Model.PolicyDefinition

Namespace: Amazon.VerifiedPermissions.Model
Assembly: AWSSDK.VerifiedPermissions.dll
Version: 3.x.y.z

Syntax

C#
public class PolicyDefinition

The PolicyDefinition type exposes the following members

Constructors

NameDescription
Public Method PolicyDefinition()

Properties

NameTypeDescription
Public Property Static Amazon.VerifiedPermissions.Model.StaticPolicyDefinition

Gets and sets the property Static.

A structure that describes a static policy. An static policy doesn't use a template or allow placeholders for entities.

Public Property TemplateLinked Amazon.VerifiedPermissions.Model.TemplateLinkedPolicyDefinition

Gets and sets the property TemplateLinked.

A structure that describes a policy that was instantiated from a template. The template can specify placeholders for principal and resource. When you use CreatePolicy to create a policy from a template, you specify the exact principal and resource to use for the instantiated policy.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5