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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

[1]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_PolicyDefinition.html [2]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreatePolicy.html

Constant Summary collapse

SENSITIVE =
[:description, :statement]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description of the static policy.

Returns:

  • (String)


3727
3728
3729
3730
3731
3732
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 3727

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)


3727
3728
3729
3730
3731
3732
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 3727

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