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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb

Overview

Note:

When making an API call, you may pass PutPolicyRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

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.

Returns:

  • (String)


2826
2827
2828
2829
2830
2831
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 2826

class PutPolicyRequest < Struct.new(
  :resource_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#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)


2826
2827
2828
2829
2830
2831
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 2826

class PutPolicyRequest < Struct.new(
  :resource_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end