This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Show Resource Policy

1 - 1.3

scpcli scf resource policy show
--cloud_function_id <value>

Description

Show resource policy

State ACTIVE (CURRENT)

VersionNot Before
1.3-

Parameters

NameTypeDescriptionExample
cloud_function_id
required
stringCloud Functions ID8c9f6c1c928a45b4bbd1e4da5531d656

Responses

NameDescriptionExample
policy_documentPolicy Document{‘Statement’: [{‘Action’: [‘scf:InvokeFunction’], ‘Condition’: {‘StringEquals’: {‘scf:CloudFunctionAuthType’: [‘SCP_IAM’]}}, ‘Effect’: ‘Allow’, ‘Principal’: ‘*’, ‘Resource’: [‘srn:e::27bb070b564349f8a31cc60734cc36a5:kr-west1::scf:cloud-function/1a2afa4bfb854a828602c93009cf4447’], ‘Sid’: ‘Statement1’}], ‘Version’: ‘2024-07-01’}