Class: Aws::ACMPCA::Types::PutPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ACMPCA::Types::PutPolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-acmpca/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy ⇒ String
The path and file name of a JSON-formatted IAM policy to attach to the specified private CA resource.
-
#resource_arn ⇒ String
The Amazon Resource Number (ARN) of the private CA to associate with the policy.
Instance Attribute Details
#policy ⇒ String
The path and file name 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].
[1]: docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json
2232 2233 2234 2235 2236 2237 |
# File 'lib/aws-sdk-acmpca/types.rb', line 2232 class PutPolicyRequest < Struct.new( :resource_arn, :policy) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
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][1
-
action.
[1]: docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html
2232 2233 2234 2235 2236 2237 |
# File 'lib/aws-sdk-acmpca/types.rb', line 2232 class PutPolicyRequest < Struct.new( :resource_arn, :policy) SENSITIVE = [] include Aws::Structure end |