getGroupPolicy

Adds or updates an inline policy document that is embedded in the specified IAM group. A group can also have managed policies attached to it. To attach a managed policy to a group, use AWS::IAM::Group. To create a new managed policy, use AWS::IAM::ManagedPolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a group, see IAM and quotas in the IAM User Guide.

Return

null

Parameters

argument

null


suspend fun getGroupPolicy(groupName: String, policyName: String): GetGroupPolicyResult

Return

null

Parameters

groupName

The name of the group to associate the policy with. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-.

policyName

The name of the policy document. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

See also


Return

null

Parameters

argument

Builder for com.pulumi.awsnative.iam.kotlin.inputs.GetGroupPolicyPlainArgs.

See also