Class: Aws::Organizations::Types::EnablePolicyTypeRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_typeString

The policy type that you want to enable. You can specify one of the following values:

Returns:

  • (String)


2014
2015
2016
2017
2018
2019
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2014

class EnablePolicyTypeRequest < Struct.new(
  :root_id,
  :policy_type)
  SENSITIVE = []
  include Aws::Structure
end

#root_idString

The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the ListRoots operation.

The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.

Returns:

  • (String)


2014
2015
2016
2017
2018
2019
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2014

class EnablePolicyTypeRequest < Struct.new(
  :root_id,
  :policy_type)
  SENSITIVE = []
  include Aws::Structure
end