Skip to main content

GenericRequestApprovalConfig

Properties

NameTypeDescriptionNotes
IdStringStable identifier for this scope. Use this value on PATCH. Created on first GET if the scope was never configured.[required]
TargetTypeGenericRequestTargetType[required]
TargetIdStringConnector resource id for RESOURCE (for example aws:bedrock-agent-alias-version). Derived tenant id for GLOBAL. Not patchable.[required]
ApprovalConfigmap[string]BaseGenericConfigMap keyed by action name. RESOURCE and GLOBAL emit ACTIVATE and DEACTIVATE. DELETE_AT_SOURCE is not returned and cannot be patched.[required]

Examples

  • Prepare the resource
$GenericRequestApprovalConfig = Initialize-GenericRequestApprovalConfig -Id f0948adc-06f7-435b-a8fd-a06861012470 `
-TargetType null `
-TargetId aws:bedrock-agent-alias-version `
-ApprovalConfig {"ACTIVATE":{"scheme":"APPROVAL","approvers":"sourceOwner, manager","comments":"REJECTION"},"DEACTIVATE":{}}
  • Convert the resource to JSON
$GenericRequestApprovalConfig | ConvertTo-JSON

[Back to top]