You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ACMPCA::Types::PutPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutPolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_arn: "Arn", # required
  policy: "AWSPolicy", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

The path and filename of a JSON-formatted IAM policy to attach to the specified private CA resource. If this policy does not contain all required statements or if it includes any statement that is not allowed, the PutPolicy action returns an InvalidPolicyException. For information about IAM policy and statement structure, see Overview of JSON Policies.

Returns:

  • (String)

    The path and filename of a JSON-formatted IAM policy to attach to the specified private CA resource.

#resource_arnString

The Amazon Resource Number (ARN) of the private CA to associate with the policy. The ARN of the CA can be found by calling the ListCertificateAuthorities action.

Returns:

  • (String)

    The Amazon Resource Number (ARN) of the private CA to associate with the policy.