Table of Contents

Class GetResourcePolicyResponse

Namespace
Amazon.SecretsManager.Model
Assembly
AWSSDK.SecretsManager.dll

This is the response object from the GetResourcePolicy operation.

public class GetResourcePolicyResponse : AmazonWebServiceResponse
Inheritance
GetResourcePolicyResponse

Constructors

GetResourcePolicyResponse()

public GetResourcePolicyResponse()

Properties

ARN

Gets and sets the property ARN.

The ARN of the secret that the resource-based policy was retrieved for.

public string ARN { get; set; }

Property Value

string

Name

Gets and sets the property Name.

The friendly name of the secret that the resource-based policy was retrieved for.

public string Name { get; set; }

Property Value

string

ResourcePolicy

Gets and sets the property ResourcePolicy.

A JSON-formatted string that describes the permissions that are associated with the attached secret. These permissions are combined with any permissions that are associated with the user or role that attempts to access this secret. The combined permissions specify who can access the secret and what actions they can perform. For more information, see Authentication and Access Control for AWS Secrets Manager in the AWS Secrets Manager User Guide.

public string ResourcePolicy { get; set; }

Property Value

string