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.

An CodeArtifact resource policy that contains a resource ARN, document details, and a revision.

Inheritance Hierarchy

System.Object
  Amazon.CodeArtifact.Model.ResourcePolicy

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

Syntax

C#
public class ResourcePolicy

The ResourcePolicy type exposes the following members

Constructors

NameDescription
Public Method ResourcePolicy()

Properties

NameTypeDescription
Public Property Document System.String

Gets and sets the property Document.

The resource policy formatted in JSON.

Public Property ResourceArn System.String

Gets and sets the property ResourceArn.

The ARN of the resource associated with the resource policy

Public Property Revision System.String

Gets and sets the property Revision.

The current revision of the resource policy.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5