Class: Aws::BedrockAgentCoreControl::Types::PolicyGenerationAsset

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

Overview

Represents a generated policy asset from the AI-powered policy generation process within the AgentCore Policy system. Each asset contains a Cedar policy statement generated from natural language input, along with associated metadata and analysis findings to help users evaluate and select the most appropriate policy option.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#definitionTypes::PolicyDefinition

Represents the definition structure for policies within the AgentCore Policy system. This structure encapsulates different policy formats and languages that can be used to define access control rules.



8210
8211
8212
8213
8214
8215
8216
8217
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 8210

class PolicyGenerationAsset < Struct.new(
  :policy_generation_asset_id,
  :definition,
  :raw_text_fragment,
  :findings)
  SENSITIVE = []
  include Aws::Structure
end

#findingsArray<Types::Finding>

Analysis findings and insights related to this specific generated policy asset. These findings may include validation results, potential issues, or recommendations for improvement to help users evaluate the quality and appropriateness of the generated policy.

Returns:



8210
8211
8212
8213
8214
8215
8216
8217
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 8210

class PolicyGenerationAsset < Struct.new(
  :policy_generation_asset_id,
  :definition,
  :raw_text_fragment,
  :findings)
  SENSITIVE = []
  include Aws::Structure
end

#policy_generation_asset_idString

The unique identifier for this generated policy asset within the policy generation request. This ID can be used to reference specific generated policy options when creating actual policies from the generation results.

Returns:

  • (String)


8210
8211
8212
8213
8214
8215
8216
8217
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 8210

class PolicyGenerationAsset < Struct.new(
  :policy_generation_asset_id,
  :definition,
  :raw_text_fragment,
  :findings)
  SENSITIVE = []
  include Aws::Structure
end

#raw_text_fragmentString

The portion of the original natural language input that this generated policy asset addresses. This helps users understand which part of their policy description was translated into this specific Cedar policy statement, enabling better policy selection and refinement. When a single natural language input describes multiple authorization requirements, the generation process creates separate policy assets for each requirement, with each asset's rawTextFragment showing which requirement it addresses. Use this mapping to verify that all parts of your natural language input were correctly translated into Cedar policies.

Returns:

  • (String)


8210
8211
8212
8213
8214
8215
8216
8217
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 8210

class PolicyGenerationAsset < Struct.new(
  :policy_generation_asset_id,
  :definition,
  :raw_text_fragment,
  :findings)
  SENSITIVE = []
  include Aws::Structure
end