AwsIamAssumeRolePolicy
Resolves a secure, reusable IAM assume-role policy document.
Remarks
Provide either a JSON template file or an approved service principal. Inline policy documents are not accepted.
Example
CODE
import { iamAssumeRoleServicePrincipals } from '@jobcloud/pulumi-helpers';
const assumeRolePolicy = new AwsIamAssumeRolePolicy({
assumeRolePolicy: { servicePrincipal: iamAssumeRoleServicePrincipals.codeBuild },
});Constructors
new AwsIamAssumeRolePolicy(
args: AwsIamAssumeRolePolicyArgs,
): AwsIamAssumeRolePolicy
Parameters
args(AwsIamAssumeRolePolicyArgs) — Assume role policy inputs.
Returns
AwsIamAssumeRolePolicy
Properties
policyDocument: Input<PolicyDocument>
readonly
The resolved assume role policy document.