Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::IoT::Types::CreatePolicyResponse

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

Overview

The output from the CreatePolicy operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

The policy ARN.

Returns:

  • (String)

3996
3997
3998
3999
4000
4001
4002
4003
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3996

class CreatePolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :policy_version_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_documentString

The JSON document that describes the policy.

Returns:

  • (String)

3996
3997
3998
3999
4000
4001
4002
4003
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3996

class CreatePolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :policy_version_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The policy name.

Returns:

  • (String)

3996
3997
3998
3999
4000
4001
4002
4003
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3996

class CreatePolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :policy_version_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_version_idString

The policy version ID.

Returns:

  • (String)

3996
3997
3998
3999
4000
4001
4002
4003
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3996

class CreatePolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :policy_version_id)
  SENSITIVE = []
  include Aws::Structure
end