Class: Aws::VerifiedPermissions::Types::StaticPolicyDefinitionDetail

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

Overview

A structure that contains details about a static policy. It includes the description and policy body.

This data type is used within a PolicyDefinition structure as part of a request parameter for the CreatePolicy operation.

Constant Summary collapse

SENSITIVE =
[:description, :statement]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description of the static policy.

Returns:

  • (String)


3572
3573
3574
3575
3576
3577
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3572

class StaticPolicyDefinitionDetail < Struct.new(
  :description,
  :statement)
  SENSITIVE = [:description, :statement]
  include Aws::Structure
end

#statementString

The content of the static policy written in the Cedar policy language.

Returns:

  • (String)


3572
3573
3574
3575
3576
3577
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 3572

class StaticPolicyDefinitionDetail < Struct.new(
  :description,
  :statement)
  SENSITIVE = [:description, :statement]
  include Aws::Structure
end