Class: Aws::Organizations::Types::UpdatePolicyRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-organizations/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy’s type. For more information, see [SCP syntax] in the *Organizations User Guide*.

The maximum size of a policy document depends on the policy’s type. For more information, see [Maximum and minimum values] in the *Organizations User Guide*.

[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_syntax.html [2]: docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html#min-max-values

Returns:

  • (String)


4790
4791
4792
4793
4794
4795
4796
4797
# File 'lib/aws-sdk-organizations/types.rb', line 4790

class UpdatePolicyRequest < Struct.new(
  :policy_id,
  :name,
  :description,
  :content)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

If provided, the new description for the policy.

Returns:

  • (String)


4790
4791
4792
4793
4794
4795
4796
4797
# File 'lib/aws-sdk-organizations/types.rb', line 4790

class UpdatePolicyRequest < Struct.new(
  :policy_id,
  :name,
  :description,
  :content)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

If provided, the new name for the policy.

The [regex pattern] that is used to validate this parameter is a string of any of the characters in the ASCII character range.

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


4790
4791
4792
4793
4794
4795
4796
4797
# File 'lib/aws-sdk-organizations/types.rb', line 4790

class UpdatePolicyRequest < Struct.new(
  :policy_id,
  :name,
  :description,
  :content)
  SENSITIVE = []
  include Aws::Structure
end

#policy_idString

The unique identifier (ID) of the policy that you want to update.

The [regex pattern] for a policy ID string requires “p-” followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


4790
4791
4792
4793
4794
4795
4796
4797
# File 'lib/aws-sdk-organizations/types.rb', line 4790

class UpdatePolicyRequest < Struct.new(
  :policy_id,
  :name,
  :description,
  :content)
  SENSITIVE = []
  include Aws::Structure
end