def METHOD_NAME(self):
    role = iam.Role(
        self,
        "wdiv-s3-trigger-lambdaRole",
        assumed_by=iam.ServicePrincipal("lambda.amazonaws.com"),
        max_session_duration=Duration.hours(1),
    )
    wdiv_s3_trigger_policy_json = self.get_policy_json()
    wdiv_s3_trigger_policy = iam.Policy(
        self,
        "wdiv_s3_trigger_policy_id",
        document=iam.PolicyDocument.from_json(wdiv_s3_trigger_policy_json),
        policy_name="wdiv_s3_trigger_policy",
    )
    role.add_managed_policy(
        iam.ManagedPolicy.from_aws_managed_policy_name(
            "service-role/AWSLambdaBasicExecutionRole"
        )
    )
    role.attach_inline_policy(wdiv_s3_trigger_policy)
    return role