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.

Container for the parameters to the GetRepositoryPolicy operation. Retrieves the repository policy for the specified repository.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ECRPublic.AmazonECRPublicRequest
      Amazon.ECRPublic.Model.GetRepositoryPolicyRequest

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

Syntax

C#
public class GetRepositoryPolicyRequest : AmazonECRPublicRequest
         IAmazonWebServiceRequest

The GetRepositoryPolicyRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property RegistryId System.String

Gets and sets the property RegistryId.

The Amazon Web Services account ID that's associated with the public registry that contains the repository. If you do not specify a registry, the default public registry is assumed.

Public Property RepositoryName System.String

Gets and sets the property RepositoryName.

The name of the repository with the policy to retrieve.

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